Home
last modified time | relevance | path

Searched refs:IB_SA_MAD_HDR_SIZE (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_mlx_rmpp_ctx.c99 data_len = p_send_ctx->mad_sz - IB_SA_MAD_HDR_SIZE; in osmv_rmpp_send_ctx_get_num_segs()
147 paylen = p_send_ctx->mad_sz - IB_SA_MAD_HDR_SIZE; in osmv_rmpp_send_ctx_get_seg()
149 num_segs * (IB_SA_MAD_HDR_SIZE - MAD_RMPP_HDR_SIZE); in osmv_rmpp_send_ctx_get_seg()
164 paylen = p_send_ctx->mad_sz - IB_SA_MAD_HDR_SIZE; in osmv_rmpp_send_ctx_get_seg()
166 paylen += (IB_SA_MAD_HDR_SIZE - MAD_RMPP_HDR_SIZE); in osmv_rmpp_send_ctx_get_seg()
274 return ((num_segs * IB_SA_DATA_SIZE) + IB_SA_MAD_HDR_SIZE); in osmv_rmpp_recv_ctx_get_cur_byte_num()
298 num_segs * (IB_SA_MAD_HDR_SIZE - MAD_RMPP_HDR_SIZE); in osmv_rmpp_recv_ctx_get_byte_num_from_first()
299 num_bytes += IB_SA_MAD_HDR_SIZE; in osmv_rmpp_recv_ctx_get_byte_num_from_first()
H A Dosm_vendor_mlx_sar.c52 p_sar->data_len = mad_size - IB_SA_MAD_HDR_SIZE; in osmv_rmpp_sar_init()
53 p_sar->hdr_sz = IB_SA_MAD_HDR_SIZE; in osmv_rmpp_sar_init()
H A Dosm_vendor_umadt.c662 IB_SA_MAD_HDR_SIZE); in osm_vendor_send()
672 IB_SA_MAD_HDR_SIZE, p_frag_data, in osm_vendor_send()
679 IB_SA_MAD_HDR_SIZE); in osm_vendor_send()
691 IB_SA_MAD_HDR_SIZE, p_frag_data, in osm_vendor_send()
H A Dosm_vendor_ibumad_sa.c132 (p_madw->mad_size - IB_SA_MAD_HDR_SIZE) / in __osmv_sa_mad_rcv_cb()
137 p_madw->mad_size - IB_SA_MAD_HDR_SIZE, in __osmv_sa_mad_rcv_cb()
140 IB_SA_MAD_HDR_SIZE) % in __osmv_sa_mad_rcv_cb()
H A Dosm_vendor_mlx_sa.c141 (p_madw->mad_size - IB_SA_MAD_HDR_SIZE) / in __osmv_sa_mad_rcv_cb()
146 p_madw->mad_size - IB_SA_MAD_HDR_SIZE, in __osmv_sa_mad_rcv_cb()
148 (p_madw->mad_size - IB_SA_MAD_HDR_SIZE) % in __osmv_sa_mad_rcv_cb()
H A Dosm_vendor_ibumad.c1176 paylen = p_madw->mad_size - IB_SA_MAD_HDR_SIZE; in osm_vendor_send()
1177 paylen += (IB_SA_MAD_HDR_SIZE - MAD_RMPP_HDR_SIZE); in osm_vendor_send()
1190 sent_mad_size = is_rmpp ? p_madw->mad_size - IB_SA_MAD_HDR_SIZE :
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_sa_class_port_info.c100 memcpy(p_resp_sa_mad, p_sa_mad, IB_SA_MAD_HDR_SIZE); in cpi_rcv_respond()
H A Dosm_sa.c455 trim_num_rec = (MAD_BLOCK_SIZE - IB_SA_MAD_HDR_SIZE) / attr_size; in osm_sa_respond()
475 num_rec * attr_size + IB_SA_MAD_HDR_SIZE, in osm_sa_respond()
492 memcpy(resp_sa_mad, sa_mad, IB_SA_MAD_HDR_SIZE); in osm_sa_respond()
/freebsd/contrib/ofed/opensm/include/vendor/
H A Dosm_vendor_sa_api.h412 IB_SA_MAD_HDR_SIZE <= p_result_madw->mad_size); in osmv_get_query_result()
/freebsd/contrib/ofed/opensm/include/iba/
H A Dib_types.h4467 #define IB_SA_MAD_HDR_SIZE (sizeof(ib_sa_mad_t) - IB_SA_DATA_SIZE) macro