Searched refs:p_sw (Results 1 - 25 of 30) sorted by relevance

12

/freebsd-11-stable/contrib/ofed/opensm/include/opensm/
H A Dosm_switch.h216 * p_sw
266 static inline uint8_t osm_switch_get_hop_count(IN const osm_switch_t * p_sw, argument
270 return (lid_ho > p_sw->max_lid_ho || !p_sw->hops[lid_ho]) ?
271 OSM_NO_PATH : p_sw->hops[lid_ho][port_num];
275 * p_sw
301 cl_status_t osm_switch_set_hops(IN osm_switch_t * p_sw, IN uint16_t lid_ho,
305 * p_sw
334 void osm_switch_clear_hops(IN osm_switch_t * p_sw);
337 * p_sw
355 osm_switch_get_least_hops(IN const osm_switch_t * p_sw, IN uint16_t lid_ho) argument
434 osm_switch_get_port_by_lid(IN const osm_switch_t * p_sw, IN uint16_t lid_ho, IN osm_lft_type_enum lft_enum) argument
472 osm_switch_get_route_by_lid(IN const osm_switch_t * p_sw, IN ib_net16_t lid) argument
525 osm_switch_sp0_is_lmc_capable(IN const osm_switch_t * p_sw, IN osm_subn_t * p_subn) argument
560 osm_switch_get_max_block_id_in_use(IN const osm_switch_t * p_sw) argument
620 osm_switch_supports_mcast(IN const osm_switch_t * p_sw) argument
647 osm_switch_set_switch_info(IN osm_switch_t * p_sw, IN const ib_switch_info_t * p_si) argument
679 osm_switch_count_path(IN osm_switch_t * p_sw, IN uint8_t port) argument
711 osm_switch_set_lft_block(IN osm_switch_t * p_sw, IN const uint8_t * p_block, IN uint32_t block_num) argument
753 osm_switch_set_mft_block(IN osm_switch_t * p_sw, IN const ib_net16_t * p_block, IN uint16_t block_num, IN uint8_t position) argument
791 osm_switch_get_mft_block(IN osm_switch_t * p_sw, IN uint16_t block_num, IN uint8_t position, OUT ib_net16_t * p_block) argument
833 osm_switch_get_mft_max_block(IN osm_switch_t * p_sw) argument
855 osm_switch_get_mft_max_block_in_use(IN osm_switch_t * p_sw) argument
883 osm_switch_get_mft_max_position(IN osm_switch_t * p_sw) argument
905 osm_switch_get_dimn_port(IN const osm_switch_t * p_sw, IN uint8_t port_num) argument
1049 osm_switch_get_mcast_fwd_tbl_size(IN const osm_switch_t * p_sw) argument
1075 osm_switch_path_count_get(IN const osm_switch_t * p_sw, IN uint8_t port_num) argument
1132 osm_switch_get_mcast_tbl_ptr(IN const osm_switch_t * p_sw) argument
1161 osm_switch_is_in_mcast_tree(IN const osm_switch_t * p_sw, IN uint16_t mlid_ho) argument
[all...]
H A Dosm_mtree.h101 const osm_switch_t *p_sw; member in struct:osm_mtree_node
111 * p_sw
140 osm_mtree_node_t *osm_mtree_node_new(IN const osm_switch_t * p_sw);
143 * p_sw
254 return p_mtn->p_sw;
H A Dosm_ucast_lash.h74 osm_switch_t *p_sw; member in struct:_switch
H A Dosm_event_plugin.h104 osm_switch_t *p_sw; member in struct:osm_epi_lft_change_event
/freebsd-11-stable/contrib/ofed/opensm/opensm/
H A Dosm_switch.c64 cl_status_t osm_switch_set_hops(IN osm_switch_t * p_sw, IN uint16_t lid_ho, argument
67 if (!lid_ho || lid_ho > p_sw->max_lid_ho)
69 if (port_num >= p_sw->num_ports)
71 if (!p_sw->hops[lid_ho]) {
72 p_sw->hops[lid_ho] = malloc(p_sw->num_ports);
73 if (!p_sw->hops[lid_ho])
75 memset(p_sw->hops[lid_ho], OSM_NO_PATH, p_sw->num_ports);
78 p_sw
87 osm_switch_t *p_sw = *pp_sw; local
112 osm_switch_t *p_sw; local
160 osm_switch_get_lft_block(IN const osm_switch_t * p_sw, IN uint16_t block_id, OUT uint8_t * p_block) argument
177 switch_find_guid_common(IN const osm_switch_t * p_sw, IN struct osm_remote_guids_count *r, IN uint8_t port_num, IN int find_sys_guid, IN int find_node_guid) argument
219 switch_find_sys_guid_count(IN const osm_switch_t * p_sw, IN struct osm_remote_guids_count *r, IN uint8_t port_num) argument
227 switch_find_node_guid_count(IN const osm_switch_t * p_sw, IN struct osm_remote_guids_count *r, IN uint8_t port_num) argument
234 osm_switch_recommend_path(IN const osm_switch_t * p_sw, IN osm_port_t * p_port, IN uint16_t lid_ho, IN unsigned start_from, IN boolean_t ignore_existing, IN boolean_t routing_for_lmc, IN boolean_t dor, IN boolean_t port_shifting, IN uint32_t scatter_ports, IN osm_lft_type_enum lft_enum) argument
595 osm_switch_clear_hops(IN osm_switch_t * p_sw) argument
604 alloc_lft(IN osm_switch_t * p_sw, uint16_t lids) argument
623 osm_switch_prepare_path_rebuild(IN osm_switch_t * p_sw, IN uint16_t max_lids) argument
665 osm_switch_get_port_least_hops(IN const osm_switch_t * p_sw, IN const osm_port_t * p_port) argument
689 osm_switch_recommend_mcast_path(IN osm_switch_t * p_sw, IN osm_port_t * p_port, IN uint16_t mlid_ho, IN boolean_t ignore_existing) argument
[all...]
H A Dosm_ucast_ftree.c114 struct ftree_sw_t_ *p_sw; member in struct:__anon3928
139 struct ftree_sw_t_ *p_sw; member in union:ftree_hca_or_sw_
261 compare_switches_by_index(&((*pp_g1)->remote_hca_or_sw.p_sw),
262 &((*pp_g2)->remote_hca_or_sw.p_sw));
335 static ftree_sw_tbl_element_t *sw_tbl_element_create(IN ftree_sw_t * p_sw) argument
343 p_element->p_sw = p_sw;
421 p_group->hca_or_sw.p_sw = (ftree_sw_t *) p_hca_or_sw;
435 p_group->remote_hca_or_sw.p_sw =
548 ftree_sw_t *p_sw; local
612 sw_destroy(IN ftree_sw_t * p_sw) argument
635 sw_get_guid_no(IN ftree_sw_t * p_sw) argument
644 sw_get_guid_ho(IN ftree_sw_t * p_sw) argument
651 sw_dump(IN ftree_fabric_t * p_ftree, IN ftree_sw_t * p_sw) argument
682 sw_ranked(IN ftree_sw_t * p_sw) argument
689 sw_get_port_group_by_remote_lid(IN ftree_sw_t * p_sw, IN uint16_t remote_lid, IN ftree_direction_t direction) argument
719 sw_add_port(IN ftree_sw_t * p_sw, IN uint8_t port_num, IN uint8_t remote_port_num, IN uint16_t lid, IN uint16_t remote_lid, IN ib_net64_t port_guid, IN ib_net64_t remote_port_guid, IN ib_net64_t remote_node_guid, IN uint8_t remote_node_type, IN void *p_remote_hca_or_sw, IN ftree_direction_t direction) argument
757 sw_set_hops(IN ftree_sw_t * p_sw, IN uint16_t lid, IN uint8_t port_num, IN uint8_t hops, IN boolean_t is_target_sw) argument
800 sw_get_least_hops(IN ftree_sw_t * p_sw, IN uint16_t target_lid) argument
975 ftree_sw_t *p_sw; local
1094 ftree_sw_t *p_sw; local
1112 fabric_add_sw_by_tuple(IN ftree_fabric_t * p_ftree, IN ftree_sw_t * p_sw) argument
1147 ftree_sw_t *p_sw; local
1172 ftree_sw_t *p_sw; local
1212 ftree_sw_t *p_sw; local
1286 ftree_sw_t *p_sw; local
1360 fabric_assign_tuple(IN ftree_fabric_t * p_ftree, IN ftree_sw_t * p_sw, IN ftree_tuple_t new_tuple) argument
1370 fabric_assign_first_tuple(IN ftree_fabric_t * p_ftree, IN ftree_sw_t * p_sw, IN unsigned int subtree) argument
1410 ftree_sw_t *p_sw; local
1466 ftree_sw_t *p_sw; local
1530 ftree_sw_t *p_sw = NULL; local
1643 ftree_sw_t *p_sw = NULL; local
1702 ftree_sw_t *p_sw; local
1803 ftree_sw_t *p_sw; local
1838 ftree_sw_t *p_sw; local
2026 ftree_sw_t *p_sw = (ftree_sw_t * const)p_map_item; local
2039 recalculate_min_counter_down(ftree_sw_t * p_sw) argument
2056 find_lowest_loaded_group_on_sw(ftree_sw_t * p_sw) argument
2239 fabric_route_upgoing_by_going_down(IN ftree_fabric_t * p_ftree, IN ftree_sw_t * p_sw, IN ftree_sw_t * p_prev_sw, IN uint16_t target_lid, IN boolean_t is_main_path, IN boolean_t is_target_a_sw, IN uint8_t current_hops) argument
2410 fabric_route_downgoing_by_going_up(IN ftree_fabric_t * p_ftree, IN ftree_sw_t * p_sw, IN ftree_sw_t * p_prev_sw, IN uint16_t target_lid, IN boolean_t is_main_path, IN boolean_t is_target_a_sw, IN uint16_t reverse_hop_credit, IN uint16_t reverse_hops, IN uint8_t current_hops) argument
2800 ftree_sw_t *p_sw; local
2933 ftree_sw_t *p_sw; local
3014 ftree_sw_t *p_sw; local
3056 ftree_sw_t *p_sw; local
3177 sw_update_rank(IN ftree_sw_t * p_sw, IN uint32_t new_rank) argument
3191 ftree_sw_t *p_sw; local
3245 ftree_sw_t *p_sw; local
3332 ftree_sw_t *p_sw = (ftree_sw_t * const)p_map_item; local
3479 fabric_construct_sw_ports(IN ftree_fabric_t * p_ftree, IN ftree_sw_t * p_sw) argument
3669 ftree_sw_t *p_sw; local
3781 ftree_sw_t *p_sw = NULL; local
3837 ftree_sw_t *p_sw; local
3894 ftree_sw_t *p_sw; local
4005 remove_depended_hca(IN ftree_fabric_t *p_ftree, IN ftree_sw_t *p_sw) argument
4038 ftree_sw_t *p_sw = NULL; local
[all...]
H A Dosm_mtree.c52 osm_mtree_node_t *osm_mtree_node_new(IN const osm_switch_t * p_sw) argument
58 sizeof(void *) * (p_sw->num_ports - 1));
63 p_mtn->p_sw = p_sw;
64 p_mtn->max_children = p_sw->num_ports;
95 cl_ntoh64(p_mtn->p_sw->p_node->node_info.node_guid),
H A Dosm_lin_fwd_rcv.c64 osm_switch_t *p_sw; local
95 p_sw = osm_get_switch_by_guid(sm->p_subn, node_guid);
97 if (!p_sw) {
102 status = osm_switch_set_lft_block(p_sw, p_block, block_num);
105 lft_change.p_sw = p_sw;
118 p_sw->p_node->print_desc);
H A Dosm_ucast_file.c81 osm_switch_t * p_sw, uint16_t lid, uint8_t port_num,
88 old_port = osm_switch_get_port_by_lid(p_sw, new_lid, OSM_LFT);
93 cl_ntoh64(osm_node_get_node_guid(p_sw->p_node)),
97 p_sw->new_lft[new_lid] = port_num;
100 osm_switch_count_path(p_sw, port_num);
106 cl_ntoh64(osm_node_get_node_guid(p_sw->p_node)));
109 static void add_lid_hops(osm_opensm_t * p_osm, osm_switch_t * p_sw, argument
115 if (len > p_sw->num_ports)
116 len = p_sw->num_ports;
119 osm_switch_set_hops(p_sw, li
80 add_path(osm_opensm_t * p_osm, osm_switch_t * p_sw, uint16_t lid, uint8_t port_num, ib_net64_t port_guid) argument
129 osm_switch_t *p_sw; local
271 osm_switch_t *p_sw; local
[all...]
H A Dosm_mcast_mgr.c265 osm_switch_t *p_sw, *p_best_sw = NULL; local
274 for (p_sw = (osm_switch_t *) cl_qmap_head(p_sw_tbl);
275 p_sw != (osm_switch_t *) cl_qmap_end(p_sw_tbl);
276 p_sw = (osm_switch_t *) cl_qmap_next(&p_sw->map_item)) {
277 if (!osm_switch_supports_mcast(p_sw))
281 hops = mcast_mgr_compute_avg_hops(sm, &mgrp_sw_map, p_sw);
283 hops = mcast_mgr_compute_max_hops(sm, &mgrp_sw_map, p_sw);
288 cl_ntoh64(osm_node_get_node_guid(p_sw->p_node)), hops);
291 p_best_sw = p_sw;
315 osm_switch_t *p_sw = NULL; local
331 mcast_mgr_set_mft_block(osm_sm_t * sm, IN osm_switch_t * p_sw, uint32_t block_num, uint32_t position) argument
400 mcast_mgr_subdivide(osm_sm_t * sm, uint16_t mlid_ho, osm_switch_t * p_sw, cl_qlist_t * p_list, cl_qlist_t * list_array, uint8_t array_size) argument
489 mcast_mgr_branch(osm_sm_t * sm, uint16_t mlid_ho, osm_switch_t * p_sw, cl_qlist_t * p_list, uint8_t depth, uint8_t upstream_port, uint8_t * p_max_depth) argument
747 osm_switch_t *p_sw; local
863 osm_switch_t *p_sw; local
1041 mcast_mgr_set_mfttop(IN osm_sm_t * sm, IN osm_switch_t * p_sw) argument
1109 osm_switch_t *p_sw; local
1156 osm_switch_t *p_sw; local
[all...]
H A Dosm_ucast_dnup.c106 IN osm_switch_t * p_sw, IN uint8_t prune_weight,
117 lid = osm_node_get_base_lid(p_sw->p_node, 0);
119 osm_switch_set_hops(p_sw, lid, 0, 0);
123 cl_ntoh64(p_sw->p_node->node_info.port_guid), lid);
125 u = p_sw->priv;
222 osm_switch_t *p_sw; local
238 p_sw = (osm_switch_t *)item;
239 u = p_sw->priv;
248 p_sw = u->sw;
249 num_ports = p_sw
105 dnup_bfs_by_node(IN osm_log_t * p_log, IN osm_subn_t * p_subn, IN osm_switch_t * p_sw, IN uint8_t prune_weight, OUT uint8_t * max_hops) argument
299 osm_switch_t *p_sw; local
413 osm_switch_t *p_sw; local
[all...]
H A Dosm_ucast_cache.c81 static uint16_t cache_sw_get_base_lid_ho(cache_switch_t * p_sw) argument
83 return p_sw->ports[0].remote_lid_ho;
86 static boolean_t cache_sw_is_leaf(cache_switch_t * p_sw) argument
88 return p_sw->ports[0].is_leaf;
91 static void cache_sw_set_leaf(cache_switch_t * p_sw) argument
93 p_sw->ports[0].is_leaf = TRUE;
115 static void cache_sw_destroy(cache_switch_t * p_sw) argument
119 if (!p_sw)
122 if (p_sw->lft)
123 free(p_sw
193 cache_switch_t *p_sw; local
310 cache_restore_ucast_info(osm_ucast_mgr_t * p_mgr, cache_switch_t * p_cache_sw, osm_switch_t * p_sw) argument
340 cache_switch_t *p_sw; local
375 cache_switch_t *p_sw; local
408 osm_switch_t *p_sw; local
1027 osm_switch_t *p_sw; local
[all...]
H A Dosm_mcast_fwd_rcv.c68 osm_switch_t *p_sw; local
107 p_sw = osm_get_switch_by_guid(sm->p_subn, node_guid);
109 if (!p_sw) {
114 status = osm_switch_set_mft_block(p_sw, p_block,
123 p_sw->p_node->print_desc, block_num, position);
H A Dosm_sa_mft_record.c71 IN osm_switch_t * p_sw,
93 cl_ntoh64(osm_node_get_node_guid(p_sw->p_node)),
105 osm_switch_get_mft_block(p_sw, block, position, p_rec_item->resp.mft_rec.mft);
117 osm_switch_t *p_sw = (osm_switch_t *) p_map_item; local
131 osm_get_port_by_guid(sa->p_subn, p_sw->p_node->node_info.port_guid);
135 "\n", cl_ntoh64(p_sw->p_node->node_info.node_guid));
146 cl_ntoh64(p_sw->p_node->node_info.node_guid));
167 if (!osm_switch_supports_mcast(p_sw))
171 if (osm_switch_get_mft_max_block_in_use(p_sw) == -1)
180 if (max_block > osm_switch_get_mft_max_block_in_use(p_sw))
70 mftr_rcv_new_mftr(IN osm_sa_t * sa, IN osm_switch_t * p_sw, IN cl_qlist_t * p_list, IN ib_net16_t lid, IN uint16_t block, IN uint8_t position) argument
[all...]
H A Dosm_sw_info_rcv.c65 static void si_rcv_get_fwd_tbl(IN osm_sm_t * sm, IN osm_switch_t * p_sw)
77 CL_ASSERT(p_sw);
79 p_node = p_sw->p_node;
86 max_block_id_ho = osm_switch_get_max_block_id_in_use(p_sw);
111 static void si_rcv_get_mcast_fwd_tbl(IN osm_sm_t * sm, IN osm_switch_t * p_sw)
127 CL_ASSERT(p_sw);
129 p_node = p_sw->p_node;
133 if (osm_switch_get_mcast_fwd_tbl_size(p_sw) == 0) {
143 p_tbl = osm_switch_get_mcast_tbl_ptr(p_sw);
199 osm_switch_t *p_sw; local
288 osm_switch_t *p_sw = p_node->sw; local
[all...]
H A Dosm_ucast_updn.c112 IN osm_switch_t * p_sw)
122 lid = osm_node_get_base_lid(p_sw->p_node, 0);
124 osm_switch_set_hops(p_sw, lid, 0, 0);
128 cl_ntoh64(p_sw->p_node->node_info.port_guid), lid);
130 u = p_sw->priv;
211 osm_switch_t *p_sw; local
227 p_sw = (osm_switch_t *)item;
228 u = p_sw->priv;
237 p_sw = u->sw;
238 num_ports = p_sw
111 updn_bfs_by_node(IN osm_log_t * p_log, IN osm_subn_t * p_subn, IN osm_switch_t * p_sw) argument
304 osm_switch_t *p_sw; local
411 osm_switch_t *p_sw; local
574 osm_switch_t *p_sw; local
[all...]
H A Dosm_dump.c72 osm_switch_t *p_sw = (osm_switch_t *) item; local
74 p_node = p_sw->p_node;
75 num_ports = p_sw->num_ports;
82 num_paths = osm_switch_path_count_get(p_sw, i);
129 osm_switch_t *p_sw = (osm_switch_t *) item; local
132 p_node = p_sw->p_node;
134 max_lid_ho = p_sw->max_lid_ho;
152 port_num = osm_switch_get_port_by_lid(p_sw, lid_ho,
176 osm_switch_get_hop_count(p_sw, base_lid, port_num);
181 osm_switch_get_hop_count(p_sw, lid_h
241 osm_switch_t *p_sw = (osm_switch_t *) item; local
305 osm_switch_t *p_sw = (osm_switch_t *) item; local
333 osm_switch_t *p_sw = (osm_switch_t *) item; local
[all...]
H A Dosm_ucast_mgr.c108 osm_switch_t * p_sw = (osm_switch_t *) p_map_item; local
113 lid = cl_ntoh16(osm_node_get_base_lid(p_sw->p_node, 0));
114 osm_switch_set_hops(p_sw, lid, 0, 0);
116 for (i = 1; i < p_sw->num_ports; i++) {
117 osm_physp_t *p = osm_node_get_physp_ptr(p_sw->p_node, i);
122 p_remote_node != p_sw->p_node) {
125 osm_switch_set_hops(p_sw, remote_lid, i, p->hop_wf);
136 osm_switch_t *p_sw; local
156 p_sw = (osm_switch_t *) item;
157 lid_ho = cl_ntoh16(osm_node_get_base_lid(p_sw
201 ucast_mgr_process_port(IN osm_ucast_mgr_t * p_mgr, IN osm_switch_t * p_sw, IN osm_port_t * p_port, IN unsigned lid_offset) argument
361 osm_switch_t * p_sw = (osm_switch_t *) p_map_item; local
400 osm_switch_t * p_sw = (osm_switch_t *) p_map_item; local
679 osm_switch_t *p_sw; local
903 osm_switch_t * p_sw = (osm_switch_t *) p_map_item; local
974 set_lft_block(IN osm_switch_t *p_sw, IN osm_ucast_mgr_t *p_mgr, IN uint16_t block_id_ho) argument
[all...]
H A Dosm_sa_sw_info_record.c71 IN const osm_switch_t * p_sw,
94 p_rec_item->resp.swinfo_rec.switch_info = p_sw->switch_info;
103 static void sir_rcv_create_sir(IN osm_sa_t * sa, IN const osm_switch_t * p_sw, argument
121 osm_get_port_by_guid(sa->p_subn, p_sw->p_node->node_info.port_guid);
125 "\n", cl_ntoh64(p_sw->p_node->node_info.node_guid));
136 cl_ntoh64(p_sw->p_node->node_info.node_guid));
160 sir_rcv_new_sir(sa, p_sw, p_list, osm_port_get_base_lid(p_port));
169 const osm_switch_t *p_sw = (osm_switch_t *) p_map_item; local
178 osm_dump_switch_info_v2(p_ctxt->sa->p_log, &p_sw->switch_info,
187 sir_rcv_create_sir(sa, p_sw, p_ctx
70 sir_rcv_new_sir(IN osm_sa_t * sa, IN const osm_switch_t * p_sw, IN cl_qlist_t * p_list, IN ib_net16_t lid) argument
[all...]
H A Dosm_sa_lft_record.c71 IN const osm_switch_t * p_sw,
91 cl_ntoh64(osm_node_get_node_guid(p_sw->p_node)),
100 osm_switch_get_lft_block(p_sw, block, p_rec_item->resp.lft_rec.lft);
112 const osm_switch_t *p_sw = (osm_switch_t *) p_map_item; local
124 p_sw->p_node->node_info.port_guid);
128 "\n", cl_ntoh64(p_sw->p_node->node_info.node_guid));
139 cl_ntoh64(p_sw->p_node->node_info.node_guid));
161 max_block = osm_switch_get_max_block_id_in_use(p_sw);
172 lftr_rcv_new_lftr(sa, p_sw, p_ctxt->p_list,
70 lftr_rcv_new_lftr(IN osm_sa_t * sa, IN const osm_switch_t * p_sw, IN cl_qlist_t * p_list, IN ib_net16_t lid, IN uint16_t block) argument
H A Dosm_ucast_lash.c607 static switch_t *switch_create(lash_t * p_lash, unsigned id, osm_switch_t * p_sw) argument
610 unsigned num_ports = p_sw->num_ports;
631 sw->p_sw = p_sw;
632 p_sw->priv = sw;
966 static unsigned get_lash_id(osm_switch_t * p_sw) argument
968 return ((switch_t *) p_sw->priv)->id;
990 osm_switch_t *p_sw, *p_next_sw, *p_dst_sw; local
1002 p_sw = p_next_sw;
1003 p_next_sw = (osm_switch_t *) cl_qmap_next(&p_sw
1057 osm_lash_process_switch(lash_t * p_lash, osm_switch_t * p_sw) argument
1106 osm_switch_t *p_next_sw, *p_sw; local
1138 osm_switch_t *p_next_sw, *p_sw; local
1202 osm_switch_t *p_sw, *p_next_sw; local
1287 osm_switch_t *p_sw; local
[all...]
H A Dosm_console.c1040 osm_switch_t * p_sw, FILE * out, int verbose)
1077 port_num = osm_switch_get_port_by_lid(p_sw, lid_ho,
1086 num_ports = p_sw->num_ports;
1088 p_physp = osm_node_get_physp_ptr(p_sw->p_node, port_num);
1119 cl_ntoh64(p_sw->p_node->node_info.node_guid),
1120 p_sw->p_node->print_desc);
1124 cl_ntoh64(p_sw->p_node->node_info.node_guid),
1125 p_sw->p_node->print_desc);
1139 osm_switch_t *p_sw; local
1163 p_sw
1039 switchbalance_check(osm_opensm_t * p_osm, osm_switch_t * p_sw, FILE * out, int verbose) argument
1182 lidbalance_check(osm_opensm_t * p_osm, osm_switch_t * p_sw, FILE * out) argument
1347 osm_switch_t *p_sw; local
[all...]
H A Dosm_ucast_dfsssp.c1579 osm_switch_t *p_sw = NULL; local
1591 p_sw = adj_list[i].sw;
1603 (p_sw->p_node)));
1613 (p_sw->p_node)));
1615 p = osm_node_get_physp_ptr(p_sw->p_node, port);
1620 cl_ntoh64(osm_node_get_node_guid(p_sw->p_node)));
1646 p_sw->new_lft[lid] = port;
1649 osm_switch_count_path(p_sw, port);
1652 ret = osm_switch_set_hops(p_sw, lid, port, hops);
1658 (p_sw
1716 osm_switch_t *p_sw = NULL; local
2588 osm_switch_t *root_sw = NULL, *p_sw = NULL; local
[all...]
H A Dosm_drop_mgr.c308 osm_switch_t *p_sw; local
317 p_sw = (osm_switch_t *) cl_qmap_remove(p_sw_guid_tbl, node_guid);
318 if (p_sw == (osm_switch_t *) cl_qmap_end(p_sw_guid_tbl)) {
324 osm_switch_delete(&p_sw);
H A Dosm_state_mgr.c118 osm_switch_t *p_sw = (osm_switch_t *) p_map_item; local
120 if (p_sw->max_lid_ho != 0)
121 p_sw->need_update = 1;
130 osm_switch_t *const p_sw = (osm_switch_t *) p_object; local
136 p_node = p_sw->p_node;
646 osm_switch_t *p_sw = (osm_switch_t *) obj; local
656 CL_ASSERT(p_sw);
658 p_node = p_sw->p_node;
665 if (!ib_switch_info_get_state_change(&p_sw->switch_info))
668 si = p_sw
[all...]

Completed in 226 milliseconds

12