Home
last modified time | relevance | path

Searched refs:pd_len (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.6/drivers/infiniband/hw/erdma/
Derdma_cm.c256 u16 pd_len = be16_to_cpu(cep->mpa.hdr.params.pd_len); in erdma_cm_upcall() local
258 if (pd_len && cep->mpa.pdata) { in erdma_cm_upcall()
259 event.private_data_len = pd_len; in erdma_cm_upcall()
333 u8 pd_len) in erdma_send_mpareqrep() argument
345 rr->params.pd_len = cpu_to_be16(pd_len); in erdma_send_mpareqrep()
357 if (pd_len) { in erdma_send_mpareqrep()
359 iov[iovec_num].iov_len = pd_len; in erdma_send_mpareqrep()
360 mpa_len += pd_len; in erdma_send_mpareqrep()
443 u16 pd_len; in erdma_recv_mpa_rr() local
455 if (be16_to_cpu(hdr->params.pd_len) > MPA_MAX_PRIVDATA || in erdma_recv_mpa_rr()
[all …]
Derdma_cm.h29 __be16 pd_len; member
109 int pd_len; member
Derdma_verbs.h214 u8 pd_len; member
Derdma_qp.c96 req.send_nxt += MPA_DEFAULT_HDR_LEN + qp->attrs.pd_len; in erdma_modify_qp_state_to_rts()
/Linux-v6.6/drivers/infiniband/sw/siw/
Dsiw_cm.c341 u16 pd_len = be16_to_cpu(cep->mpa.hdr.params.pd_len); in siw_cm_upcall() local
343 if (pd_len) { in siw_cm_upcall()
347 event.private_data_len = pd_len; in siw_cm_upcall()
456 static int siw_send_mpareqrep(struct siw_cep *cep, const void *pdata, u8 pd_len) in siw_send_mpareqrep() argument
478 if (pd_len) { in siw_send_mpareqrep()
481 iov[iovec_num].iov_len = pd_len; in siw_send_mpareqrep()
482 mpa_len += pd_len; in siw_send_mpareqrep()
485 pd_len += sizeof(cep->mpa.v2_ctrl); in siw_send_mpareqrep()
487 rr->params.pd_len = cpu_to_be16(pd_len); in siw_send_mpareqrep()
507 u16 pd_len; in siw_recv_mpa_rr() local
[all …]
Diwarp.h24 __be16 pd_len; member
/Linux-v6.6/net/sctp/
Dstream_interleave.c269 __u32 pd_len = 0; in sctp_intl_retrieve_reassembled() local
292 pd_len = pos->len; in sctp_intl_retrieve_reassembled()
306 pd_len += pos->len; in sctp_intl_retrieve_reassembled()
327 if (pd_point && pd_point <= pd_len) { in sctp_intl_retrieve_reassembled()
651 __u32 pd_len = 0; in sctp_intl_retrieve_reassembled_uo() local
675 pd_len = pos->len; in sctp_intl_retrieve_reassembled_uo()
689 pd_len += pos->len; in sctp_intl_retrieve_reassembled_uo()
710 if (pd_point && pd_point <= pd_len) { in sctp_intl_retrieve_reassembled_uo()
Dulpqueue.c402 size_t pd_len = 0; in sctp_ulpq_retrieve_reassembled() local
438 pd_len = pos->len; in sctp_ulpq_retrieve_reassembled()
442 pd_len = 0; in sctp_ulpq_retrieve_reassembled()
454 pd_len += pos->len; in sctp_ulpq_retrieve_reassembled()
482 if (pd_point && pd_point <= pd_len) { in sctp_ulpq_retrieve_reassembled()
/Linux-v6.6/drivers/infiniband/hw/irdma/
Dcm.c313 u32 pd_len = 0; in irdma_form_ah_cm_frame() local
336 pd_len = pdata->size; in irdma_form_ah_cm_frame()
338 pktsize = sizeof(*tcph) + opts_len + hdr_len + pd_len; in irdma_form_ah_cm_frame()
365 cm_node->tcp_cntxt.loc_seq_num += hdr_len + pd_len; in irdma_form_ah_cm_frame()
427 u32 pd_len = 0; in irdma_form_uda_cm_frame() local
445 pd_len = pdata->size; in irdma_form_uda_cm_frame()
454 pktsize += opts_len + hdr_len + pd_len; in irdma_form_uda_cm_frame()
553 cm_node->tcp_cntxt.loc_seq_num += hdr_len + pd_len; in irdma_form_uda_cm_frame()