Home
last modified time | relevance | path

Searched refs:sw_guid_tbl (Results 1 – 22 of 22) sorted by relevance

/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_ucast_dnup.c235 for (item = cl_qmap_head(&p_dnup->p_osm->subn.sw_guid_tbl); in dnup_subn_rank()
236 item != cl_qmap_end(&p_dnup->p_osm->subn.sw_guid_tbl); in dnup_subn_rank()
311 for (item = cl_qmap_head(&p_dnup->p_osm->subn.sw_guid_tbl); in dnup_set_min_hop_table()
312 item != cl_qmap_end(&p_dnup->p_osm->subn.sw_guid_tbl); in dnup_set_min_hop_table()
326 for (item = cl_qmap_head(&p_dnup->p_osm->subn.sw_guid_tbl); in dnup_set_min_hop_table()
327 item != cl_qmap_end(&p_dnup->p_osm->subn.sw_guid_tbl); in dnup_set_min_hop_table()
337 for (item = cl_qmap_head(&p_dnup->p_osm->subn.sw_guid_tbl); in dnup_set_min_hop_table()
338 item != cl_qmap_end(&p_dnup->p_osm->subn.sw_guid_tbl); in dnup_set_min_hop_table()
345 for (item = cl_qmap_head(&p_dnup->p_osm->subn.sw_guid_tbl); in dnup_set_min_hop_table()
346 item != cl_qmap_end(&p_dnup->p_osm->subn.sw_guid_tbl); in dnup_set_min_hop_table()
[all …]
H A Dosm_ucast_updn.c224 for (item = cl_qmap_head(&p_updn->p_osm->subn.sw_guid_tbl); in updn_subn_rank()
225 item != cl_qmap_end(&p_updn->p_osm->subn.sw_guid_tbl); in updn_subn_rank()
314 for (item = cl_qmap_head(&p_updn->p_osm->subn.sw_guid_tbl); in updn_set_min_hop_table()
315 item != cl_qmap_end(&p_updn->p_osm->subn.sw_guid_tbl); in updn_set_min_hop_table()
332 for (item = cl_qmap_head(&p_updn->p_osm->subn.sw_guid_tbl); in updn_set_min_hop_table()
333 item != cl_qmap_end(&p_updn->p_osm->subn.sw_guid_tbl); in updn_set_min_hop_table()
362 if (cl_is_qmap_empty(&p_updn->p_osm->subn.sw_guid_tbl)) { in updn_build_lid_matrices()
458 cas_num, cl_qmap_count(&p_osm->subn.sw_guid_tbl), thd1, thd2); in updn_find_root_nodes_by_min_hop()
462 for (item = cl_qmap_head(&p_updn->p_osm->subn.sw_guid_tbl); in updn_find_root_nodes_by_min_hop()
463 item != cl_qmap_end(&p_updn->p_osm->subn.sw_guid_tbl); in updn_find_root_nodes_by_min_hop()
[all …]
H A Dosm_ucast_mgr.c153 for (item = cl_qmap_head(&p_mgr->p_subn->sw_guid_tbl); in ucast_mgr_process_neighbor()
154 item != cl_qmap_end(&p_mgr->p_subn->sw_guid_tbl); in ucast_mgr_process_neighbor()
602 p_sw_guid_tbl = &p_mgr->p_subn->sw_guid_tbl; in osm_ucast_mgr_build_lid_matrices()
685 for (p_sw = (osm_switch_t *) cl_qmap_head(&p_subn->sw_guid_tbl); in ucast_mgr_setup_all_switches()
686 p_sw != (osm_switch_t *) cl_qmap_end(&p_subn->sw_guid_tbl); in ucast_mgr_setup_all_switches()
839 int i, num = cl_qmap_count(&m->p_subn->sw_guid_tbl); in sort_ports_by_switch_load()
846 s[0] = cl_qmap_head(&m->p_subn->sw_guid_tbl); in sort_ports_by_switch_load()
878 cl_qmap_apply_func(&p_mgr->p_subn->sw_guid_tbl, in ucast_mgr_build_lfts()
891 cl_qmap_apply_func(&p_mgr->p_subn->sw_guid_tbl, ucast_mgr_process_tbl, in ucast_mgr_build_lfts()
1043 tbl = &p_mgr->p_subn->sw_guid_tbl; in ucast_mgr_pipeline_fwd_tbl()
[all …]
H A Dosm_dump.c707 &osm->subn.sw_guid_tbl, in osm_dump_mcast_routes()
716 &osm->subn.sw_guid_tbl, dump_lid_matrix, in osm_dump_all()
719 &osm->subn.sw_guid_tbl, dump_ucast_lfts, in osm_dump_all()
722 dump_qmap(stdout, &osm->subn.sw_guid_tbl, in osm_dump_all()
731 &osm->subn.sw_guid_tbl, in osm_dump_all()
735 &osm->subn.sw_guid_tbl, in osm_dump_all()
H A Dosm_ucast_lash.c996 p_next_sw = (osm_switch_t *) cl_qmap_head(&p_subn->sw_guid_tbl); in populate_fwd_tbls()
999 while (p_next_sw != (osm_switch_t *) cl_qmap_end(&p_subn->sw_guid_tbl)) { in populate_fwd_tbls()
1109 p_next_sw = (osm_switch_t *) cl_qmap_head(&p_subn->sw_guid_tbl); in lash_cleanup()
1110 while (p_next_sw != (osm_switch_t *) cl_qmap_end(&p_subn->sw_guid_tbl)) { in lash_cleanup()
1141 p_lash->num_switches = cl_qmap_count(&p_subn->sw_guid_tbl); in discover_network_properties()
1149 p_next_sw = (osm_switch_t *) cl_qmap_head(&p_subn->sw_guid_tbl); in discover_network_properties()
1150 while (p_next_sw != (osm_switch_t *) cl_qmap_end(&p_subn->sw_guid_tbl)) { in discover_network_properties()
1207 p_next_sw = (osm_switch_t *) cl_qmap_head(&p_subn->sw_guid_tbl); in process_switches()
1208 while (p_next_sw != (osm_switch_t *) cl_qmap_end(&p_subn->sw_guid_tbl)) { in process_switches()
H A Dosm_mcast_mgr.c271 p_sw_tbl = &sm->p_subn->sw_guid_tbl; in mcast_mgr_find_optimal_switch()
870 p_sw_tbl = &sm->p_subn->sw_guid_tbl; in mcast_mgr_clear()
1108 cl_qmap_t *p_sw_tbl = &sm->p_subn->sw_guid_tbl; in mcast_mgr_set_mftables()
1166 for (item = cl_qmap_head(&sm->p_subn->sw_guid_tbl); in alloc_mfts()
1167 item != cl_qmap_end(&sm->p_subn->sw_guid_tbl); in alloc_mfts()
1192 if (cl_qmap_count(&sm->p_subn->sw_guid_tbl) == 0) { in osm_mcast_mgr_process()
H A Dosm_state_mgr.c240 cl_qmap_apply_func(&sm->p_subn->sw_guid_tbl, in state_mgr_sweep_hop_0()
744 cl_qmap_apply_func(&osm->subn.sw_guid_tbl, state_mgr_reset_state_change_bit, in osm_reset_switch_state_change_bit()
802 p_sw_tbl = &sm->p_subn->sw_guid_tbl; in state_mgr_light_sweep_start()
1324 if (cl_qmap_count(&sm->p_subn->sw_guid_tbl) in do_sweep()
1357 if (cl_qmap_count(&sm->p_subn->sw_guid_tbl) in do_sweep()
1662 cl_qmap_apply_func(&sm->p_subn->sw_guid_tbl, check_switch_lft, in do_sweep()
H A Dosm_sa_lft_record.c233 cl_qmap_apply_func(&sa->p_subn->sw_guid_tbl, lftr_rcv_by_comp_mask, in osm_lftr_rcv_process()
H A Dosm_sa_mft_record.c265 cl_qmap_apply_func(&sa->p_subn->sw_guid_tbl, mftr_rcv_by_comp_mask, in osm_mftr_rcv_process()
H A Dosm_sa_sw_info_record.c255 cl_qmap_apply_func(&sa->p_subn->sw_guid_tbl, sir_rcv_by_comp_mask, in osm_sir_rcv_process()
H A Dosm_ucast_cache.c421 p_sw_tbl = &p_mgr->p_subn->sw_guid_tbl; in ucast_cache_validate()
1025 cl_qmap_t *tbl = &p_mgr->p_subn->sw_guid_tbl; in osm_ucast_cache_process()
H A Dosm_sw_info_rcv.c211 p_sw_guid_tbl = &sm->p_subn->sw_guid_tbl; in si_rcv_process_new()
H A Dosm_subnet.c1061 cl_qmap_init(&p_subn->sw_guid_tbl); in osm_subn_construct()
1169 p_next_sw = (osm_switch_t *) cl_qmap_head(&p_subn->sw_guid_tbl); in osm_subn_destroy()
1170 while (p_next_sw != (osm_switch_t *) cl_qmap_end(&p_subn->sw_guid_tbl)) { in osm_subn_destroy()
1381 p_switch = (osm_switch_t *) cl_qmap_get(&(p_subn->sw_guid_tbl), guid); in osm_get_switch_by_guid()
1382 if (p_switch == (osm_switch_t *) cl_qmap_end(&(p_subn->sw_guid_tbl))) in osm_get_switch_by_guid()
H A Dosm_drop_mgr.c315 p_sw_guid_tbl = &sm->p_subn->sw_guid_tbl; in drop_mgr_remove_switch()
H A Dosm_ucast_ftree.c4079 if (cl_qmap_count(&p_ftree->p_osm->subn.sw_guid_tbl) < 2) { in construct_fabric()
4083 cl_qmap_count(&p_ftree->p_osm->subn.sw_guid_tbl)); in construct_fabric()
4089 cl_qmap_count(&p_ftree->p_osm->subn.sw_guid_tbl)) < 2) { in construct_fabric()
4094 cl_qmap_count(&p_ftree->p_osm->subn.sw_guid_tbl)); in construct_fabric()
H A Dosm_ucast_dfsssp.c1211 cl_qmap_t *sw_tbl = &p_mgr->p_subn->sw_guid_tbl; in dfsssp_build_graph()
1837 cl_qmap_t *sw_tbl = &p_mgr->p_subn->sw_guid_tbl; in get_avail_vl_in_subn()
2296 cl_qmap_t *sw_tbl = &p_mgr->p_subn->sw_guid_tbl; in dfsssp_do_dijkstra_routing()
H A Dosm_console.c1171 cl_qmap_t *p_sw_guid_tbl = &p_osm->subn.sw_guid_tbl; in switchbalance_parse()
1370 cl_qmap_t *p_sw_guid_tbl = &p_osm->subn.sw_guid_tbl; in lidbalance_parse()
H A Dosm_node_info_rcv.c253 port_num != 0 && cl_qmap_count(&sm->p_subn->sw_guid_tbl) == 0) { in ni_rcv_set_links()
H A Dosm_pkey_mgr.c863 p_tbl = &p_osm->subn.sw_guid_tbl; in osm_pkey_mgr_process()
H A Dosm_torus.c1169 item = cl_qmap_head(&subnet->sw_guid_tbl); in capture_fabric()
1170 while (item != cl_qmap_end(&subnet->sw_guid_tbl)) { in capture_fabric()
1232 item = cl_qmap_head(&subnet->sw_guid_tbl); in capture_fabric()
1233 while (item != cl_qmap_end(&subnet->sw_guid_tbl)) { in capture_fabric()
8894 osm_sw = (osm_switch_t *)cl_qmap_get(&ctx->osm->subn.sw_guid_tbl, in torus_mcast_stree()
H A Dosm_perfmgr.c1013 cl_qmap_apply_func(&osm->subn.sw_guid_tbl, reset_switch_count, NULL); in perfmgr_discovery()
/freebsd/contrib/ofed/opensm/include/opensm/
H A Dosm_subnet.h748 cl_qmap_t sw_guid_tbl; member