Searched refs:lid (Results 1 - 25 of 130) sorted by relevance

123456

/freebsd-10.0-release/contrib/ofed/management/infiniband-diags/scripts/
H A Dibidsverify.pl62 my ($lid) = shift(@_);
66 if ($lid eq 0) {
75 my ($lid) = shift(@_);
80 print "$nodetype GUID 0x0 found with LID $lid\n";
92 my ($lid) = shift(@_);
98 $status = validate_non_zero_lid($lid, $nodeguid, $nodetype);
100 if (defined($insert_lid::lids{$lid})) {
102 "LID $lid already defined for NodeGUID $insert_lid::lids{$lid}->{nodeguid}\n";
104 $rec = {lid
[all...]
H A Dibcheckport.in7 "[-C ca_name] [-P ca_port] [-t(imeout) timeout_ms] <lid|guid> <port>"
76 if ! lid=`$IBPATH/ibaddr $ca_info -G -L $1 | awk '/failed/{exit -1} {print $3}'`; then
83 lid=$1
85 echo -n "lid $1 address resolution: "
92 text="`eval $IBPATH/smpquery $ca_info portinfo $lid $portnum`"
107 /^PhysLinkState/{ if ($2 != "LinkUp") {err = err "#error: Physical link state is " $2 " lid '$lid' port '$portnum'\n"; exit -1}}
109 /^LinkState/{ if ($2 != "Active") warn = warn "#warn: Logical link state is " $2 " lid '$lid' port '$portnum'\n"}
111 /^LinkWidthActive/{ if ($2 == "1X") warn = warn "#warn: Link configured as 1X lid '
[all...]
H A Dibcheckportstate.in7 "[-C ca_name] [-P ca_port] [-t(imeout) timeout_ms] <lid|guid> <port>"
76 if ! lid=`$IBPATH/ibaddr $ca_info -G -L $1 | awk '/failed/{exit -1} {print $3}'`; then
83 lid=$1
85 echo -n "lid $1 address resolution: "
92 text="`eval $IBPATH/smpquery $ca_info portinfo $lid $portnum`"
107 /^PhysLinkState/{ if ($2 != "LinkUp") {err = err "#error: Physical link state is " $2 " lid '$lid' port '$portnum'\n"; exit -1}}
109 /^LinkState/{ if ($2 != "Active") warn = warn "#warn: Logical link state is " $2 " lid '$lid' port '$portnum'\n"}
128 echo -n "Port check lid
[all...]
H A Dibdatacounts.in7 "[-C ca_name] [-P ca_port] [-t(imeout) timeout_ms] <lid|guid>" \
94 if ! lid=`$IBPATH/ibaddr $ca_info -G -L $1 | awk '/failed/{exit -1} {print $3}'`; then
101 lid=$1
103 echo -n "lid $1 address resolution: "
109 nodename=`smpquery $ca_info nodedesc $lid | sed -e "s/^Node Description:\.*\(.*\)/\1/"`
111 text="`eval $IBPATH/perfquery $ca_info $lid $portnum`"
140 /^PortSelect/ { if ($2 != '$portnum') {err = err "error: lid '$lid' port " $2 " does not match query ('$portnum')\n"; exit -1}}
156 echo -n "Error on lid $lid (
[all...]
H A Dibchecknode.in7 "[-C ca_name] [-P ca_port] [-t(imeout) timeout_ms] <lid|guid>"
74 if ! lid=`$IBPATH/ibaddr $ca_info -G -L $1 | awk '/failed/{exit -1} {print $3}'`; then
80 lid=$1
82 echo -n "lid $1 address resolution: "
90 if $IBPATH/smpquery $ca_info nodeinfo $lid > /dev/null 2>&1 ; then
92 echo -n "Node check lid $lid: "
97 echo -n "Node check lid $lid: "
H A Dibcheckportwidth.in7 "[-C ca_name] [-P ca_port] [-t(imeout) timeout_ms] <lid|guid> <port>"
76 if ! lid=`$IBPATH/ibaddr $ca_info -G -L $1 | awk '/failed/{exit -1} {print $3}'`; then
83 lid=$1
85 echo -n "lid $1 address resolution: "
92 text="`eval $IBPATH/smpquery $ca_info portinfo $lid $portnum`"
107 /^LinkWidthActive/{ if ($2 == "1X") warn = warn "#warn: Link configured as 1X lid '$lid' port '$portnum'\n"}
126 echo -n "Port check lid $lid port $portnum: "
131 echo -n "Port check lid
[all...]
H A Dibcheckerrs.in8 "[-t(imeout) timeout_ms] <lid|guid> [<port>]"
139 if ! lid=`$IBPATH/ibaddr $ca_info -G -L $1 | awk '/failed/{exit -1} {print $3}'`; then
146 lid=$1
148 echo -n "lid $1 address resolution: "
154 nodename=`$IBPATH/smpquery $ca_info nodedesc $lid | sed -e "s/^Node Description:\.*\(.*\)/\1/"`
156 text="`eval $IBPATH/perfquery $ca_info $lid $portnum`"
196 /^PortSelect/ { if ($2 != '$portnum') {err = err "error: lid '$lid' port " $2 " does not match query ('$portnum')\n"; exit -1}}
201 warn = warn "#warn: counter " $1 " = " $2 " \t(threshold " th[$1] ") lid '$lid' por
[all...]
H A Dibstatus29 echo " base lid: " `[ -r $port_dir/lid ] && cat $port_dir/lid || echo unknown`
30 echo " sm lid: " `[ -r $port_dir/sm_lid ] && cat $port_dir/sm_lid || echo unknown`
/freebsd-10.0-release/contrib/ofed/management/opensm/opensm/
H A Dosm_lid_mgr.c43 * p_subn->port_lid_tbl : a vector pointing from lid to its port.
44 * osm db guid2lid domain : a hash from guid to lid (min lid).
49 * 0. we define a function to obtain the correct port lid:
51 * 0.1 if the port info lid matches the guid2lid return 0
52 * 0.2 if the port info has a lid and that range is empty in
64 * 2. During SM port lid assignment:
70 * 3. During all other ports lid assignment:
99 lid range item of qlist
133 Validate the guid to lid dat
141 uint16_t lid; local
293 __osm_trim_lid(IN uint16_t lid) argument
313 uint16_t lid; local
621 __osm_lid_mgr_is_range_not_persistent(IN osm_lid_mgr_t * const p_mgr, IN const uint16_t lid, IN const uint16_t num_lids) argument
659 uint16_t lid; local
726 uint16_t lid, min_lid, max_lid; local
755 uint16_t lid, min_lid, max_lid; local
879 __osm_lid_mgr_set_physp_pi(IN osm_lid_mgr_t * const p_mgr, IN osm_port_t * const p_port, IN osm_physp_t * const p_physp, IN ib_net16_t const lid) argument
[all...]
H A Dosm_ucast_file.c56 static uint16_t remap_lid(osm_opensm_t * p_osm, uint16_t lid, ib_net64_t guid) argument
66 " , will use the same lid\n", cl_ntoh64(guid));
67 return lid;
71 if (min_lid <= lid && lid <= max_lid)
72 return lid;
75 return min_lid + (lid & ((1 << lmc) - 1));
79 osm_switch_t * p_sw, uint16_t lid, uint8_t port_num,
85 new_lid = port_guid ? remap_lid(p_osm, lid, port_guid) : lid;
78 add_path(osm_opensm_t * p_osm, osm_switch_t * p_sw, uint16_t lid, uint8_t port_num, ib_net64_t port_guid) argument
107 add_lid_hops(osm_opensm_t * p_osm, osm_switch_t * p_sw, uint16_t lid, ib_net64_t guid, uint8_t hops[], unsigned len) argument
130 uint16_t lid; local
266 uint16_t lid; local
[all...]
H A Dosm_sa_slvl_record.c83 uint16_t lid; local
97 lid = p_physp->port_info.base_lid;
99 lid = osm_node_get_base_lid(p_physp->p_node, 0);
103 ", lid 0x%X, port %u to In Port:%u\n",
105 cl_ntoh16(lid), osm_physp_get_port_num(p_physp), in_port_idx);
109 p_rec_item->rec.lid = lid;
273 cl_ntoh16(p_rcvd_rec->lid),
286 osm_get_port_by_base_lid(sa->p_subn, p_rcvd_rec->lid,
292 cl_ntoh16(p_rcvd_rec->lid));
[all...]
H A Dosm_sa_vlarb_record.c83 uint16_t lid; local
97 lid = p_physp->port_info.base_lid;
99 lid = osm_node_get_base_lid(p_physp->p_node, 0);
103 ", lid %u, port %u Block:%u\n",
105 cl_ntoh16(lid), osm_physp_get_port_num(p_physp), block);
109 p_rec_item->rec.lid = lid;
289 cl_ntoh16(p_rcvd_rec->lid),
303 osm_get_port_by_base_lid(sa->p_subn, p_rcvd_rec->lid,
309 cl_ntoh16(p_rcvd_rec->lid));
[all...]
H A Dosm_sa_lft_record.c76 IN ib_net16_t const lid, IN uint16_t const block)
93 "\n\t\t\t\tblock 0x%02X lid %u\n",
95 block, cl_ntoh16(lid));
99 p_rec_item->rec.lid = lid;
159 "Comparing lid:%u to port lid range: %u .. %u\n",
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))
73 __osm_lftr_rcv_new_lftr(IN osm_sa_t * sa, IN const osm_switch_t * const p_sw, IN cl_qlist_t * const p_list, IN ib_net16_t const lid, IN uint16_t const block) argument
[all...]
H A Dosm_sa_mft_record.c76 IN ib_net16_t const lid,
95 "\n\t\t\t\tblock %u position %u lid %u\n",
97 block, position, cl_ntoh16(lid));
104 p_rec_item->rec.lid = lid;
166 "Comparing lid:%u to port lid range: %u .. %u\n",
167 cl_ntoh16(p_rcvd_rec->lid), min_lid_ho, max_lid_ho);
169 if (min_lid_ho > cl_ntoh16(p_rcvd_rec->lid) ||
170 max_lid_ho < cl_ntoh16(p_rcvd_rec->lid))
73 __osm_mftr_rcv_new_mftr(IN osm_sa_t * sa, IN osm_switch_t * const p_sw, IN cl_qlist_t * const p_list, IN ib_net16_t const lid, IN uint16_t const block, IN uint8_t const position) argument
[all...]
H A Dosm_sa_pkey_record.c76 uint16_t lid; local
90 lid = p_physp->port_info.base_lid;
92 lid = osm_node_get_base_lid(p_physp->p_node, 0);
96 ", lid %u, port %u Block:%u\n",
98 cl_ntoh16(lid), osm_physp_get_port_num(p_physp), block);
102 p_rec_item->rec.lid = lid;
302 cl_ntoh16(p_rcvd_rec->lid),
314 status = osm_get_port_by_base_lid(sa->p_subn, p_rcvd_rec->lid,
320 cl_ntoh16(p_rcvd_rec->lid));
[all...]
/freebsd-10.0-release/contrib/ofed/management/libibmad/src/
H A Dresolve.c57 int lid; local
65 mad_decode_field(portinfo, IB_PORT_SMLID_F, &lid);
67 return ib_portid_set(sm_id, lid, 0, 0);
92 if ((portid->lid = ib_path_query_via(srcport, portid->gid, portid->gid, sm_id, buf)) < 0)
102 int lid; local
109 lid = strtol(addr_str, 0, 0);
110 if (!IB_LID_VALID(lid))
112 return ib_portid_set(portid, lid, 0, 0);
127 lid = strtol(addr_str, &routepath, 0);
129 if (!IB_LID_VALID(lid))
[all...]
H A Dgs.c56 int lid = dest->lid; local
58 DEBUG("lid %d port %d", lid, port);
60 if (lid == -1) {
61 IBWARN("only lid routed is supported");
126 int lid = dest->lid; local
128 DEBUG("lid %d port %d mask 0x%x", lid, por
[all...]
H A Dportid.c56 if (portid->lid > 0)
71 if (portid->lid > 0) {
72 n += sprintf(buf + n, "Lid %d", portid->lid);
/freebsd-10.0-release/contrib/ofed/management/opensm/osmtest/
H A Dosmt_slvl_vl_arb.c68 "lid 0x%X\n"
71 cl_ntoh16(p_rec->lid),
97 IN ib_net16_t const lid,
111 cl_ntoh16(lid), port_num);
126 record.lid = lid;
216 p_src_port->rec.lid, 0,
222 cl_ntoh16(p_src_port->rec.lid),
232 p_src_port->rec.lid,
239 cl_ntoh16(p_src_port->rec.lid),
96 osmt_query_vl_arb(IN osmtest_t * const p_osmt, IN ib_net16_t const lid, IN uint8_t const port_num, IN uint8_t const block_num, IN FILE * fh) argument
297 osmt_query_slvl_map(IN osmtest_t * const p_osmt, IN ib_net16_t const lid, IN uint8_t const out_port_num, IN uint8_t const in_port_num, IN FILE * fh) argument
[all...]
/freebsd-10.0-release/contrib/ofed/management/infiniband-diags/src/
H A Dibtracert.c85 int lid; member in struct:Port
147 mad_decode_field(pi, IB_PORT_LID_F, &port->lid);
156 switch_lookup(Switch *sw, ib_portid_t *portid, int lid) argument
166 if (lid > sw->linearcap && lid > sw->linearFDBtop)
169 if (!smp_query(fdb, portid, IB_ATTR_LINEARFORWTBL, lid / 64, timeout))
172 DEBUG("portid %s: forward lid %d to port %d",
173 portid2str(portid), lid, sw->fdb[lid % 64]);
174 return sw->fdb[lid
679 uint16_t lid; local
[all...]
H A Dibaddr.c71 mad_decode_field(portinfo, IB_PORT_LID_F, &portid->lid);
85 printf("LID start 0x%x end 0x%x", portid->lid, portid->lid + (1 << lmc) - 1);
87 printf("LID start %d end %d", portid->lid, portid->lid + (1 << lmc) - 1);
103 "-t(imeout) timeout_ms -V(ersion) -h(elp)] [<lid|dr_path|guid>]\n",
107 fprintf(stderr, "\t\t%s 32\t\t# show lid range and gid of lid 32\n", basename);
109 fprintf(stderr, "\t\t%s -l 32\t\t# show lid range only\n", basename);
110 fprintf(stderr, "\t\t%s -L 32\t\t# show decimal lid rang
[all...]
H A Dibsendtrap.c78 notice.issuer_lid = cl_hton16(selfportid.lid);
79 notice.data_details.ntc_144.lid = cl_hton16(selfportid.lid);
/freebsd-10.0-release/contrib/ofed/management/opensm/osmtest/include/
H A Dosmtest_subnet.h141 must be able to have such a key by the lid and port num */
185 port_gen_id(IN ib_net16_t const lid, IN uint8_t const port_num) argument
187 return (lid << 8 | port_num);
201 IN ib_net16_t const lid, IN uint8_t const port_num)
203 p_obj->port_id = port_gen_id(lid, port_num);
200 port_set_id(IN port_t * p_obj, IN ib_net16_t const lid, IN uint8_t const port_num) argument
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dprocset.h137 #define setprocset(psp, op, ltype, lid, rtype, rid) \
140 (psp)->p_lid = (lid); \
/freebsd-10.0-release/sys/ofed/include/rdma/
H A Dib_user_mad.h62 * @lid - Remote lid received from/to be sent to
80 __be16 lid; member in struct:ib_user_mad_hdr_old
105 * @lid - Remote lid received from/to be sent to
124 __be16 lid; member in struct:ib_user_mad_hdr

Completed in 116 milliseconds

123456