Searched refs:lid (Results 26 - 50 of 131) sorted by relevance

123456

/freebsd-10.1-release/contrib/ofed/management/infiniband-diags/src/
H A Dsaquery.c137 cl_ntoh16(node_record->lid),
154 printf("%d\n", cl_ntoh16(node_record->lid));
189 cl_ntoh16(node_record->lid),
309 cl_ntoh16(p_pir->lid),
333 cl_ntoh16(pir->lid), pir->port_num, pir->resv, buf2);
597 cl_ntoh16(slvl->lid), slvl->in_port_num, slvl->out_port_num,
617 cl_ntoh16(vlarb->lid), vlarb->port_num, vlarb->block_num);
647 cl_ntoh16(pktr->lid), pktr->port_num, pktr->block_num);
666 "\t\tLFT:\n\t\tLID\tPort Number\n", cl_ntoh16(lftr->lid), block);
684 cl_ntoh16(mftr->lid), positio
771 get_lid_from_name(osm_bind_handle_t h, const char *name, ib_net16_t * lid) argument
813 parse_lid_and_ports(osm_bind_handle_t h, char *str, int *lid, int *port1, int *port2) argument
1130 int lid = 0, port = -1; local
1248 int lid = 0, in_port = -1, out_port = -1; local
1285 int lid = 0, port = -1, block = -1; local
1322 int lid = 0, port = -1, block = -1; local
1359 int lid = 0, block = -1; local
1392 int lid = 0, block = -1, position = -1; local
[all...]
H A Dibroute.c231 dump_lid(char *str, int strlen, int lid, int valid) argument
247 if (lid <= last_port_lid) {
250 lid - base_port_lid);
254 lid - base_port_lid + 1,
259 lid - base_port_lid + 1,
269 lidport.lid = lid;
364 "-t(imeout) timeout_ms] [<dest dr_path|lid|guid> [<startlid> [<endlid>]]]\n",
367 fprintf(stderr, "\t\t%s 4\t# dump all lids with valid out ports of switch with lid 4\n", basename);
371 fprintf(stderr, "\t\t%s 4 0x10 0x20\t# dump lid rang
[all...]
H A Dibnetdiscover.c135 mad_decode_field(pi, IB_PORT_LID_F, &port->lid);
156 DEBUG("portid %s portnum %d: lid %d state %d physstate %d %s %s",
157 portid2str(portid), portnum, port->lid, port->state, port->physstate, get_linkwidth_str(port->linkwidth), get_linkspeed_str(port->linkspeed));
195 node->smalid = port->lid;
231 fprintf(f, "%s -> %s %s {%016" PRIx64 "} portnum %d lid %d-%d\"%s\"\n",
235 port->lid, port->lid + (1 << port->lmc) - 1,
558 fprintf(f, "\nSwitch\t%d %s\t\t# \"%s\" %s port 0 lid %d lmc %d\n",
639 fprintf(f, "\t\t# \"%s\" lid %d %s%s",
641 port->remoteport->node->type == SWITCH_NODE ? port->remoteport->node->smalid : port->remoteport->lid,
[all...]
/freebsd-10.1-release/contrib/ofed/management/infiniband-diags/include/
H A Dibnetdiscover.h73 int lid; member in struct:Port
/freebsd-10.1-release/contrib/ofed/management/opensm/opensm/
H A Dosm_dump.c161 lid due to a recent reconfiguration of the subnet.
167 Get its base lid and check hop count for this base LID only. */
302 uint16_t lid; local
307 for (lid = 1; lid <= max_lid; lid++) {
309 if (osm_switch_get_least_hops(p_sw, lid) == OSM_NO_PATH)
311 fprintf(file, "0x%04x:", lid);
314 osm_switch_get_hop_count(p_sw, lid, port));
315 p_port = cl_ptr_vector_get(&p_osm->subn.port_lid_tbl, lid);
330 uint16_t lid; local
[all...]
H A Dosm_trap_rcv.c91 IN uint16_t lid, IN uint8_t num)
96 if (lid > cl_ptr_vector_get_size(p_vec))
99 p_port = (osm_port_t *) cl_ptr_vector_get(p_vec, lid);
116 uint16_t lid; local
126 lid = cl_ntoh16((uint16_t) ((key & 0x0000FFFF00000000ULL) >> 32));
129 p_physp = get_physp_by_lid_and_num(sm, lid, port_num);
132 "Cannot find port num:%u with lid:%u\n",
133 port_num, lid);
138 "Clearing health bit of port num:%u with lid:%u\n",
139 port_num, lid);
90 get_physp_by_lid_and_num(IN osm_sm_t * sm, IN uint16_t lid, IN uint8_t num) argument
203 __osm_trap_get_key(IN uint16_t lid, IN uint8_t port_num, IN ib_mad_notice_attr_t * p_ntci, OUT uint64_t * trap_key) argument
[all...]
H A Dosm_sa_sw_info_record.c75 IN cl_qlist_t * const p_list, IN ib_net16_t const lid)
91 "New SwitchInfoRecord: lid %u\n", cl_ntoh16(lid));
95 p_rec_item->rec.lid = lid;
155 We validate that the lid belongs to this switch.
193 match_lid = p_rcvd_rec->lid;
73 __osm_sir_rcv_new_sir(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) argument
H A Dosm_sa_node_record.c76 IN ib_net64_t const port_guid, IN ib_net16_t const lid)
93 "\n\t\t\t\tport 0x%016" PRIx64 ", lid %u\n",
95 cl_ntoh64(port_guid), cl_ntoh16(lid));
99 p_rec_item->rec.lid = lid;
171 We validate that the lid belongs to this node.
210 match_lid = p_rcvd_rec->lid;
73 __osm_nr_rcv_new_nr(IN osm_sa_t * sa, IN const osm_node_t * const p_node, IN cl_qlist_t * const p_list, IN ib_net64_t const port_guid, IN ib_net16_t const lid) argument
H A Dosm_ucast_updn.c115 uint16_t lid; local
121 lid = osm_node_get_base_lid(p_sw->p_node, 0);
122 lid = cl_ntoh16(lid);
123 osm_switch_set_hops(p_sw, lid, 0, 0);
126 "Starting from switch - port GUID 0x%" PRIx64 " lid %u\n",
127 cl_ntoh64(p_sw->p_node->node_info.port_guid), lid);
174 /* Set MinHop value for the current lid */
175 current_min_hop = osm_switch_get_least_hops(u->sw, lid);
179 osm_switch_get_hop_count(p_remote_sw, lid, pn_re
[all...]
/freebsd-10.1-release/contrib/ofed/management/opensm/osmtest/
H A Dosmtest.c70 ib_net16_t lid; member in struct:_osmtest_sm_info_rec
406 /* port key is a lid and num pair */
798 IN ib_net16_t const lid,
810 "Getting node record for LID 0x%02X\n", cl_ntoh16(lid));
823 record.lid = lid;
1070 IN ib_net16_t const lid,
1082 cl_ntoh16(lid));
1095 record.lid = lid;
797 osmtest_get_node_rec_by_lid(IN osmtest_t * const p_osmt, IN ib_net16_t const lid, IN OUT osmtest_req_context_t * const p_context) argument
1069 osmtest_get_port_rec(IN osmtest_t * const p_osmt, IN ib_net16_t const lid, IN OUT osmtest_req_context_t * const p_context) argument
1143 osmtest_get_port_rec_by_num(IN osmtest_t * const p_osmt, IN ib_net16_t const lid, IN uint8_t const port_num, IN OUT osmtest_req_context_t * const p_context) argument
1587 osmtest_get_local_port_lmc(IN osmtest_t * const p_osmt, IN ib_net16_t lid, OUT uint8_t * const p_lmc) argument
2297 uint16_t lid; local
4192 osmtest_get_guidinfo_rec_by_lid(IN osmtest_t * const p_osmt, IN ib_net16_t const lid, IN OUT osmtest_req_context_t * const p_context) argument
4270 osmtest_get_pkeytbl_rec_by_lid(IN osmtest_t * const p_osmt, IN ib_net16_t const lid, IN ib_net64_t const sm_key, IN OUT osmtest_req_context_t * const p_context) argument
4349 osmtest_get_sw_info_rec_by_lid(IN osmtest_t * const p_osmt, IN ib_net16_t const lid, IN OUT osmtest_req_context_t * const p_context) argument
4428 osmtest_get_lft_rec_by_lid(IN osmtest_t * const p_osmt, IN ib_net16_t const lid, IN OUT osmtest_req_context_t * const p_context) argument
4507 osmtest_get_mft_rec_by_lid(IN osmtest_t * const p_osmt, IN ib_net16_t const lid, IN OUT osmtest_req_context_t * const p_context) argument
4853 osmtest_validate_single_node_rec_lid(IN osmtest_t * const p_osmt, IN ib_net16_t const lid, IN node_t * const p_node) argument
[all...]
/freebsd-10.1-release/contrib/ofed/management/infiniband-diags/scripts/
H A Dibqueryerrors.pl69 my $lid = "";
75 if ($line =~ /^# Port info: Lid (\w+) port.*/) { $lid = $1; }
83 $lid, $port,
92 $lid, $port, $width, $speed);
/freebsd-10.1-release/sys/dev/acpica/
H A Dacpi_lid.c55 ACPI_SERIAL_DECL(lid, "ACPI lid");
90 if (acpi_disabled("lid") ||
111 * If a system does not get lid events, it may make sense to change
148 ACPI_SERIAL_BEGIN(lid);
151 * Evaluate _LID and check the return value, update lid status.
152 * Zero: The lid is closed
153 * Non-zero: The lid is open
174 ACPI_SERIAL_END(lid);
/freebsd-10.1-release/sys/ofed/drivers/infiniband/hw/mthca/
H A Dmthca_mad.c75 u8 port_num, u16 lid, u8 sl)
85 ah_attr.dlid = lid;
118 u16 lid = be16_to_cpu(pinfo->lid); local
133 if (prev_lid != lid) {
248 prev_lid = pattr.lid;
74 update_sm_ah(struct mthca_dev *dev, u8 port_num, u16 lid, u8 sl) argument
/freebsd-10.1-release/contrib/ofed/management/libibmad/src/
H A Dsmp.c57 if ((portid->lid <= 0) ||
101 if ((portid->lid <= 0) ||
H A Dmad.c181 umad_set_addr(umad, dport->lid, dport->qp, dport->sl, dport->qkey);
183 umad_set_addr(umad, dport->lid, dport->qp, 0, 0);
184 else if ((dport->drpath.drslid != 0xffff) && (dport->lid > 0))
185 umad_set_addr(umad, dport->lid, 0, 0, 0);
/freebsd-10.1-release/contrib/ofed/management/opensm/libvendor/
H A Dosm_vendor_mlx_hca_anafa.c135 p_ca_info->attr.p_port_attr[0].lid = port_info.port_info.lid;
H A Dosm_vendor_mlx_sa.c60 uint16_t lid; member in struct:_osmv_sa_bind_info
227 lid might change. To do that without any major perfoermance impact we cache
237 OUT uint16_t * lid,
252 "Using previously stored lid:0x%04x sm_lid:0x%04x\n",
253 *lid, *sm_lid);
298 *lid = p_attr_array[port_num].lid;
378 &p_sa_bind_info->lid,
385 "Fail to obtain the sm lid.\n");
478 &p_bind->lid,
234 __osmv_get_lid_and_sm_lid_by_port_guid(IN osm_vendor_t * const p_vend, IN ib_net64_t port_guid, IN OUT uint64_t * p_lids_update_time_sec, OUT uint16_t * lid, OUT uint16_t * sm_lid) argument
[all...]
/freebsd-10.1-release/sys/contrib/octeon-sdk/
H A Dcvmx-spinlock.h337 " sw %[tmp], %[lid] # set lid to invalid value\n"
346 " sw %[pid], %[lid] # set lid to pid, only if lock still held\n"
350 : [res] "=&r" (result), [tmp] "=&r" (temp), [val] "+m" (lock->value), [lid] "+m" (lock->core_num)
405 "2: lw %[tmp], %[lid] # load the core_num \n"
411 "3: sw %[pid], %[lid] # store the core_num\n"
414 : [tmp] "=&r" (tmp), [val] "+m" (lock->value), [lid] "+m" (lock->core_num)
/freebsd-10.1-release/contrib/ofed/libibverbs/examples/
H A Drc_pingpong.c74 int lid; member in struct:pingpong_dest
93 .dlid = dest->lid,
183 sprintf(msg, "%04x:%06x:%06x:%s", my_dest->lid, my_dest->qpn, my_dest->psn, gid);
201 sscanf(msg, "%x:%x:%x:%s", &rem_dest->lid, &rem_dest->qpn, &rem_dest->psn, gid);
280 sscanf(msg, "%x:%x:%x:%s", &rem_dest->lid, &rem_dest->qpn, &rem_dest->psn, gid);
292 sprintf(msg, "%04x:%06x:%06x:%s", my_dest->lid, my_dest->qpn, my_dest->psn, gid);
667 my_dest.lid = ctx->portinfo.lid;
668 if (ctx->portinfo.link_layer == IBV_LINK_LAYER_INFINIBAND && !my_dest.lid) {
685 my_dest.lid, my_des
[all...]
H A Duc_pingpong.c73 int lid; member in struct:pingpong_dest
90 .dlid = dest->lid,
171 sprintf(msg, "%04x:%06x:%06x:%s", my_dest->lid, my_dest->qpn, my_dest->psn, gid);
189 sscanf(msg, "%x:%x:%x:%s", &rem_dest->lid, &rem_dest->qpn, &rem_dest->psn, gid);
268 sscanf(msg, "%x:%x:%x:%s", &rem_dest->lid, &rem_dest->qpn, &rem_dest->psn, gid);
279 sprintf(msg, "%04x:%06x:%06x:%s", my_dest->lid, my_dest->qpn, my_dest->psn, gid);
651 my_dest.lid = ctx->portinfo.lid;
652 if (ctx->portinfo.link_layer == IBV_LINK_LAYER_INFINIBAND && !my_dest.lid) {
669 my_dest.lid, my_des
[all...]
H A Dpingpong.c58 return attr.lid;
H A Dud_pingpong.c74 int lid; member in struct:pingpong_dest
85 .dlid = dest->lid,
170 sprintf(msg, "%04x:%06x:%06x:%s", my_dest->lid, my_dest->qpn, my_dest->psn, gid);
188 sscanf(msg, "%x:%x:%x:%s", &rem_dest->lid, &rem_dest->qpn, &rem_dest->psn, gid);
266 sscanf(msg, "%x:%x:%x:%s", &rem_dest->lid, &rem_dest->qpn, &rem_dest->psn, gid);
277 sprintf(msg, "%04x:%06x:%06x:%s", my_dest->lid, my_dest->qpn, my_dest->psn, gid);
648 my_dest.lid = ctx->portinfo.lid;
663 my_dest.lid, my_dest.qpn, my_dest.psn, gid);
675 rem_dest->lid, rem_des
[all...]
/freebsd-10.1-release/contrib/ofed/management/libibmad/include/infiniband/
H A Dmad.h193 int lid; /* lid or 0 if directed route */ member in struct:portid
598 #define IB_LID_VALID(lid) ((lid) >= IB_MIN_UCAST_LID && lid <= IB_MAX_UCAST_LID)
599 #define IB_MLID_VALID(lid) ((lid) >= IB_MIN_MCAST_LID && lid <= IB_MAX_MCAST_LID)
629 ib_portid_set(ib_portid_t *portid, int lid, int qp, int qkey) argument
631 portid->lid
[all...]
/freebsd-10.1-release/sys/ia64/ia64/
H A Dsapic.c187 rte.rte_destination_id = (pc->pc_md.lid >> 24) & 255;
188 rte.rte_destination_eid = (pc->pc_md.lid >> 16) & 255;
268 uint64_t lid = ia64_get_lid(); local
272 rte.rte_destination_id = (lid >> 24) & 255;
273 rte.rte_destination_eid = (lid >> 16) & 255;
/freebsd-10.1-release/sys/dev/sound/isa/
H A Dgusc.c483 int i, base, lid, flags; local
488 lid = isa_get_logicalid(scp->dev);
490 lid = LOGICALID_NOPNP;
493 switch(lid) {
496 if (lid == LOGICALID_NOPNP)
585 int i, lid; local
589 lid = isa_get_logicalid(scp->dev);
591 lid = LOGICALID_NOPNP;
593 switch(lid) {

Completed in 149 milliseconds

123456