Home
last modified time | relevance | path

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

/drivers/infiniband/sw/siw/
Dsiw_qp.c35 .ctrl.mpa_len = htons(sizeof(struct iwarp_rdma_write) - 2),
43 .ctrl.mpa_len = htons(sizeof(struct iwarp_rdma_rreq) - 2),
50 .ctrl.mpa_len = htons(sizeof(struct iwarp_rdma_rresp) - 2),
58 .ctrl.mpa_len = htons(sizeof(struct iwarp_send) - 2),
65 .ctrl.mpa_len = htons(sizeof(struct iwarp_send_inv) - 2),
72 .ctrl.mpa_len = htons(sizeof(struct iwarp_send) - 2),
79 .ctrl.mpa_len = htons(sizeof(struct iwarp_send_inv) - 2),
86 .ctrl.mpa_len = htons(sizeof(struct iwarp_terminate) - 2),
527 term->ctrl.mpa_len = cpu_to_be16(iov[1].iov_len); in siw_send_terminate()
573 u32 real_ddp_len = be16_to_cpu(rx_hdr->ctrl.mpa_len); in siw_send_terminate()
[all …]
Dsiw_qp_rx.c638 be16_to_cpu(srx->hdr.ctrl.mpa_len)); in siw_proc_rreq()
935 op, be16_to_cpu(term_info.ctrl.mpa_len), in siw_proc_terminate()
939 op, be16_to_cpu(term_info.ctrl.mpa_len), in siw_proc_terminate()
1367 be16_to_cpu(srx->hdr.ctrl.mpa_len) - in siw_tcp_rx_data()
1397 int mpa_len = in siw_tcp_rx_data() local
1398 be16_to_cpu(srx->hdr.ctrl.mpa_len) in siw_tcp_rx_data()
1401 srx->fpdu_part_rem = (-mpa_len & 0x3) in siw_tcp_rx_data()
Dsiw_cm.c461 int mpa_len; in siw_send_mpareqrep() local
467 mpa_len = sizeof(*rr); in siw_send_mpareqrep()
473 mpa_len += sizeof(cep->mpa.v2_ctrl); in siw_send_mpareqrep()
479 mpa_len += pd_len; in siw_send_mpareqrep()
486 rv = kernel_sendmsg(s, &msg, iov, iovec_num + 1, mpa_len); in siw_send_mpareqrep()
Diwarp.h95 __be16 mpa_len; member
Dsiw_qp_tx.c233 c_tx->pkt.ctrl.mpa_len = in siw_qp_prepare_tx()
724 c_tx->pkt.ctrl.mpa_len = in siw_prepare_fpdu()
/drivers/net/ethernet/qlogic/qed/
Dqed_iwarp.c1833 u16 mpa_len; in qed_iwarp_mpa_classify() local
1849 mpa_len = ntohs(*((u16 *)(mpa_data))); in qed_iwarp_mpa_classify()
1850 fpdu->fpdu_length = QED_IWARP_FPDU_LEN_WITH_PAD(mpa_len); in qed_iwarp_mpa_classify()
1953 u16 mpa_len; in qed_iwarp_update_fpdu_length() local
1958 mpa_len = fpdu->fpdu_length | *mpa_data; in qed_iwarp_update_fpdu_length()
1959 fpdu->fpdu_length = QED_IWARP_FPDU_LEN_WITH_PAD(mpa_len); in qed_iwarp_update_fpdu_length()
1966 mpa_len, fpdu->fpdu_length, fpdu->incomplete_bytes); in qed_iwarp_update_fpdu_length()