Home
last modified time | relevance | path

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

/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
/drivers/infiniband/hw/erdma/
Derdma_cm.c187 kfree(cep->mpa.pdata); in __erdma_cep_dealloc()
255 u16 pd_len = be16_to_cpu(cep->mpa.hdr.params.pd_len); in erdma_cm_upcall()
257 if (pd_len && cep->mpa.pdata) { in erdma_cm_upcall()
259 event.private_data = cep->mpa.pdata; in erdma_cm_upcall()
335 struct mpa_rr *rr = &cep->mpa.hdr; in erdma_send_mpareqrep()
351 iov[iovec_num].iov_base = &cep->mpa.ext_data; in erdma_send_mpareqrep()
352 iov[iovec_num].iov_len = sizeof(cep->mpa.ext_data); in erdma_send_mpareqrep()
354 mpa_len += sizeof(cep->mpa.ext_data); in erdma_send_mpareqrep()
440 struct mpa_rr *hdr = &cep->mpa.hdr; in erdma_recv_mpa_rr()
445 if (cep->mpa.bytes_rcvd < sizeof(struct mpa_rr)) { in erdma_recv_mpa_rr()
[all …]
Derdma_cm.h105 struct erdma_mpa_info mpa; member
Derdma_qp.c87 req.cookie = be32_to_cpu(qp->cep->mpa.ext_data.cookie); in erdma_modify_qp_state_to_rts()
/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 …]
/drivers/infiniband/hw/irdma/
Dctrl.c1501 __be16 *mpa; in irdma_iwarp_opcode() local
1505 mpa = (__be16 *)pkt; in irdma_iwarp_opcode()
1506 opcode = ntohs(mpa[1]) & 0xf; in irdma_iwarp_opcode()
1800 __be32 *mpa; in irdma_terminate_received() local
1806 mpa = (__be32 *)irdma_locate_mpa(pkt); in irdma_terminate_received()
1809 ddp_ctl = (ntohl(mpa[0]) >> 8) & 0xff; in irdma_terminate_received()
1810 rdma_ctl = ntohl(mpa[0]) & 0xff; in irdma_terminate_received()
1815 else if (ntohl(mpa[2]) != 2) in irdma_terminate_received()
1817 else if (ntohl(mpa[3]) != 1) in irdma_terminate_received()
1819 else if (ntohl(mpa[4]) != 0) in irdma_terminate_received()
[all …]
Dcm.c869 struct irdma_kmem_info *mpa, u8 mpa_key) in irdma_cm_build_mpa_frame() argument
876 irdma_build_mpa_v1(cm_node, mpa->addr, mpa_key); in irdma_cm_build_mpa_frame()
880 irdma_build_mpa_v2(cm_node, mpa->addr, mpa_key); in irdma_cm_build_mpa_frame()