/freebsd-13-stable/contrib/ofed/opensm/include/complib/ |
H A D | cl_byteswap_osd.h | 60 #define cl_ntoh16(x) bswap_16(x) macro 67 #define cl_ntoh16(x) (x)
|
H A D | cl_byteswap.h | 71 * cl_ntoh16, cl_hton16, cl_ntoh32, cl_hton32, cl_ntoh64, cl_hton64, 107 * than the cl_ntoh16 function. 124 * cl_ntoh16, cl_ntoh32, cl_ntoh64, cl_ntoh 161 /****f* Component Library: Byte Swapping/cl_ntoh16 163 * cl_ntoh16 166 * The cl_ntoh16 function converts a 16-bit value from network byte order to 171 * cl_ntoh16( 208 * This function is analogous to cl_ntoh16. 211 * Byte Swapping, cl_ntoh16, cl_hton32, cl_hton64, cl_ntoh 213 #ifndef cl_ntoh16 214 #define cl_ntoh16 macro [all...] |
/freebsd-13-stable/contrib/ofed/opensm/opensm/ |
H A D | osm_helper.c | 508 uint16_t host_attr = cl_ntoh16(attr); 521 uint16_t host_attr = cl_ntoh16(attr); 531 switch (cl_ntoh16(trap_num)) { 894 cl_ntoh16(p_pi->base_lid), 895 cl_ntoh16(p_pi->master_sm_base_lid), 897 cl_ntoh16(p_pi->diag_code), 898 cl_ntoh16(p_pi->m_key_lease_period), 909 cl_ntoh16(p_pi->m_key_violations), 910 cl_ntoh16(p_pi->p_key_violations), 911 cl_ntoh16(p_p [all...] |
H A D | osm_trap_rcv.c | 122 port_num, cl_ntoh16(lid)); 128 port_num, cl_ntoh16(lid)); 291 cl_ntoh16(p_ntci->g_or_v.generic.trap_num), 305 cl_ntoh16(p_ntci->data_details.ntc_257_258.lid1), 307 cl_ntoh16(p_ntci->data_details.ntc_257_258.lid2), 316 cl_ntoh16(p_ntci->g_or_v.vend.dev_id), 317 cl_ntoh16(source_lid), cl_ntoh64(trans_id)); 327 cl_ntoh16(lid), port); 338 cl_ntoh16(lid), port); 344 cl_ntoh16(li [all...] |
H A D | osm_inform.c | 324 cl_ntoh16(p_ntc->issuer_lid), 325 cl_ntoh16(p_infr_rec->report_addr.dest_lid), 337 cl_ntoh16(p_infr_rec->report_addr.dest_lid)); 375 uint16_t trap_num = cl_ntoh16(p_ntc->g_or_v.generic.trap_num); 405 cl_ntoh16(p_infr_rec->report_addr.dest_lid)); 536 (cl_ntoh16(p_ii->trap_type) != ib_notice_get_type(p_ntc))) { 619 switch (cl_ntoh16(ntc->g_or_v.generic.trap_num)) { 646 cl_ntoh16(ntc->issuer_lid), 656 cl_ntoh16(ntc->issuer_lid), 667 cl_ntoh16(nt [all...] |
H A D | osm_prtn.c | 87 snprintf(p->name, sizeof(p->name), "%04x", cl_ntoh16(pkey)); 152 cl_ntoh16(p->pkey), cl_ntoh64(guid)); 166 cl_ntoh64(guid), p->name, cl_ntoh16(p->pkey), 174 cl_ntoh64(guid), p->name, cl_ntoh16(p->pkey)); 235 cl_ntoh16(pkey)); 287 cl_ntoh16(pkey)); 299 while (global_pkey_counter < cl_ntoh16(IB_DEFAULT_PARTIAL_PKEY) - 1) { 340 " partition \'%s\' (0x%04x)\n", name, cl_ntoh16(pkey)); 350 name, cl_ntoh16(pkey), p_check->name);
|
H A D | osm_sa_lft_record.c | 92 block, cl_ntoh16(lid)); 153 cl_ntoh16(p_rcvd_rec->lid), min_lid_ho, max_lid_ho); 155 if (min_lid_ho > cl_ntoh16(p_rcvd_rec->lid) || 156 max_lid_ho < cl_ntoh16(p_rcvd_rec->lid)) 163 min_block = cl_ntoh16(p_rcvd_rec->block_num);
|
H A D | osm_sa_mft_record.c | 94 block, position, cl_ntoh16(lid)); 160 cl_ntoh16(p_rcvd_rec->lid), min_lid_ho, max_lid_ho); 162 if (min_lid_ho > cl_ntoh16(p_rcvd_rec->lid) || 163 max_lid_ho < cl_ntoh16(p_rcvd_rec->lid)) 174 position_block_num_ho = cl_ntoh16(p_rcvd_rec->position_block_num);
|
H A D | osm_mlnx_ext_port_info_rcv.c | 111 if (!(cl_ntoh16(p_smp->status) & 0x7fff)) { 133 cl_ntoh16(p_smp->status) & 0x7fff);
|
H A D | osm_sw_info_rcv.c | 226 cl_ntoh16(p_si->mcast_cap) + IB_LID_MCAST_START_HO - 1 < 228 sm->p_subn->max_mcast_lid_ho = cl_ntoh16(p_si->mcast_cap) + 236 if (cl_ntoh16(p_si->lin_cap) < sm->p_subn->max_ucast_lid_ho) { 237 sm->p_subn->max_ucast_lid_ho = cl_ntoh16(p_si->lin_cap); 326 lft_change.lft_top = cl_ntoh16(p_si->lin_top); 409 cl_ntoh16(ib_smp_get_status(p_smp))); 425 if (cl_ntoh16(p_si->lin_top) > IB_LID_UCAST_END_HO) { 430 cl_ntoh16(p_si->lin_top),
|
H A D | osm_sa_portinfo_record.c | 99 cl_ntoh16(lid), osm_physp_get_port_num(p_physp)); 153 base_lid_ho = cl_ntoh16(osm_physp_get_base_lid(p_node_physp)); 160 base_lid_ho = cl_ntoh16(osm_physp_get_base_lid(p_physp)); 165 match_lid_ho = cl_ntoh16(p_ctxt->p_rcvd_rec->lid); 410 if ((cl_ntoh16(p_comp_pi->capability_mask2) & 411 cl_ntoh16(p_pi->capability_mask2)) != 412 cl_ntoh16(p_comp_pi->capability_mask2)) 415 if (cl_ntoh16(p_comp_pi->capability_mask2) != 416 cl_ntoh16(p_pi->capability_mask2)) 582 cl_ntoh16(p_rcvd_re [all...] |
H A D | osm_sa.c | 449 cl_ntoh16(madw->mad_addr.dest_lid)); 635 cl_ntoh16(p_mgrp->mlid), 642 cl_ntoh16(p_mgrp->mcmember_rec.mlid), 645 cl_ntoh16(p_mgrp->mcmember_rec.pkey), 683 cl_ntoh16(p_iir->subscriber_enum), 686 cl_ntoh16(p_iir->inform_info.lid_range_begin), 687 cl_ntoh16(p_iir->inform_info.lid_range_end), 690 cl_ntoh16(p_iir->inform_info.trap_type), 691 cl_ntoh16(p_iir->inform_info.g_or_v.generic.trap_num), 694 cl_ntoh16(p_inf [all...] |
H A D | osm_dump.c | 174 base_lid = cl_ntoh16(base_lid); 196 base_lid = cl_ntoh16(base_lid); 272 cl_ntoh16((*p_tbl-> 343 max_lid, cl_ntoh16(osm_node_get_base_lid(p_node, 0)), 414 cl_ntoh16(p_node->node_info.device_id), 417 cl_ntoh16(p_default_physp->port_info.base_lid), cPort); 446 cl_ntoh16(p_default_physp->port_info.base_lid), 520 cl_ntoh64(p_port->guid), cl_ntoh16(base_lid), 597 cl_ntoh16(p_pi->base_lid),
|
H A D | osm_sm_mad_ctrl.c | 266 cl_ntoh16(p_smp->attr_id), 287 CL_STATUS_MSG(status), cl_ntoh16(p_smp->attr_id), 328 cl_ntoh16(p_smp->attr_id)); 397 cl_ntoh16(p_smp->attr_id), 477 cl_ntoh16(p_smp->attr_id), 547 cl_ntoh16(p_smp->attr_id), 578 cl_ntoh16(status), ib_get_sm_method_str(p_smp->method), 748 cl_ntoh16(p_smp->attr_id), 756 cl_ntoh16(p_smp->attr_id),
|
H A D | osm_guid_info_rcv.c | 100 cl_ntoh16(ib_smp_get_status(p_smp)));
|
H A D | osm_lin_fwd_rcv.c | 90 cl_ntoh16(ib_smp_get_status(p_smp)));
|
H A D | osm_mcast_fwd_rcv.c | 102 cl_ntoh16(ib_smp_get_status(p_smp)));
|
H A D | osm_sa_node_record.c | 93 cl_ntoh64(port_guid), cl_ntoh16(lid)); 135 PRIx64 "\n", cl_ntoh16(match_lid), cl_ntoh64(match_port_guid)); 166 base_lid_ho = cl_ntoh16(base_lid); 169 match_lid_ho = cl_ntoh16(match_lid);
|
H A D | osm_sa_pkey_record.c | 93 cl_ntoh16(lid), osm_physp_get_port_num(p_physp), block); 284 context.block_num = cl_ntoh16(p_rcvd_rec->block_num); 289 cl_ntoh16(p_rcvd_rec->lid), 303 cl_ntoh16(p_rcvd_rec->lid));
|
H A D | osm_sa_slvl_record.c | 99 cl_ntoh16(lid), osm_physp_get_port_num(p_physp), in_port_idx); 262 cl_ntoh16(p_rcvd_rec->lid), 279 cl_ntoh16(p_rcvd_rec->lid));
|
/freebsd-13-stable/contrib/ofed/infiniband-diags/src/ |
H A D | saquery.c | 140 printf("%6d \"%s\"\n", cl_ntoh16(node_record->lid), name); 169 cl_ntoh16(nr->lid), cl_ntoh16(nr->resv), 173 cl_ntoh64(ni->port_guid), cl_ntoh16(ni->partition_cap), 174 cl_ntoh16(ni->device_id), cl_ntoh32(ni->revision), 191 printf("%u\n", cl_ntoh16(node_record->lid)); 237 cl_ntoh16(p_pr->dlid), cl_ntoh16(p_pr->slid), 239 cl_ntoh16(p_pr->pkey), ib_path_rec_qos_class(p_pr), 269 cpi->base_ver, cpi->class_ver, cl_ntoh16(cp [all...] |
/freebsd-13-stable/contrib/ofed/opensm/libvendor/ |
H A D | osm_vendor_mlx_sim.c | 104 cl_ntoh16(p_mad->addr.slid), 107 cl_ntoh16(p_mad->header.attr_id), 108 cl_ntoh16(p_mad->header.status), 293 cl_ntoh16(mad_msg.addr.dlid), 296 cl_ntoh16(mad_msg.header.attr_id), 297 cl_ntoh16(mad_msg.header.status), 347 p_ibms_addr->dlid = cl_ntoh16(p_osm_addr->dest_lid);
|
H A D | osm_vendor_mlx_ts.c | 123 cl_ntoh16(mad.slid), 126 cl_ntoh16(mad.attribute_id), 127 cl_ntoh16(mad.status), 328 cl_ntoh16(ts_mad.dlid), 331 cl_ntoh16(ts_mad.attribute_id), 332 cl_ntoh16(ts_mad.status), cl_ntoh64(ts_mad.transaction_id) 374 ts_mad.r_method = cl_ntoh16(0x2); 413 p_mad->dlid = cl_ntoh16(p_mad_addr->dest_lid);
|
H A D | osm_vendor_mlx_ts_anafa.c | 119 cl_ntoh16(mad.slid), 122 cl_ntoh16(mad.attribute_id), 123 cl_ntoh16(mad.status), 363 p_mad->dlid = cl_ntoh16(p_mad_addr->dest_lid);
|
/freebsd-13-stable/contrib/ofed/opensm/include/opensm/ |
H A D | osm_switch.h | 480 port_num = osm_switch_get_port_by_lid(p_sw, cl_ntoh16(lid), 562 return cl_ntoh16(p_sw->switch_info.lin_top) / IB_SMP_DATA_SIZE; 1051 return cl_ntoh16(p_sw->switch_info.mcast_cap);
|