/freebsd-10.1-release/contrib/ofed/management/libibmad/src/ |
H A D | serv.c | 96 rport.lid = ntohs(mad_addr->lid);
|
H A D | vendor.c | 66 if (portid->lid <= 0)
|
H A D | sa.c | 61 if (portid->lid <= 0) { 62 IBWARN("only lid routes are supported");
|
/freebsd-10.1-release/contrib/ofed/management/opensm/libvendor/ |
H A D | osm_vendor_mlx_hca_pfs.c | 247 uint16_t lid; member in struct:_pfs_port_info 268 int lid, sm_lid, lmc, sm_sl; local 329 /* get lid */ 333 "Fail to obtain port lid. In info file:(%s).\n", 337 if (sscanf(p_ch, "LID: %x", &lid) != 1) { 340 "Fail to parse lid from info file:(%s).\n", p_ch); 343 pfs_port_info->lid = lid; 393 "Obtained Port:%d = state:%d, lid:0x%04X, lmc:%d, sm_lid:0x%04X, sm_sl:%d\n", 394 port_num, pfs_port_info->state, pfs_port_info->lid, [all...] |
H A D | osm_vendor_mlx_hca_sim.c | 293 uint16_t lid; member in struct:_sim_port_info 314 int lid, sm_lid, lmc, sm_sl; local 375 /* get lid */ 379 "Fail to obtain port lid. In info file:(%s).\n", 383 if (sscanf(p_ch, "LID: %x", &lid) != 1) { 386 "Fail to parse lid from info file:(%s).\n", p_ch); 389 sim_port_info->lid = lid; 439 "Obtained Port:%d = state:%d, lid:0x%04X, lmc:%d, sm_lid:0x%04X, sm_sl:%d\n", 440 port_num, sim_port_info->state, sim_port_info->lid, [all...] |
H A D | osm_vendor_mtl_hca_guid.c | 270 p_ca_info->p_attr->p_port_attr[port_num].lid = hca_port.lid; 598 ", lid = 0x%04X, state = %s\n", i + 1, 600 cl_ntoh16(attr_array[i].lid),
|
/freebsd-10.1-release/sys/ia64/include/ |
H A D | pcpu.h | 53 uint64_t lid; /* local CPU ID */ member in struct:pcpu_md
|
/freebsd-10.1-release/contrib/ofed/management/opensm/include/opensm/ |
H A D | osm_switch.h | 317 * Cleanup existing hops tables (lid matrix) 337 * Returns the number of hops in the short path to this lid from 358 * Returns the number of hops in the short path to this lid from 390 * Returns the number of hops in the short path to this lid from 475 IN const ib_net16_t lid) 480 CL_ASSERT(lid); 482 port_num = osm_switch_get_port_by_lid(p_sw, cl_ntoh16(lid)); 488 the port entry, we do not assert on unreachable lid entries 501 * lid 508 * there is no route for the lid throug 473 osm_switch_get_route_by_lid(IN const osm_switch_t * const p_sw, IN const ib_net16_t lid) argument [all...] |
/freebsd-10.1-release/contrib/ofed/libibverbs/examples/ |
H A D | srq_pingpong.c | 77 int lid; member in struct:pingpong_dest 99 .dlid = dest[i].lid, 193 sprintf(msg, "%04x:%06x:%06x:%s", my_dest[i].lid, my_dest[i].qpn, my_dest[i].psn, gid); 218 &rem_dest[i].lid, &rem_dest[i].qpn, &rem_dest[i].psn, gid); 309 &rem_dest[i].lid, &rem_dest[i].qpn, &rem_dest[i].psn, gid); 322 sprintf(msg, "%04x:%06x:%06x:%s", my_dest[i].lid, my_dest[i].qpn, my_dest[i].psn, gid); 755 my_dest[i].lid = ctx->portinfo.lid; 756 if (ctx->portinfo.link_layer == IBV_LINK_LAYER_INFINIBAND && !my_dest[i].lid) { 771 my_dest[i].lid, my_des [all...] |
/freebsd-10.1-release/contrib/gdb/gdb/ |
H A D | uw-thread.c | 419 ptid_t lid; local 422 lid = ptid; 424 lid = null_ptid; 426 lid = null_ptid; 428 lid = MKLID (PIDGET (ptid), info->private->lwpid); 430 DBG2((" thr_to_lwp(%s) = %s", dbgpid (pid), dbgpid (lid))); 431 return lid;
|
/freebsd-10.1-release/contrib/ofed/management/opensm/opensm/ |
H A D | osm_sa_informinfo.c | 98 ib_net16_t lid; local 143 /* if lid is 0xFFFF - meaning all endports managed by the manager */ 158 for (lid = lid_range_begin; lid <= lid_range_end; lid++) { 160 if (cl_ptr_vector_get_size(p_tbl) > lid) 161 p_port = cl_ptr_vector_get(p_tbl, lid); 163 /* lid requested is out of range */ 166 lid, cl_ptr_vector_get_size(p_tbl));
|
H A D | osm_sa_portinfo_record.c | 80 IN cl_qlist_t * const p_list, IN ib_net16_t const lid) 97 ", lid %u, port %u\n", 99 cl_ntoh16(lid), osm_physp_get_port_num(p_physp)); 103 p_rec_item->rec.lid = lid; 144 match_lid_ho = cl_ntoh16(p_ctxt->p_rcvd_rec->lid); 147 We validate that the lid belongs to this node. 539 osm_get_port_by_base_lid(sa->p_subn, p_rcvd_rec->lid, 545 cl_ntoh16(p_rcvd_rec->lid)); 78 __osm_pir_rcv_new_pir(IN osm_sa_t * sa, IN const osm_physp_t * const p_physp, IN cl_qlist_t * const p_list, IN ib_net16_t const lid) argument
|
H A D | osm_sa_sminfo_record.c | 106 p_rec_item->rec.lid = osm_port_get_base_lid(p_port); 247 osm_get_port_by_base_lid(sa->p_subn, p_rcvd_rec->lid, 253 cl_ntoh16(p_rcvd_rec->lid));
|
H A D | osm_switch.c | 383 OpenSM routing is "local" - not considering a full lid to lid 567 uint16_t lid; local 572 lid = osm_node_get_base_lid(p_port->p_node, 0); 573 return osm_switch_get_least_hops(p_sw, cl_ntoh16(lid)); 582 lid = osm_node_get_base_lid(p->p_remote_physp->p_node, 0); 583 hops = osm_switch_get_least_hops(p_sw, cl_ntoh16(lid));
|
H A D | osm_state_mgr.c | 261 Clear out all existing port lid assignments 885 * that are recognized, and in the correct lid place. There could be 886 * errors if we wanted to assign a certain port with lid X, but that 888 * the port under lid X, though the port isn't updated with this lid. 899 size_t max_lid, ref_size, curr_size, lid; local 935 for (lid = 1; lid <= max_lid; lid++) { 938 cl_ptr_vector_at(p_port_lid_tbl, lid, (voi [all...] |
H A D | osm_perfmgr.c | 333 * return the appropriate lid to query that port 513 ib_net16_t lid; local 518 lid = get_lid(node, port, mon_node); 519 if (lid == 0) { 536 PRIx64 " port %d (lid %u) (%s)\n", node_guid, port, 537 cl_ntoh16(lid), node->print_desc); 539 osm_perfmgr_send_pc_mad(pm, lid, remote_qp, port, 985 ib_net16_t lid = 0; local 994 lid = get_lid(p_node, port, mon_node); 996 if (lid [all...] |
H A D | osm_ucast_lash.c | 1038 uint16_t max_lid_ho, lid; local 1057 for (lid = 1; lid <= max_lid_ho; lid++) { 1058 port = cl_ptr_vector_get(&p_subn->port_lid_tbl, lid); 1066 p_sw->new_lft[lid] = egress_port; 1069 " src lash id (%d), src lid no (%u) src lash port (%d) " 1072 cl_ntoh64(current_guid), -1, lid, 1086 p_sw->new_lft[lid] = physical_egress_port; 1090 "src lid n [all...] |
/freebsd-10.1-release/sys/mips/cavium/cryptocteon/ |
H A D | cryptocteon.c | 343 u_int32_t lid; local 366 lid = crp->crp_sid & 0xffffffff; 367 if (lid >= sc->sc_sesnum || lid == 0 || sc->sc_sessions == NULL || 368 sc->sc_sessions[lid] == NULL) { 373 od = sc->sc_sessions[lid];
|
/freebsd-10.1-release/sys/ofed/include/rdma/ |
H A D | ib_sa.h | 357 __be16 lid; member in struct:ib_sa_notice_data_port_change 370 __be16 lid; member in struct:ib_sa_notice_data_port_error 389 __be16 lid; member in struct:ib_sa_guidinfo_rec
|
H A D | ib_smi.h | 89 __be16 lid; member in struct:ib_port_info
|
/freebsd-10.1-release/contrib/ofed/management/infiniband-diags/src/ |
H A D | sminfo.c | 202 printf("sminfo: sm lid %d sm guid 0x%" PRIx64 ", activity count %u priority %d state %d %s\n", 203 portid.lid, guid, act, prio, state, STATESTR(state));
|
H A D | smpdump.c | 132 smp_get_init(void *umad, int lid, int attr, int mod) argument 147 umad_set_addr(umad, lid, 0, 0xffff, 0); 223 fprintf(stderr, "\t\t%s 3 0x15 2 # PORT INFO, lid 3 port 2\n", argv0); 224 fprintf(stderr, "\t\t%s 0xa0 0x11 # NODE INFO, lid 0xa0\n", argv0);
|
/freebsd-10.1-release/contrib/ofed/management/opensm/osmtest/include/ |
H A D | osmtest.h | 336 * [in] The maximal lid to query about (if RMPP is not supported) 501 IN ib_net16_t lid, OUT uint8_t * const p_lmc);
|
/freebsd-10.1-release/contrib/ofed/libibverbs/include/infiniband/ |
H A D | driver.h | 137 int ibv_cmd_attach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid); 138 int ibv_cmd_detach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid);
|
H A D | verbs.h | 181 uint16_t lid; member in struct:ibv_port_attr 739 uint16_t lid); 741 uint16_t lid); 1145 * @lid: Multicast group LID in host byte order. 1152 int ibv_attach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid); 1158 * @lid: Multicast group LID in host byte order. 1160 int ibv_detach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid);
|