Searched refs:mpa (Results 1 – 3 of 3) sorted by relevance
/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 506 struct mpa_message *mpa; in send_mpa_req() local 513 mpalen = sizeof(*mpa) + ep->plen; in send_mpa_req() 538 mpa = (struct mpa_message *)(req + 1); in send_mpa_req() 539 memcpy(mpa->key, MPA_KEY_REQ, sizeof(mpa->key)); in send_mpa_req() 540 mpa->flags = (crc_enabled ? MPA_CRC : 0) | in send_mpa_req() 543 mpa->private_data_size = htons(ep->plen); in send_mpa_req() 544 mpa->revision = mpa_rev_to_use; in send_mpa_req() 551 mpa->private_data_size += in send_mpa_req() 565 memcpy(mpa->private_data, &mpa_v2_params, in send_mpa_req() 569 memcpy(mpa->private_data + in send_mpa_req() [all …]
|
/drivers/infiniband/hw/cxgb3/ |
D | iwch_cm.c | 478 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/nes/ |
D | nes_hw.c | 3144 u16 *mpa; in iwarp_opcode() local 3149 mpa = (u16 *)locate_mpa(pkt, aeq_info); in iwarp_opcode() 3150 opcode = be16_to_cpu(mpa[1]) & 0xf; in iwarp_opcode() 3482 u32 *mpa; in nes_terminate_received() local 3492 mpa = (u32 *)locate_mpa(pkt, aeq_info); in nes_terminate_received() 3493 ddp_ctl = (be32_to_cpu(mpa[0]) >> 8) & 0xff; in nes_terminate_received() 3494 rdma_ctl = be32_to_cpu(mpa[0]) & 0xff; in nes_terminate_received() 3499 else if (be32_to_cpu(mpa[2]) != 2) in nes_terminate_received() 3501 else if (be32_to_cpu(mpa[3]) != 1) in nes_terminate_received() 3503 else if (be32_to_cpu(mpa[4]) != 0) in nes_terminate_received()
|