Home
last modified time | relevance | path

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

/drivers/infiniband/hw/cxgb3/
Diwch_cm.c478 struct mpa_message *mpa; in send_mpa_req() local
485 mpalen = sizeof(*mpa) + ep->plen; in send_mpa_req()
498 mpa = (struct mpa_message *) skb->data; in send_mpa_req()
499 memset(mpa, 0, sizeof(*mpa)); in send_mpa_req()
500 memcpy(mpa->key, MPA_KEY_REQ, sizeof(mpa->key)); in send_mpa_req()
501 mpa->flags = (crc_enabled ? MPA_CRC : 0) | in send_mpa_req()
503 mpa->private_data_size = htons(ep->plen); in send_mpa_req()
504 mpa->revision = mpa_rev; in send_mpa_req()
507 memcpy(mpa->private_data, ep->mpa_pkt + sizeof(*mpa), ep->plen); in send_mpa_req()
538 struct mpa_message *mpa; in send_mpa_reject() local
[all …]
/drivers/infiniband/hw/cxgb4/
Dcm.c856 struct mpa_message *mpa; in send_mpa_req() local
863 mpalen = sizeof(*mpa) + ep->plen; in send_mpa_req()
888 mpa = (struct mpa_message *)(req + 1); in send_mpa_req()
889 memcpy(mpa->key, MPA_KEY_REQ, sizeof(mpa->key)); in send_mpa_req()
890 mpa->flags = (crc_enabled ? MPA_CRC : 0) | in send_mpa_req()
893 mpa->private_data_size = htons(ep->plen); in send_mpa_req()
894 mpa->revision = mpa_rev_to_use; in send_mpa_req()
901 mpa->private_data_size = htons(ntohs(mpa->private_data_size) + in send_mpa_req()
917 memcpy(mpa->private_data, &mpa_v2_params, in send_mpa_req()
921 memcpy(mpa->private_data + in send_mpa_req()
[all …]
/drivers/infiniband/hw/nes/
Dnes_hw.c3142 u16 *mpa; in iwarp_opcode() local
3147 mpa = (u16 *)locate_mpa(pkt, aeq_info); in iwarp_opcode()
3148 opcode = be16_to_cpu(mpa[1]) & 0xf; in iwarp_opcode()
3480 u32 *mpa; in nes_terminate_received() local
3490 mpa = (u32 *)locate_mpa(pkt, aeq_info); in nes_terminate_received()
3491 ddp_ctl = (be32_to_cpu(mpa[0]) >> 8) & 0xff; in nes_terminate_received()
3492 rdma_ctl = be32_to_cpu(mpa[0]) & 0xff; in nes_terminate_received()
3497 else if (be32_to_cpu(mpa[2]) != 2) in nes_terminate_received()
3499 else if (be32_to_cpu(mpa[3]) != 1) in nes_terminate_received()
3501 else if (be32_to_cpu(mpa[4]) != 0) in nes_terminate_received()