| /freebsd/contrib/ofed/opensm/opensm/ |
| H A D | osm_dump.c | 126 uint16_t lid_ho, base_lid; in dump_ucast_routes() local 173 base_lid = osm_node_get_base_lid(p_port->p_node, 0); in dump_ucast_routes() 174 base_lid = cl_ntoh16(base_lid); in dump_ucast_routes() 176 osm_switch_get_hop_count(p_sw, base_lid, port_num); in dump_ucast_routes() 184 base_lid = lid_ho; in dump_ucast_routes() 192 base_lid = in dump_ucast_routes() 196 base_lid = cl_ntoh16(base_lid); in dump_ucast_routes() 202 base_lid, in dump_ucast_routes() 213 best_hops = osm_switch_get_least_hops(p_sw, base_lid); in dump_ucast_routes() 405 p_default_physp->port_info.base_lid == in dump_topology_node() [all …]
|
| H A D | osm_switch.c | 255 uint16_t base_lid; in osm_switch_recommend_path() local 297 base_lid = osm_port_get_base_lid(p_port); in osm_switch_recommend_path() 306 base_lid = in osm_switch_recommend_path() 309 base_lid = cl_ntoh16(base_lid); in osm_switch_recommend_path() 313 least_hops = osm_switch_get_least_hops(p_sw, base_lid); in osm_switch_recommend_path() 341 osm_switch_get_hop_count(p_sw, base_lid, in osm_switch_recommend_path() 378 osm_switch_get_hop_count(p_sw, base_lid, port_num) != in osm_switch_recommend_path() 694 uint16_t base_lid; in osm_switch_recommend_mcast_path() local 705 base_lid = osm_port_get_base_lid(p_port); in osm_switch_recommend_mcast_path() 713 base_lid = in osm_switch_recommend_mcast_path() [all …]
|
| H A D | osm_sa_node_record.c | 125 ib_net16_t base_lid; in nr_rcv_create_nr() local 163 base_lid = osm_physp_get_base_lid(p_physp); in nr_rcv_create_nr() 166 base_lid_ho = cl_ntoh16(base_lid); in nr_rcv_create_nr() 187 nr_rcv_new_nr(sa, p_node, p_list, port_guid, base_lid, port_num); in nr_rcv_create_nr()
|
| H A D | osm_req.c | 390 madw->mad_addr.dest_lid = smport->p_physp->port_info.base_lid; in osm_send_trap144() 391 madw->mad_addr.addr_type.smi.source_lid = pi->base_lid; in osm_send_trap144() 415 ntc->issuer_lid = pi->base_lid; in osm_send_trap144() 416 ntc->data_details.ntc_144.lid = pi->base_lid; in osm_send_trap144()
|
| H A D | osm_port_info_rcv.c | 73 if (PF(cl_ntoh16(pi->base_lid) > IB_LID_UCAST_END_HO)) { in pi_rcv_check_and_fix_lid() 76 "Corrected to %u\n", cl_ntoh16(pi->base_lid), in pi_rcv_check_and_fix_lid() 77 cl_ntoh16(p->port_info.base_lid)); in pi_rcv_check_and_fix_lid() 78 pi->base_lid = p->port_info.base_lid; in pi_rcv_check_and_fix_lid()
|
| H A D | osm_lid_mgr.c | 891 p_pi->base_lid = lid; in lid_mgr_set_physp_pi() 892 if (memcmp(&p_pi->base_lid, &p_old_pi->base_lid, in lid_mgr_set_physp_pi() 893 sizeof(p_pi->base_lid))) { in lid_mgr_set_physp_pi()
|
| H A D | osm_link_mgr.c | 125 if (!p_pi->base_lid) { in link_mgr_set_physp_pi() 128 p_pi->base_lid = p_port->lid; in link_mgr_set_physp_pi()
|
| H A D | osm_sa_portinfo_record.c | 208 if (p_comp_pi->base_lid != p_pi->base_lid) in sa_pir_check_physp()
|
| H A D | osm_trap_rcv.c | 253 if (!pi->base_lid) { in disable_port() 256 pi->base_lid = p_port->lid; in disable_port()
|
| H A D | osm_sa_slvl_record.c | 91 lid = p_physp->port_info.base_lid; in sa_slvl_create()
|
| H A D | osm_sa_vlarb_record.c | 91 lid = p_physp->port_info.base_lid; in sa_vl_arb_create()
|
| H A D | osm_sa_pkey_record.c | 85 lid = p_physp->port_info.base_lid; in sa_pkey_create()
|
| /freebsd/contrib/ofed/libibnetdisc/ |
| H A D | ibnetdisc.c | 187 portid2str(portid), port->portnum, port->base_lid, in debug_port() 363 port->base_lid = (uint16_t) mad_get_field(port->info, 0, IB_PORT_LID_F); in recv_port_info() 367 node->smalid = port->base_lid; in recv_port_info() 370 port->base_lid = node->smalid; in recv_port_info() 522 port->base_lid, port->base_lid + (1 << port->lmc) - 1, in dump_endnode() 690 uint16_t base_lid = port->base_lid; in add_to_portlid_hash() local 694 if (base_lid > 0 && base_lid <= 0xbfff) { in add_to_portlid_hash() 697 for (lid = base_lid; lid <= (base_lid + lid_mask); lid++) { in add_to_portlid_hash()
|
| H A D | ibnetdisc.h | 114 uint16_t base_lid; member
|
| H A D | ibnetdisc_cache.c | 445 offset += _unmarshall16(buf + offset, &port->base_lid); in _load_port() 862 offset += _marshall16(buf + offset, port->base_lid); in _cache_port()
|
| /freebsd/contrib/ofed/opensm/include/opensm/ |
| H A D | osm_port.h | 487 IN ib_net16_t base_lid) in osm_physp_set_base_lid() argument 491 p_physp->port_info.base_lid = base_lid; in osm_physp_set_base_lid() 1074 return p_physp->port_info.base_lid; in osm_physp_get_base_lid()
|
| /freebsd/contrib/ofed/infiniband-diags/src/ |
| H A D | ibnetdiscover.c | 409 port->remoteport->base_lid, in out_switch_port() 467 port->base_lid, port->lmc, rem_nodename, in out_ca_port() 470 port->remoteport->base_lid, in out_ca_port() 736 IB_NODE_SWITCH ? node->smalid : port->base_lid, in dump_ports_report() 752 port->remoteport->base_lid, in dump_ports_report() 822 && fabric1_port->base_lid != fabric2_port->base_lid) { in diff_ports() 853 && fabric1_port->remoteport->base_lid != fabric2_port->remoteport->base_lid) { in diff_ports()
|
| H A D | iblinkinfo.c | 220 remote_guid_str, port->remoteport->base_lid ? in print_port() 221 port->remoteport->base_lid : in print_port() 253 port->base_lid, in print_port() 379 && fabric1_port->remoteport->base_lid != fabric2_port->remoteport->base_lid) in diff_node_ports()
|
| H A D | ibqueryerrors.c | 266 port->remoteport->base_lid ? port->remoteport-> in print_port_config() 267 base_lid : port->remoteport->node->smalid, in print_port_config() 283 printf(" Link info: %6d", port->base_lid); in print_port_config() 778 node->ports[p]->base_lid, in print_node() 795 ib_portid_set(&portid, node->ports[p]->base_lid, in print_node() 818 ib_portid_set(&portid, node->ports[p]->base_lid, in print_node()
|
| H A D | ibstat.c | 187 printf("%sBase lid: %d\n", pre, port->base_lid); in port_dump()
|
| H A D | dump_fts.c | 282 baselid = port->base_lid; in dump_lid()
|
| H A D | ibdiag_common.c | 613 portid->lid = port.base_lid; in resolve_self()
|
| /freebsd/contrib/ofed/opensm/libvendor/ |
| H A D | osm_vendor_ibumad_sa.c | 213 p_vend->umad_port.base_lid = port.base_lid; in update_umad_port() 412 cl_hton16(p_bind->p_vendor->umad_port.base_lid); in __osmv_send_sa_req()
|
| /freebsd/contrib/ofed/libibumad/ |
| H A D | umad.h | 159 unsigned base_lid; member
|
| H A D | umad.c | 153 if (sys_read_uint(port_dir, SYS_PORT_LID, &port->base_lid) < 0) in get_port()
|