Home
last modified time | relevance | path

Searched refs:cl_ntoh32 (Results 1 – 25 of 44) sorted by relevance

12

/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_helper.c896 cl_ntoh32(p_pi->capability_mask), in osm_dump_port_info_to_buf()
917 cl_ntoh32(p_pi->link_rt_latency), in osm_dump_port_info_to_buf()
1093 cl_ntoh32(p_pi->capability_mask), in osm_dump_portinfo_record_to_buf()
1114 cl_ntoh32(p_pi->link_rt_latency), in osm_dump_portinfo_record_to_buf()
1263 cl_ntoh32(p_gir->reserved), in osm_dump_guidinfo_record_to_buf()
1322 cl_ntoh16(p_ni->device_id), cl_ntoh32(p_ni->revision), in osm_dump_node_info_to_buf()
1324 cl_ntoh32(ib_node_info_get_vendor_id(p_ni))); in osm_dump_node_info_to_buf()
1390 cl_ntoh16(p_ni->device_id), cl_ntoh32(p_ni->revision), in osm_dump_node_record_to_buf()
1392 cl_ntoh32(ib_node_info_get_vendor_id(p_ni)), desc); in osm_dump_node_record_to_buf()
1456 cl_ntoh32(p_pr->hop_flow_raw), p_pr->tclass, in osm_dump_path_record_to_buf()
[all …]
H A Dosm_inform.c552 if ((cl_ntoh32(ib_inform_info_get_prod_type(p_ii)) != 0xFFFFFF) in match_notice_to_inf_rec()
557 cl_ntoh32(ib_inform_info_get_prod_type(p_ii)), in match_notice_to_inf_rec()
560 cl_ntoh32(ib_notice_get_prod_type(p_ntc)), in match_notice_to_inf_rec()
678 cl_ntoh32(ntc->data_details.ntc_144.new_cap_mask)); in log_notice()
699 cl_ntoh32(ntc->data_details.ntc_256.attr_mod), in log_notice()
717 cl_ntoh32(ntc->data_details.ntc_257_258.key), in log_notice()
718 cl_ntoh32(ntc->data_details.ntc_257_258.qp1) >> 28, in log_notice()
719 cl_ntoh32(ntc->data_details.ntc_257_258.qp1) & 0xffffff, in log_notice()
720 cl_ntoh32(ntc->data_details.ntc_257_258.qp2) & 0xffffff, in log_notice()
740 cl_ntoh32(ntc->data_details.ntc_259.sl_qp1) >> 28, in log_notice()
[all …]
H A Dosm_mcast_fwd_rcv.c82 block_num = cl_ntoh32(p_smp->attr_mod) & IB_MCAST_BLOCK_ID_MASK_HO; in osm_mft_rcv_process()
83 position = (uint8_t) ((cl_ntoh32(p_smp->attr_mod) & in osm_mft_rcv_process()
H A Dosm_pkey_rcv.c108 block_num = (uint16_t) ((cl_ntoh32(p_smp->attr_mod)) & 0x0000FFFF); in osm_pkey_rcv_process()
112 (uint8_t) (((cl_ntoh32(p_smp->attr_mod)) & 0x00FF0000) >> in osm_pkey_rcv_process()
H A Dosm_vl_arb_rcv.c116 block_num = (uint8_t) (cl_ntoh32(p_smp->attr_mod) >> 16); in osm_vla_rcv_process()
119 port_num = (uint8_t) (cl_ntoh32(p_smp->attr_mod) & 0x000000FF); in osm_vla_rcv_process()
H A Dosm_trap_rcv.c293 cl_ntoh32(ib_notice_get_prod_type(p_ntci)), in log_trap_info()
303 cl_ntoh32(p_ntci->data_details.ntc_257_258.key), in log_trap_info()
304 cl_ntoh32(p_ntci->data_details.ntc_257_258.qp1) >> 28, in log_trap_info()
306 cl_ntoh32(p_ntci->data_details.ntc_257_258.qp1) & 0xfff, in log_trap_info()
308 cl_ntoh32(p_ntci->data_details.ntc_257_258.qp2)); in log_trap_info()
315 cl_ntoh32(ib_notice_get_vend_id(p_ntci)), in log_trap_info()
H A Dosm_sa.c641 cl_ntoh32(p_mgrp->mcmember_rec.qkey), in sa_dump_one_mgrp()
648 cl_ntoh32(p_mgrp->mcmember_rec.sl_flow_hop), in sa_dump_one_mgrp()
692 cl_ntoh32(p_iir->inform_info.g_or_v.generic.qpn_resp_time_val), in sa_dump_one_inform()
693 cl_ntoh32(ib_inform_info_get_prod_type(&p_iir->inform_info)), in sa_dump_one_inform()
697 cl_ntoh32(p_infr->report_addr.addr_type.gsi.remote_qp), in sa_dump_one_inform()
698 cl_ntoh32(p_infr->report_addr.addr_type.gsi.remote_qkey), in sa_dump_one_inform()
726 cl_ntoh32(p_sr->service_lease), in sa_dump_one_service()
752 cl_ntoh32(p_sr->service_data32[0]), in sa_dump_one_service()
753 cl_ntoh32(p_sr->service_data32[1]), in sa_dump_one_service()
754 cl_ntoh32(p_sr->service_data32[2]), in sa_dump_one_service()
[all …]
H A Dosm_slvl_map_rcv.c121 attr_mod = cl_ntoh32(p_smp->attr_mod); in osm_slvl_rcv_process()
139 cl_ntoh32(attr_mod), cl_ntoh64(node_guid)); in osm_slvl_rcv_process()
H A Dosm_dump.c412 cl_ntoh32(ib_node_info_get_vendor_id in dump_topology_node()
415 cl_ntoh32(p_node->node_info.revision), in dump_topology_node()
441 cl_ntoh32(ib_node_info_get_vendor_id in dump_topology_node()
443 cl_ntoh32(p_nbnode->node_info.device_id), in dump_topology_node()
444 cl_ntoh32(p_nbnode->node_info.revision), in dump_topology_node()
H A Dosm_guid_info_rcv.c89 block_num = (uint8_t) cl_ntoh32(p_smp->attr_mod); in osm_gi_rcv_process()
H A Dosm_lin_fwd_rcv.c79 block_num = cl_ntoh32(p_smp->attr_mod); in osm_lft_rcv_process()
H A Dosm_mlnx_ext_port_info_rcv.c87 port_num = (uint8_t) cl_ntoh32(p_smp->attr_mod); in osm_mlnx_epi_rcv_process()
H A Dosm_service.c68 p_svcr->lease_period = cl_ntoh32(p_svc_rec->service_lease); in osm_svcr_init()
H A Dosm_resp.c145 cl_ntoh32(p_smp->attr_mod), cl_ntoh64(p_smp->trans_id)); in osm_resp_send()
H A Dosm_req.c207 cl_ntoh32(attr_mod), cl_ntoh64(tid), cl_ntoh64(m_key_calc)); in osm_req_get()
290 cl_ntoh32(attr_mod), cl_ntoh64(tid), cl_ntoh64(m_key_calc)); in osm_prepare_req_set()
H A Dosm_perfmgr_db.c1058 reading->xmit_wait = cl_ntoh32(wire_read->xmit_wait); in perfmgr_db_fill_err_read()
1068 reading->xmit_data = cl_ntoh32(wire_read->xmit_data); in perfmgr_db_fill_data_cnt_read_pc()
1069 reading->rcv_data = cl_ntoh32(wire_read->rcv_data); in perfmgr_db_fill_data_cnt_read_pc()
1070 reading->xmit_pkts = cl_ntoh32(wire_read->xmit_pkts); in perfmgr_db_fill_data_cnt_read_pc()
1071 reading->rcv_pkts = cl_ntoh32(wire_read->rcv_pkts); in perfmgr_db_fill_data_cnt_read_pc()
/freebsd/contrib/ofed/opensm/include/complib/
H A Dcl_byteswap_osd.h62 #define cl_ntoh32(x) bswap_32(x) macro
69 #define cl_ntoh32(x) (x)
H A Dcl_byteswap.h333 #ifndef cl_ntoh32
334 #define cl_ntoh32 CL_NTOH32 macro
/freebsd/contrib/ofed/infiniband-diags/src/
H A Dsaquery.c174 cl_ntoh16(ni->device_id), cl_ntoh32(ni->revision), in dump_node_record()
176 cl_ntoh32(ib_node_info_get_vendor_id(ni)), in dump_node_record()
238 cl_ntoh32(p_pr->hop_flow_raw), p_pr->tclass, p_pr->num_path, in dump_path_record()
272 cl_ntoh32(cpi->redir_tc_sl_fl), cl_ntoh16(cpi->redir_lid), in dump_class_port_info()
273 cl_ntoh16(cpi->redir_pkey), cl_ntoh32(cpi->redir_qp), in dump_class_port_info()
274 cl_ntoh32(cpi->redir_qkey), in dump_class_port_info()
276 cl_ntoh32(cpi->trap_tc_sl_fl), cl_ntoh16(cpi->trap_lid), in dump_class_port_info()
277 cl_ntoh16(cpi->trap_pkey), cl_ntoh32(cpi->trap_hop_qp), in dump_class_port_info()
278 cl_ntoh32(cpi->trap_qkey)); in dump_class_port_info()
294 cl_ntoh32(p_pi->capability_mask)); in dump_portinfo_record()
[all …]
/freebsd/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_mlx_rmpp_ctx.c177 p_rmpp_mad->paylen_newwin = cl_ntoh32(paylen); in osmv_rmpp_send_ctx_get_seg()
178 p_rmpp_mad->seg_num = cl_ntoh32(seg_idx); in osmv_rmpp_send_ctx_get_seg()
292 num_bytes = cl_ntoh32(((ib_rmpp_mad_t *) p_list_mad)->paylen_newwin); in osmv_rmpp_recv_ctx_get_byte_num_from_first()
323 num_bytes = cl_ntoh32(((ib_rmpp_mad_t *) p_list_mad)->paylen_newwin); in osmv_rmpp_recv_ctx_get_byte_num_from_last()
H A Dosm_vendor_umadt.c619 cl_ntoh32(((ib_sa_mad_t_vM3 *) p_mad)->payload_len); in osm_vendor_send()
654 cl_ntoh32(seg_num++); in osm_vendor_send()
667 cl_ntoh32(IB_SA_DATA_SIZE); in osm_vendor_send()
668 p_sa_mad->seg_num = cl_ntoh32(seg_num++); in osm_vendor_send()
683 p_sa_mad->seg_num = cl_ntoh32(seg_num++); in osm_vendor_send()
686 cl_ntoh32(cl_ntoh32 in osm_vendor_send()
692 cl_ntoh32(p_sa_mad->payload_len)); in osm_vendor_send()
H A Dosm_vendor_mlx_dispatcher.c396 uint32_t seg_num = cl_ntoh32(((ib_rmpp_mad_t *) p_mad)->seg_num); in __osmv_dispatch_rmpp_snd()
397 uint32_t new_wl = cl_ntoh32(((ib_rmpp_mad_t *) p_mad)->paylen_newwin); in __osmv_dispatch_rmpp_snd()
651 uint32_t seg_num = cl_ntoh32(((ib_rmpp_mad_t *) p_mad)->seg_num); in __osmv_dispatch_accept_seg()
700 uint32_t seg_num = cl_ntoh32(((ib_rmpp_mad_t *) p_req_mad)->seg_num); in __osmv_dispatch_send_ack()
H A Dosm_vendor_mlx_sim.c355 cl_ntoh32(p_osm_addr->addr_type.gsi.remote_qp); in __osmv_ibms_osm_addr_to_mad_addr()
382 cl_ntoh32(p_ibms_addr->sqpn); in __osmv_ibms_mad_addr_to_osm_addr()
H A Dosm_vendor_mlx_ts.c420 p_mad->dqpn = cl_ntoh32(p_mad_addr->addr_type.gsi.remote_qp); in __osmv_TOPSPIN_osm_addr_to_mad_addr()
444 p_mad_addr->addr_type.gsi.remote_qp = cl_ntoh32(p_mad->sqpn); in __osmv_TOPSPIN_mad_addr_to_osm_addr()
/freebsd/contrib/ofed/opensm/include/iba/
H A Dib_types.h2050 if (cl_ntoh32(producer_type) > in ib_get_producer_type_str()
2053 return (__ib_producer_type_str[cl_ntoh32(producer_type)]); in ib_get_producer_type_str()
3327 return (((cl_ntoh32(p_rec->hop_flow_raw) >> 8) & 0x000FFFFF)); in ib_path_rec_flow_lbl()
3356 return ((uint8_t) (cl_ntoh32(p_rec->hop_flow_raw) & 0x000000FF)); in ib_path_rec_hop_limit()
3618 return (uint8_t)(cl_ntoh32(p_cpi->cap_mask2_resp_time) & in ib_class_resp_time_val()
3683 return (cl_ntoh32(p_cpi->cap_mask2_resp_time) >> IB_CLASS_CAPMASK2_SHIFT); in ib_class_cap_mask2()
7641 tmp = cl_ntoh32(sl_flow_hop); in ib_member_get_sl_flow_hop()
8098 uint32_t ptv = cl_ntoh32(prod_type_val); in ib_notice_set_prod_type()
8197 uint32_t vi = cl_ntoh32(vend_id); in ib_notice_set_vend_id()
8294 uint32_t tmp = cl_ntoh32(qpn_resp_time_val); in ib_inform_info_get_qpn_resp_time()
[all …]

12