Home
last modified time | relevance | path

Searched refs:MAD_BLOCK_SIZE (Results 1 – 23 of 23) sorted by relevance

/freebsd/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_mlx_sender.c70 uint8_t mad_buf[MAD_BLOCK_SIZE]; in osmv_simple_send_madw()
76 CL_ASSERT(p_madw->mad_size <= MAD_BLOCK_SIZE); in osmv_simple_send_madw()
78 memset(p_mad, 0, MAD_BLOCK_SIZE); in osmv_simple_send_madw()
253 uint8_t resp_mad[MAD_BLOCK_SIZE]; in osmv_rmpp_send_ack()
265 memcpy(p_resp_mad, p_req_mad, MAD_BLOCK_SIZE); in osmv_rmpp_send_ack()
288 uint8_t resp_mad[MAD_BLOCK_SIZE]; in osmv_rmpp_send_nak()
291 memcpy(p_resp_mad, p_req_mad, MAD_BLOCK_SIZE); in osmv_rmpp_send_nak()
312 uint8_t mad_buf[MAD_BLOCK_SIZE]; in __osmv_rmpp_send_segment()
H A Dosm_vendor_mlx_rmpp_ctx.c170 (num_segs - 1) * (MAD_BLOCK_SIZE - in osmv_rmpp_send_ctx_get_seg()
242 p_list_mad = malloc(MAD_BLOCK_SIZE); in osmv_rmpp_recv_ctx_store_mad_seg()
246 memset(p_list_mad, 0, MAD_BLOCK_SIZE); in osmv_rmpp_recv_ctx_store_mad_seg()
247 memcpy(p_list_mad, p_mad, MAD_BLOCK_SIZE); in osmv_rmpp_recv_ctx_store_mad_seg()
H A Dosm_vendor_mtl.c445 MAD_BLOCK_SIZE, &mad_addr); in __osm_mtl_rcv_callback()
463 osm_vendor_get(madw_p->h_bind, MAD_BLOCK_SIZE, in __osm_mtl_rcv_callback()
480 madw_p->mad_size = MAD_BLOCK_SIZE; in __osm_mtl_rcv_callback()
486 p_new_vw->size = MAD_BLOCK_SIZE; in __osm_mtl_rcv_callback()
491 memcpy(p_new_vw->mad_buf_p, payload_p, MAD_BLOCK_SIZE); in __osm_mtl_rcv_callback()
821 CL_ASSERT(mad_size <= MAD_BLOCK_SIZE); in osm_vendor_get()
824 p_vw->size = MAD_BLOCK_SIZE; in osm_vendor_get()
H A Dosm_vendor_mlx_anafa.c386 if (mad_size < MAD_BLOCK_SIZE) { in osm_vendor_get()
388 act_mad_size = MAD_BLOCK_SIZE; in osm_vendor_get()
447 is_rmpp = (p_madw->mad_size > MAD_BLOCK_SIZE in osm_vendor_send()
H A Dosm_vendor_mlx_dispatcher.c252 osm_mad_pool_get(p_bo->p_osm_pool, h_bind, MAD_BLOCK_SIZE, in __osmv_dispatch_simple_mad()
259 MAD_BLOCK_SIZE); in __osmv_dispatch_simple_mad()
266 memcpy((void *)p_mad_buf, (void *)p_mad, MAD_BLOCK_SIZE); in __osmv_dispatch_simple_mad()
H A Dosm_vendor_mlx.c372 if (mad_size < MAD_BLOCK_SIZE) { in osm_vendor_get()
374 act_mad_size = MAD_BLOCK_SIZE; in osm_vendor_get()
434 is_rmpp = (p_madw->mad_size > MAD_BLOCK_SIZE in osm_vendor_send()
H A Dosm_vendor_umadt.c588 memcpy(&p_madt_struct->IBMad, p_mad, MAD_BLOCK_SIZE); in osm_vendor_send()
639 MAD_BLOCK_SIZE); in osm_vendor_send()
642 (uint8_t *) p_mad + MAD_BLOCK_SIZE; in osm_vendor_send()
964 p_mad_bind_info, MAD_BLOCK_SIZE, in __mad_recv_processor()
H A Dosm_vendor_mlx_sar.c89 memset(p_buf, 0, MAD_BLOCK_SIZE); in osmv_rmpp_sar_get_mad_seg()
H A Dosm_vendor_ibumad.c337 !(umad = umad_alloc(1, umad_size() + MAD_BLOCK_SIZE))) { in umad_receiver()
343 length = MAD_BLOCK_SIZE; in umad_receiver()
346 if (length <= MAD_BLOCK_SIZE) { in umad_receiver()
389 MAX(length, MAD_BLOCK_SIZE), in umad_receiver()
397 if (length < MAD_BLOCK_SIZE) in umad_receiver()
H A Dosm_vendor_mlx_ts_anafa.c284 memcpy(&ts_mad, p_mad_hdr, MAD_BLOCK_SIZE); in osmv_transport_mad_send()
H A Dosm_vendor_ibumad_sa.c363 p_bind->h_bind, MAD_BLOCK_SIZE, NULL); in __osmv_send_sa_req()
382 memset(p_sa_mad, 0, MAD_BLOCK_SIZE); in __osmv_send_sa_req()
H A Dosm_vendor_mlx_sa.c455 p_bind->h_bind, MAD_BLOCK_SIZE, NULL); in __osmv_send_sa_req()
474 memset(p_sa_mad, 0, MAD_BLOCK_SIZE); in __osmv_send_sa_req()
H A Dosm_vendor_mlx_sim.c266 memcpy(&mad_msg.header, p_mad_hdr, MAD_BLOCK_SIZE); in osmv_transport_mad_send()
H A Dosm_vendor_mlx_ts.c299 memcpy(&ts_mad, p_mad_hdr, MAD_BLOCK_SIZE); in osmv_transport_mad_send()
/freebsd/contrib/ofed/opensm/include/vendor/
H A Dosm_vendor_mlx_svc.h174 p_copy = malloc(MAD_BLOCK_SIZE); in osmv_mad_copy()
177 memset(p_copy, 0, MAD_BLOCK_SIZE); in osmv_mad_copy()
178 memcpy(p_copy, p_mad, MAD_BLOCK_SIZE); in osmv_mad_copy()
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_req.c181 MAD_BLOCK_SIZE, NULL); in osm_req_get()
265 MAD_BLOCK_SIZE, NULL); in osm_prepare_req_set()
383 MAD_BLOCK_SIZE, NULL); in osm_send_trap144()
H A Dosm_resp.c118 MAD_BLOCK_SIZE, NULL); in osm_resp_send()
H A Dosm_sa_class_port_info.c90 MAD_BLOCK_SIZE, &p_madw->mad_addr); in cpi_rcv_respond()
H A Dosm_congestion_control.c240 MAD_BLOCK_SIZE, NULL); in cc_send_sw_cong_setting()
284 MAD_BLOCK_SIZE, NULL); in cc_send_ca_cong_setting()
330 MAD_BLOCK_SIZE, NULL); in cc_send_cct()
H A Dosm_sa.c380 p_madw->h_bind, MAD_BLOCK_SIZE, in osm_sa_send_error()
455 trim_num_rec = (MAD_BLOCK_SIZE - IB_SA_MAD_HDR_SIZE) / attr_size; in osm_sa_respond()
H A Dosm_inform.c331 p_infr_rec->h_bind, MAD_BLOCK_SIZE, in send_report()
H A Dosm_perfmgr.c404 MAD_BLOCK_SIZE, NULL); in perfmgr_build_mad()
/freebsd/contrib/ofed/opensm/include/iba/
H A Dib_types.h87 #define MAD_BLOCK_SIZE 256 macro
109 #define MAD_RMPP_DATA_SIZE (MAD_BLOCK_SIZE - MAD_RMPP_HDR_SIZE)