Home
last modified time | relevance | path

Searched refs:mpa_len (Results 1 – 7 of 7) sorted by relevance

/drivers/infiniband/sw/siw/
Dsiw_qp.c36 .ctrl.mpa_len = htons(sizeof(struct iwarp_rdma_write) - 2),
44 .ctrl.mpa_len = htons(sizeof(struct iwarp_rdma_rreq) - 2),
51 .ctrl.mpa_len = htons(sizeof(struct iwarp_rdma_rresp) - 2),
59 .ctrl.mpa_len = htons(sizeof(struct iwarp_send) - 2),
66 .ctrl.mpa_len = htons(sizeof(struct iwarp_send_inv) - 2),
73 .ctrl.mpa_len = htons(sizeof(struct iwarp_send) - 2),
80 .ctrl.mpa_len = htons(sizeof(struct iwarp_send_inv) - 2),
87 .ctrl.mpa_len = htons(sizeof(struct iwarp_terminate) - 2),
531 term->ctrl.mpa_len = cpu_to_be16(iov[1].iov_len); in siw_send_terminate()
577 u32 real_ddp_len = be16_to_cpu(rx_hdr->ctrl.mpa_len); in siw_send_terminate()
[all …]
Dsiw_qp_rx.c639 be16_to_cpu(srx->hdr.ctrl.mpa_len)); in siw_proc_rreq()
944 op, be16_to_cpu(term_info.ctrl.mpa_len), in siw_proc_terminate()
948 op, be16_to_cpu(term_info.ctrl.mpa_len), in siw_proc_terminate()
1383 be16_to_cpu(srx->hdr.ctrl.mpa_len) - in siw_tcp_rx_data()
1413 int mpa_len = in siw_tcp_rx_data() local
1414 be16_to_cpu(srx->hdr.ctrl.mpa_len) in siw_tcp_rx_data()
1417 srx->fpdu_part_rem = (-mpa_len & 0x3) in siw_tcp_rx_data()
Dsiw_cm.c464 int mpa_len; in siw_send_mpareqrep() local
470 mpa_len = sizeof(*rr); in siw_send_mpareqrep()
476 mpa_len += sizeof(cep->mpa.v2_ctrl); in siw_send_mpareqrep()
482 mpa_len += pd_len; in siw_send_mpareqrep()
489 rv = kernel_sendmsg(s, &msg, iov, iovec_num + 1, mpa_len); in siw_send_mpareqrep()
Diwarp.h95 __be16 mpa_len; member
Dsiw_qp_tx.c232 c_tx->pkt.ctrl.mpa_len = in siw_qp_prepare_tx()
743 c_tx->pkt.ctrl.mpa_len = in siw_prepare_fpdu()
/drivers/infiniband/hw/erdma/
Derdma_cm.c341 int mpa_len; in erdma_send_mpareqrep() local
350 mpa_len = sizeof(*rr); in erdma_send_mpareqrep()
355 mpa_len += sizeof(cep->mpa.ext_data); in erdma_send_mpareqrep()
360 mpa_len += pd_len; in erdma_send_mpareqrep()
364 ret = kernel_sendmsg(s, &msg, iov, iovec_num, mpa_len); in erdma_send_mpareqrep()
/drivers/net/ethernet/qlogic/qed/
Dqed_iwarp.c1831 u16 mpa_len; in qed_iwarp_mpa_classify() local
1847 mpa_len = ntohs(*(__force __be16 *)mpa_data); in qed_iwarp_mpa_classify()
1848 fpdu->fpdu_length = QED_IWARP_FPDU_LEN_WITH_PAD(mpa_len); in qed_iwarp_mpa_classify()
1952 u16 mpa_len; in qed_iwarp_update_fpdu_length() local
1957 mpa_len = fpdu->fpdu_length | *mpa_data; in qed_iwarp_update_fpdu_length()
1958 fpdu->fpdu_length = QED_IWARP_FPDU_LEN_WITH_PAD(mpa_len); in qed_iwarp_update_fpdu_length()
1965 mpa_len, fpdu->fpdu_length, fpdu->incomplete_bytes); in qed_iwarp_update_fpdu_length()