Home
last modified time | relevance | path

Searched refs:mpa (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
Dsiw_cm.c258 kfree(cep->mpa.pdata); in __siw_cep_dealloc()
338 u16 pd_len = be16_to_cpu(cep->mpa.hdr.params.pd_len); in siw_cm_upcall()
345 event.private_data = cep->mpa.pdata; in siw_cm_upcall()
456 struct mpa_rr *rr = &cep->mpa.hdr; in siw_send_mpareqrep()
471 iov[iovec_num].iov_base = &cep->mpa.v2_ctrl; in siw_send_mpareqrep()
472 iov[iovec_num].iov_len = sizeof(cep->mpa.v2_ctrl); in siw_send_mpareqrep()
473 mpa_len += sizeof(cep->mpa.v2_ctrl); in siw_send_mpareqrep()
482 pd_len += sizeof(cep->mpa.v2_ctrl); in siw_send_mpareqrep()
502 struct mpa_rr *hdr = &cep->mpa.hdr; in siw_recv_mpa_rr()
507 if (cep->mpa.bytes_rcvd < sizeof(struct mpa_rr)) { in siw_recv_mpa_rr()
[all …]
Dsiw_cm.h56 struct siw_mpa_info mpa; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
Dcm.c945 struct mpa_message *mpa; in send_mpa_req() local
951 mpalen = sizeof(*mpa) + ep->plen; in send_mpa_req()
975 mpa = (struct mpa_message *)(req + 1); in send_mpa_req()
976 memcpy(mpa->key, MPA_KEY_REQ, sizeof(mpa->key)); in send_mpa_req()
978 mpa->flags = 0; in send_mpa_req()
980 mpa->flags |= MPA_CRC; in send_mpa_req()
982 mpa->flags |= MPA_MARKERS; in send_mpa_req()
988 mpa->flags |= MPA_ENHANCED_RDMA_CONN; in send_mpa_req()
990 mpa->private_data_size = htons(ep->plen); in send_mpa_req()
991 mpa->revision = mpa_rev_to_use; in send_mpa_req()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
Di40iw_ctrl.c4420 __be16 *mpa; in i40iw_iwarp_opcode() local
4424 mpa = (__be16 *)pkt; in i40iw_iwarp_opcode()
4425 opcode = ntohs(mpa[1]) & 0xf; in i40iw_iwarp_opcode()
4688 __be32 *mpa; in i40iw_terminate_received() local
4694 mpa = (__be32 *)i40iw_locate_mpa(pkt); in i40iw_terminate_received()
4697 ddp_ctl = (ntohl(mpa[0]) >> 8) & 0xff; in i40iw_terminate_received()
4698 rdma_ctl = ntohl(mpa[0]) & 0xff; in i40iw_terminate_received()
4703 else if (ntohl(mpa[2]) != 2) in i40iw_terminate_received()
4705 else if (ntohl(mpa[3]) != 1) in i40iw_terminate_received()
4707 else if (ntohl(mpa[4]) != 0) in i40iw_terminate_received()
[all …]
Di40iw_cm.c816 struct i40iw_kmem_info *mpa, in i40iw_cm_build_mpa_frame() argument
824 i40iw_build_mpa_v1(cm_node, mpa->addr, mpa_key); in i40iw_cm_build_mpa_frame()
828 i40iw_build_mpa_v2(cm_node, mpa->addr, mpa_key); in i40iw_cm_build_mpa_frame()