Home
last modified time | relevance | path

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

/drivers/infiniband/sw/siw/
Dsiw_cm.c261 kfree(cep->mpa.pdata); in __siw_cep_dealloc()
341 u16 pd_len = be16_to_cpu(cep->mpa.hdr.params.pd_len); in siw_cm_upcall()
348 event.private_data = cep->mpa.pdata; in siw_cm_upcall()
459 struct mpa_rr *rr = &cep->mpa.hdr; in siw_send_mpareqrep()
474 iov[iovec_num].iov_base = &cep->mpa.v2_ctrl; in siw_send_mpareqrep()
475 iov[iovec_num].iov_len = sizeof(cep->mpa.v2_ctrl); in siw_send_mpareqrep()
476 mpa_len += sizeof(cep->mpa.v2_ctrl); in siw_send_mpareqrep()
485 pd_len += sizeof(cep->mpa.v2_ctrl); in siw_send_mpareqrep()
505 struct mpa_rr *hdr = &cep->mpa.hdr; in siw_recv_mpa_rr()
510 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.c188 kfree(cep->mpa.pdata); in __erdma_cep_dealloc()
256 u16 pd_len = be16_to_cpu(cep->mpa.hdr.params.pd_len); in erdma_cm_upcall()
258 if (pd_len && cep->mpa.pdata) { in erdma_cm_upcall()
260 event.private_data = cep->mpa.pdata; in erdma_cm_upcall()
336 struct mpa_rr *rr = &cep->mpa.hdr; in erdma_send_mpareqrep()
352 iov[iovec_num].iov_base = &cep->mpa.ext_data; in erdma_send_mpareqrep()
353 iov[iovec_num].iov_len = sizeof(cep->mpa.ext_data); in erdma_send_mpareqrep()
355 mpa_len += sizeof(cep->mpa.ext_data); in erdma_send_mpareqrep()
441 struct mpa_rr *hdr = &cep->mpa.hdr; in erdma_recv_mpa_rr()
446 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.c1495 __be16 *mpa; in irdma_iwarp_opcode() local
1499 mpa = (__be16 *)pkt; in irdma_iwarp_opcode()
1500 opcode = ntohs(mpa[1]) & 0xf; in irdma_iwarp_opcode()
1794 __be32 *mpa; in irdma_terminate_received() local
1800 mpa = (__be32 *)irdma_locate_mpa(pkt); in irdma_terminate_received()
1803 ddp_ctl = (ntohl(mpa[0]) >> 8) & 0xff; in irdma_terminate_received()
1804 rdma_ctl = ntohl(mpa[0]) & 0xff; in irdma_terminate_received()
1809 else if (ntohl(mpa[2]) != 2) in irdma_terminate_received()
1811 else if (ntohl(mpa[3]) != 1) in irdma_terminate_received()
1813 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()