Searched refs:cl_ntoh16 (Results 26 - 50 of 65) sorted by relevance

123

/freebsd-10.1-release/contrib/ofed/management/opensm/opensm/
H A Dosm_req.c101 ib_get_sm_attr_str(attr_id), cl_ntoh16(attr_id),
179 ib_get_sm_attr_str(attr_id), cl_ntoh16(attr_id),
275 cl_ntoh64(smp->trans_id), cl_ntoh16(pi->master_sm_base_lid));
H A Dosm_sa_slvl_record.c105 cl_ntoh16(lid), osm_physp_get_port_num(p_physp), in_port_idx);
273 cl_ntoh16(p_rcvd_rec->lid),
292 cl_ntoh16(p_rcvd_rec->lid));
H A Dosm_sa_sw_info_record.c91 "New SwitchInfoRecord: lid %u\n", cl_ntoh16(lid));
124 cl_ntoh16(match_lid));
152 match_lid_ho = cl_ntoh16(match_lid);
H A Dosm_sa_vlarb_record.c105 cl_ntoh16(lid), osm_physp_get_port_num(p_physp), block);
289 cl_ntoh16(p_rcvd_rec->lid),
309 cl_ntoh16(p_rcvd_rec->lid));
H A Dosm_pkey_mgr.c70 num_pkeys = cl_ntoh16(p_node->node_info.partition_cap);
72 num_pkeys = cl_ntoh16(p_node->sw->switch_info.enforce_cap);
134 cl_ntoh16(pkey), stat,
319 cl_ntoh16(p_pending->pkey),
337 cl_ntoh16(p_pending->pkey), block_index,
H A Dosm_ucast_cache.c161 uint16_t lid_ho = cl_ntoh16(osm_node_get_base_lid(p->p_node, 0));
471 lid_ho = cl_ntoh16(osm_node_get_base_lid(p_node, 0));
512 cl_ntoh16(osm_node_get_base_lid
516 cl_ntoh16(osm_node_get_base_lid
827 lid_ho_1 = cl_ntoh16(osm_node_get_base_lid(p_node_1, 0));
830 lid_ho_2 = cl_ntoh16(osm_node_get_base_lid(p_node_2, 0));
833 cl_ntoh16(osm_node_get_base_lid(p_node_2, port_num_2));
914 lid_ho_1 = cl_ntoh16(osm_node_get_base_lid(p_node_1, 0));
924 lid_ho_2 = cl_ntoh16(osm_node_get_base_lid(p_node_2, 0));
930 lid_ho_2 = cl_ntoh16(osm_physp_get_base_li
[all...]
H A Dosm_sa_mcmember_record.c125 if (requested_mlid && cl_ntoh16(requested_mlid) >= IB_LID_MCAST_START_HO
126 && cl_ntoh16(requested_mlid) <= p_subn->max_mcast_lid_ho
152 sa->p_subn->mgroups[cl_ntoh16(mgrp->mlid) - IB_LID_MCAST_START_HO] = NULL;
614 cl_ntoh16(p_mcm_rec->mgid.multicast.header[0]));
622 signature = cl_ntoh16(signature);
848 "__get_new_mlid failed request mlid 0x%04x\n", cl_ntoh16(mcm_rec.mlid));
854 "Obtained new mlid 0x%X\n", cl_ntoh16(mlid));
936 cl_ntoh16(mlid));
937 sa->p_subn->mgroups[cl_ntoh16(mlid) - IB_LID_MCAST_START_HO] = NULL;
941 sa->p_subn->mgroups[cl_ntoh16(mli
[all...]
H A Dosm_sa_path_record.c605 cl_ntoh16(pkey));
720 cl_ntoh16(pkey), sl);
755 mtu, rate, pkt_life, cl_ntoh16(pkey), sl);
1002 dest_lid_min_ho = cl_ntoh16(p_pr->dlid);
1003 dest_lid_max_ho = cl_ntoh16(p_pr->dlid);
1009 src_lid_min_ho = cl_ntoh16(p_pr->slid);
1010 src_lid_max_ho = cl_ntoh16(p_pr->slid);
1213 cl_ntoh16(p_pr->slid),
1224 cl_ntoh16(p_pr->slid));
1324 cl_ntoh16(p_p
[all...]
H A Dosm_sm.c518 cl_ntoh64(port_guid), cl_ntoh16(mlid));
549 cl_ntoh16(mlid), cl_ntoh64(port_guid));
566 cl_ntoh64(port_guid), cl_ntoh16(mlid));
578 cl_ntoh16(osm_mgrp_get_mlid(p_mgrp)));
604 cl_ntoh64(port_guid), cl_ntoh16(mlid));
628 "No multicast group for MLID 0x%X\n", cl_ntoh16(mlid));
H A Dosm_sa_pkey_record.c98 cl_ntoh16(lid), osm_physp_get_port_num(p_physp), block);
302 cl_ntoh16(p_rcvd_rec->lid),
320 cl_ntoh16(p_rcvd_rec->lid));
H A Dosm_subnet.c234 cl_ntoh16(p_mad_addr->dest_lid)) {
236 cl_ptr_vector_get(p_tbl, cl_ntoh16(p_mad_addr->dest_lid));
240 cl_ntoh16(p_mad_addr->dest_lid));
249 cl_ntoh16(p_mad_addr->dest_lid));
272 cl_ntoh16(p_mad_addr->dest_lid)) {
275 cl_ntoh16(p_mad_addr->dest_lid));
280 cl_ntoh16(p_mad_addr->dest_lid));
289 cl_ntoh16(p_mad_addr->dest_lid));
311 cl_ntoh16(p_mad_addr->dest_lid)) {
314 cl_ntoh16(p_mad_add
[all...]
H A Dosm_resp.c149 ib_get_sm_attr_str(p_smp->attr_id), cl_ntoh16(p_smp->attr_id),
H A Dosm_sa_link_record.c83 cl_ntoh16(from_lid), cl_ntoh16(to_lid));
406 cl_ntoh16(p_lr->from_lid));
425 cl_ntoh16(p_lr->to_lid));
H A Dosm_sw_info_rcv.c287 if (cl_ntoh16(p_si->lin_cap) < sm->p_subn->max_ucast_lid_ho) {
288 sm->p_subn->max_ucast_lid_ho = cl_ntoh16(p_si->lin_cap);
472 if (cl_ntoh16(p_si->lin_top) > IB_LID_UCAST_END_HO) {
477 cl_ntoh16(p_si->lin_top),
H A Dosm_mcast_tbl.c134 bit_mask = cl_ntoh16((uint16_t) (1 << (port % IB_MCAST_MASK_SIZE)));
163 bit_mask = cl_ntoh16((uint16_t)
H A Dosm_qos_policy.c323 cl_ntoh16(pkey));
811 cl_ntoh16(p_prtn->pkey), p_prtn->sl,
827 cl_ntoh16(p_prtn->pkey));
831 CL_ASSERT((cl_ntoh16(p_mgrp->mcmember_rec.pkey) & 0x7fff) ==
832 (cl_ntoh16(p_prtn->pkey) & 0x7fff));
993 cl_ntoh16(pkey));
1051 cl_ntoh16(p_pr->pkey), comp_mask);
1087 cl_ntoh16(p_mpr->pkey), pr_comp_mask);
H A Dosm_sm_mad_ctrl.c262 cl_ntoh16(p_smp->attr_id));
284 CL_STATUS_MSG(status), cl_ntoh16(p_smp->attr_id));
326 cl_ntoh16(p_smp->attr_id));
405 cl_ntoh16(p_smp->attr_id));
494 cl_ntoh16(p_smp->attr_id));
H A Dosm_switch.c127 cl_ntoh16(p_si->mcast_cap));
324 base_lid = cl_ntoh16(base_lid);
573 return osm_switch_get_least_hops(p_sw, cl_ntoh16(lid));
583 hops = osm_switch_get_least_hops(p_sw, cl_ntoh16(lid));
618 base_lid = cl_ntoh16(base_lid);
H A Dosm_perfmgr_db.c758 reading->symbol_err_cnt = cl_ntoh16(wire_read->symbol_err_cnt);
759 reading->link_err_recover = cl_ntoh16(wire_read->link_err_recover);
762 reading->rcv_rem_phys_err = cl_ntoh16(wire_read->rcv_rem_phys_err);
764 cl_ntoh16(wire_read->rcv_switch_relay_err);
765 reading->xmit_discards = cl_ntoh16(wire_read->xmit_discards);
767 cl_ntoh16(wire_read->xmit_constraint_err);
773 reading->vl15_dropped = cl_ntoh16(wire_read->vl15_dropped);
H A Dosm_port.c204 *p_min_lid = cl_ntoh16(osm_port_get_base_lid(p_port));
225 base_lid = cl_ntoh16(lid) & ~((1 << lmc) - 1);
755 (cl_ntoh16(p_physp->p_node->node_info.partition_cap) +
765 (cl_ntoh16(p_physp->p_node->sw->switch_info.enforce_cap) +
H A Dosm_sa_informinfo.c141 cl_ntoh16(p_infr_rec->inform_record.inform_info.
148 cl_ntoh16(p_infr_rec->inform_record.inform_info.
380 cl_ntoh16(p_rcvd_rec->subscriber_enum),
455 cl_ntoh16(p_madw->mad_addr.dest_lid));
H A Dosm_sa_mad_ctrl.c221 cl_ntoh16(p_sa_mad->attr_id));
245 cl_ntoh16(p_sa_mad->attr_id));
/freebsd-10.1-release/contrib/ofed/management/opensm/osmtest/
H A Dosmt_inform.c334 cl_ntoh16(p_sa_mad->attr_id));
415 cl_ntoh16(av.dlid), av.static_rate, av.src_path_bits);
472 cl_ntoh16(p_sa_mad->attr_id));
504 cl_ntoh16(p_osmt->local_port.sm_lid));
539 cl_ntoh16(p_sa_mad->attr_id));
/freebsd-10.1-release/contrib/ofed/management/opensm/libvendor/
H A Dosm_vendor_ts.c130 p_mad->dlid = cl_ntoh16(p_mad_addr->dest_lid);
474 cl_ntoh16(mad.slid),
477 cl_ntoh16(mad.attribute_id),
478 cl_ntoh16(mad.status),
H A Dosm_vendor_mlx_ibmgt.c408 cl_ntoh16(av.dlid), av.static_rate,
422 cl_ntoh16(av.dlid), av.static_rate,
761 p_av->dlid = cl_ntoh16(p_mad_addr->dest_lid);

Completed in 185 milliseconds

123