/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_sa_lft_record.c | 118 uint16_t min_lid_ho, max_lid_ho; in lftr_rcv_by_comp_mask() local 147 osm_port_get_lid_range_ho(p_port, &min_lid_ho, &max_lid_ho); in lftr_rcv_by_comp_mask() 153 cl_ntoh16(p_rcvd_rec->lid), min_lid_ho, max_lid_ho); in lftr_rcv_by_comp_mask() 156 max_lid_ho < cl_ntoh16(p_rcvd_rec->lid)) in lftr_rcv_by_comp_mask()
|
H A D | osm_sa_mft_record.c | 123 uint16_t min_lid_ho, max_lid_ho; in mftr_rcv_by_comp_mask() local 154 osm_port_get_lid_range_ho(p_port, &min_lid_ho, &max_lid_ho); in mftr_rcv_by_comp_mask() 160 cl_ntoh16(p_rcvd_rec->lid), min_lid_ho, max_lid_ho); in mftr_rcv_by_comp_mask() 163 max_lid_ho < cl_ntoh16(p_rcvd_rec->lid)) in mftr_rcv_by_comp_mask()
|
H A D | osm_sa_sw_info_record.c | 111 ib_net16_t max_lid_ho; in sir_rcv_create_sir() local 144 osm_port_get_lid_range_ho(p_port, &min_lid_ho, &max_lid_ho); in sir_rcv_create_sir() 153 min_lid_ho, match_lid_ho, max_lid_ho); in sir_rcv_create_sir() 155 if (match_lid_ho < min_lid_ho || match_lid_ho > max_lid_ho) in sir_rcv_create_sir()
|
H A D | osm_ucast_mgr.c | 207 uint16_t max_lid_ho; in ucast_mgr_process_port() local 216 osm_port_get_lid_range_ho(p_port, &min_lid_ho, &max_lid_ho); in ucast_mgr_process_port() 220 if (min_lid_ho == 0 || max_lid_ho == 0) { in ucast_mgr_process_port() 232 if (lid_ho > max_lid_ho) in ucast_mgr_process_port() 245 min_lid_ho, max_lid_ho); in ucast_mgr_process_port() 248 CL_ASSERT(max_lid_ho <= IB_LID_UCAST_END_HO); in ucast_mgr_process_port() 373 memset(p_sw->new_lft, OSM_NO_PATH, p_sw->max_lid_ho + 1); in ucast_mgr_process_tbl() 918 CL_ASSERT(p_sw && p_sw->max_lid_ho); in ucast_mgr_set_fwd_top() 924 if (p_mgr->max_lid < p_sw->max_lid_ho) in ucast_mgr_set_fwd_top() 925 p_mgr->max_lid = p_sw->max_lid_ho; in ucast_mgr_set_fwd_top() [all …]
|
H A D | osm_sa_node_record.c | 127 ib_net16_t max_lid_ho; in nr_rcv_create_nr() local 168 max_lid_ho = (uint16_t) (base_lid_ho + (1 << lmc) - 1); in nr_rcv_create_nr() 176 base_lid_ho, match_lid_ho, max_lid_ho); in nr_rcv_create_nr() 179 || match_lid_ho > max_lid_ho) in nr_rcv_create_nr()
|
H A D | osm_drop_mgr.c | 168 uint16_t max_lid_ho; in drop_mgr_remove_port() local 269 osm_port_get_lid_range_ho(p_port, &min_lid_ho, &max_lid_ho); in drop_mgr_remove_port() 273 min_lid_ho, max_lid_ho); in drop_mgr_remove_port() 276 for (lid_ho = min_lid_ho; lid_ho <= max_lid_ho; lid_ho++) in drop_mgr_remove_port() 299 min_lid_ho, max_lid_ho, in drop_mgr_remove_port()
|
H A D | osm_dump.c | 125 uint16_t max_lid_ho; in dump_ucast_routes() local 134 max_lid_ho = p_sw->max_lid_ho; in dump_ucast_routes() 143 for (lid_ho = 1; lid_ho <= max_lid_ho; lid_ho++) { in dump_ucast_routes() 308 unsigned max_lid = p_sw->max_lid_ho; in dump_lid_matrix() 336 unsigned max_lid = p_sw->max_lid_ho; in dump_ucast_lfts()
|
H A D | osm_ucast_cache.c | 73 uint16_t max_lid_ho; member 318 CL_ASSERT(p_cache_sw->max_lid_ho && p_cache_sw->lft && in cache_restore_ucast_info() 321 p_sw->max_lid_ho = p_cache_sw->max_lid_ho; in cache_restore_ucast_info() 1000 p_cache_sw->max_lid_ho = p_node->sw->max_lid_ho; in osm_ucast_cache_add_node() 1045 lft_size = (p_sw->max_lid_ho / IB_SMP_DATA_SIZE + 1) in osm_ucast_cache_process()
|
H A D | osm_sa_portinfo_record.c | 144 uint16_t max_lid_ho; in sa_pir_create() local 162 max_lid_ho = (uint16_t) (base_lid_ho + (1 << lmc) - 1); in sa_pir_create() 172 base_lid_ho, match_lid_ho, max_lid_ho); in sa_pir_create() 174 if (match_lid_ho < base_lid_ho || match_lid_ho > max_lid_ho) in sa_pir_create()
|
H A D | osm_lid_mgr.c | 1107 uint16_t max_lid_ho; in lid_mgr_process_our_sm_node() local 1133 lid_mgr_get_port_lid(p_mgr, p_port, &min_lid_ho, &max_lid_ho); in lid_mgr_process_our_sm_node() 1145 cl_ntoh64(osm_port_get_guid(p_port)), min_lid_ho, max_lid_ho); in lid_mgr_process_our_sm_node() 1192 uint16_t min_lid_ho, max_lid_ho; in osm_lid_mgr_process_subnet() local 1230 &min_lid_ho, &max_lid_ho); in osm_lid_mgr_process_subnet() 1238 min_lid_ho, max_lid_ho); in osm_lid_mgr_process_subnet()
|
H A D | osm_ucast_updn.c | 466 uint16_t max_lid_ho; in updn_find_root_nodes_by_min_hop() local 475 max_lid_ho = p_sw->max_lid_ho; in updn_find_root_nodes_by_min_hop() 476 for (lid_ho = 1; lid_ho <= max_lid_ho; lid_ho++) in updn_find_root_nodes_by_min_hop()
|
H A D | osm_state_mgr.c | 120 if (p_sw->max_lid_ho != 0) in state_mgr_reset_switch_count() 1034 uint16_t max_lid_ho; in state_mgr_report_new_ports() local 1077 osm_port_get_lid_range_ho(p_port, &min_lid_ho, &max_lid_ho); in state_mgr_report_new_ports() 1082 min_lid_ho, max_lid_ho, in state_mgr_report_new_ports() 1113 uint16_t max_lid_ho; in state_mgr_check_tbl_consistency() local 1138 osm_port_get_lid_range_ho(p_port, &min_lid_ho, &max_lid_ho); in state_mgr_check_tbl_consistency() 1139 for (lid_ho = min_lid_ho; lid_ho <= max_lid_ho; lid_ho++) in state_mgr_check_tbl_consistency() 1236 if (memcmp(sw->lft, sw->new_lft, sw->max_lid_ho + 1)) in check_switch_lft()
|
H A D | osm_console.c | 1064 uint16_t max_lid_ho; in switchbalance_check() local 1071 osm_port_get_lid_range_ho(p_port, &min_lid_ho, &max_lid_ho); in switchbalance_check() 1073 if (min_lid_ho == 0 || max_lid_ho == 0) in switchbalance_check() 1076 for (lid_ho = min_lid_ho; lid_ho <= max_lid_ho; lid_ho++) { in switchbalance_check() 1205 uint16_t max_lid_ho; in lidbalance_check() local 1214 osm_port_get_lid_range_ho(p_port, &min_lid_ho, &max_lid_ho); in lidbalance_check() 1216 if (min_lid_ho == 0 || max_lid_ho == 0) in lidbalance_check() 1224 for (lid_ho = min_lid_ho; lid_ho <= max_lid_ho; lid_ho++) { in lidbalance_check()
|
H A D | osm_sa_guidinfo_record.c | 136 ib_net16_t max_lid_ho; in sa_gir_create_gir() local 198 max_lid_ho = (uint16_t) (base_lid_ho + (1 << lmc) - 1); in sa_gir_create_gir() 205 base_lid_ho, match_lid_ho, max_lid_ho); in sa_gir_create_gir() 208 || match_lid_ho > max_lid_ho) in sa_gir_create_gir()
|
H A D | osm_switch.c | 67 if (!lid_ho || lid_ho > p_sw->max_lid_ho) in osm_switch_set_hops() 168 if (base_lid_ho > p_sw->max_lid_ho) in osm_switch_get_lft_block() 660 p_sw->max_lid_ho = max_lids; in osm_switch_prepare_path_rebuild()
|
H A D | osm_ucast_dfsssp.c | 1895 uint16_t slid = 0, dlid = 0, min_lid_ho = 0, max_lid_ho = in dfsssp_remove_deadlocks() local 1969 &max_lid_ho); in dfsssp_remove_deadlocks() 1970 for (dlid = min_lid_ho; dlid <= max_lid_ho; dlid++, i++) in dfsssp_remove_deadlocks() 2004 &max_lid_ho); in dfsssp_remove_deadlocks() 2005 for (slid = min_lid_ho; slid <= max_lid_ho; in dfsssp_remove_deadlocks() 2302 uint16_t lid = 0, min_lid_ho = 0, max_lid_ho = 0; in dfsssp_do_dijkstra_routing() local 2321 memset(sw->new_lft, OSM_NO_PATH, sw->max_lid_ho + 1); in dfsssp_do_dijkstra_routing() 2495 &max_lid_ho); in dfsssp_do_dijkstra_routing() 2496 for (lid = min_lid_ho; lid <= max_lid_ho; lid++) { in dfsssp_do_dijkstra_routing() 2549 for (i = 0; i < sw->max_lid_ho + 1; i++) in dfsssp_do_dijkstra_routing()
|
H A D | osm_ucast_lash.c | 992 uint16_t max_lid_ho, lid; in populate_fwd_tbls() local 1005 max_lid_ho = p_sw->max_lid_ho; in populate_fwd_tbls() 1011 for (lid = 1; lid <= max_lid_ho; lid++) { in populate_fwd_tbls()
|
H A D | osm_ucast_ftree.c | 591 p_sw->hops = malloc((p_osm_sw->max_lid_ho + 1) * sizeof(*(p_sw->hops))); in sw_create() 595 memset(p_sw->hops, OSM_NO_PATH, p_osm_sw->max_lid_ho + 1); in sw_create() 2029 p_sw->p_osm_sw->max_lid_ho = p_ftree->lft_max_lid; in set_sw_fwd_table() 3090 for (lid = 1; lid <= p_leaf_sw->p_osm_sw->max_lid_ho; lid ++) { in fabric_route_roots()
|
/freebsd/contrib/ofed/opensm/include/opensm/ |
H A D | osm_switch.h | 98 uint16_t max_lid_ho; member 270 return (lid_ho > p_sw->max_lid_ho || !p_sw->hops[lid_ho]) ? in osm_switch_get_hop_count() 358 return (lid_ho > p_sw->max_lid_ho || !p_sw->hops[lid_ho]) ? in osm_switch_get_least_hops() 438 if (lid_ho == 0 || lid_ho > p_sw->max_lid_ho) in osm_switch_get_port_by_lid()
|