Home
last modified time | relevance | path

Searched refs:p_remote_physp (Results 1 – 16 of 16) sorted by relevance

/trueos/contrib/ofed/management/opensm/opensm/
HDosm_node.c181 osm_physp_t *p_remote_physp; in osm_node_link() local
187 p_remote_physp = osm_node_get_physp_ptr(p_remote_node, remote_port_num); in osm_node_link()
189 if (p_physp->p_remote_physp) in osm_node_link()
190 p_physp->p_remote_physp->p_remote_physp = NULL; in osm_node_link()
191 if (p_remote_physp->p_remote_physp) in osm_node_link()
192 p_remote_physp->p_remote_physp->p_remote_physp = NULL; in osm_node_link()
194 osm_physp_link(p_physp, p_remote_physp); in osm_node_link()
206 osm_physp_t *p_remote_physp; in osm_node_unlink() local
215 p_remote_physp = in osm_node_unlink()
218 osm_physp_unlink(p_physp, p_remote_physp); in osm_node_unlink()
[all …]
HDosm_port.c310 const osm_physp_t *p_remote_physp; in osm_physp_calc_link_mtu() local
316 p_remote_physp = osm_physp_get_remote(p_physp); in osm_physp_calc_link_mtu()
317 if (p_remote_physp) { in osm_physp_calc_link_mtu()
322 ib_port_info_get_mtu_cap(&p_remote_physp->port_info); in osm_physp_calc_link_mtu()
327 cl_ntoh64(osm_physp_get_port_guid(p_remote_physp)), in osm_physp_calc_link_mtu()
328 osm_physp_get_port_num(p_remote_physp), in osm_physp_calc_link_mtu()
342 cl_ntoh64(osm_physp_get_port_guid(p_remote_physp)), in osm_physp_calc_link_mtu()
343 osm_physp_get_port_num(p_remote_physp),mtu); in osm_physp_calc_link_mtu()
365 const osm_physp_t *p_remote_physp; in osm_physp_calc_link_op_vls() local
371 p_remote_physp = osm_physp_get_remote(p_physp); in osm_physp_calc_link_op_vls()
[all …]
HDosm_ucast_cache.c249 if (!p_physp_1->p_remote_physp && !p_physp_2->p_remote_physp) in __cache_check_link_change()
255 if ((p_physp_1->p_remote_physp && in __cache_check_link_change()
256 p_physp_1->p_remote_physp->p_remote_physp) || in __cache_check_link_change()
257 (p_physp_2->p_remote_physp && in __cache_check_link_change()
258 p_physp_2->p_remote_physp->p_remote_physp)) { in __cache_check_link_change()
444 osm_physp_t *p_remote_physp; in ucast_cache_validate() local
481 if (!p_physp || !p_physp->p_remote_physp || in ucast_cache_validate()
483 p_physp->p_remote_physp)) in ucast_cache_validate()
494 p_physp->p_remote_physp->p_node && in ucast_cache_validate()
495 osm_node_get_type(p_physp->p_remote_physp-> in ucast_cache_validate()
[all …]
HDosm_drop_mgr.c88 osm_physp_t *p_remote_physp; in drop_mgr_clean_physp() local
91 p_remote_physp = osm_physp_get_remote(p_physp); in drop_mgr_clean_physp()
92 if (p_remote_physp) { in drop_mgr_clean_physp()
94 p_remote_physp->port_guid); in drop_mgr_clean_physp()
103 osm_physp_get_port_state(p_remote_physp) == in drop_mgr_clean_physp()
109 cl_ntoh64(p_remote_physp->port_guid), in drop_mgr_clean_physp()
110 p_remote_physp->port_num); in drop_mgr_clean_physp()
117 if (!p_remote_physp->p_node->sw) { in drop_mgr_clean_physp()
123 (p_remote_physp->p_node)), in drop_mgr_clean_physp()
124 p_remote_physp->port_num); in drop_mgr_clean_physp()
[all …]
HDosm_switch.c315 if (!p_physp || !p_physp->p_remote_physp || in osm_switch_recommend_path()
316 !p_physp->p_remote_physp->p_node->sw) in osm_switch_recommend_path()
319 if (p_physp->p_remote_physp->p_node->sw == p_sw) in osm_switch_recommend_path()
320 return p_physp->p_remote_physp->port_num; in osm_switch_recommend_path()
322 osm_node_get_base_lid(p_physp->p_remote_physp->p_node, 0); in osm_switch_recommend_path()
578 if (!p || !p->p_remote_physp || !p->p_remote_physp->p_node->sw) in osm_switch_get_port_least_hops()
580 if (p->p_remote_physp->p_node->sw == p_sw) in osm_switch_get_port_least_hops()
582 lid = osm_node_get_base_lid(p->p_remote_physp->p_node, 0); in osm_switch_get_port_least_hops()
610 if (!p_physp || !p_physp->p_remote_physp || in osm_switch_recommend_mcast_path()
611 !p_physp->p_remote_physp->p_node->sw) in osm_switch_recommend_mcast_path()
[all …]
HDosm_dump.c183 if (!p_physp || !p_physp->p_remote_physp || in dump_ucast_routes()
184 !p_physp->p_remote_physp->p_node->sw) in dump_ucast_routes()
189 p_remote_physp-> in dump_ucast_routes()
193 p_physp->p_remote_physp->p_node-> in dump_ucast_routes()
378 p_rphysp = p_physp->p_remote_physp; in dump_topology_node()
462 const osm_physp_t *p_physp, *p_remote_physp; in print_node_report() local
526 p_remote_physp = osm_physp_get_remote(p_physp); in print_node_report()
527 if (p_remote_physp) in print_node_report()
530 (p_remote_physp)), in print_node_report()
531 osm_physp_get_port_num(p_remote_physp)); in print_node_report()
HDosm_ucast_updn.c213 osm_physp_t *p_physp, *p_remote_physp; in updn_subn_rank() local
253 p_remote_physp = p_physp->p_remote_physp; in updn_subn_rank()
260 if (p_remote_physp && p_remote_physp->p_node->sw) { in updn_subn_rank()
261 remote_u = p_remote_physp->p_node->sw->priv; in updn_subn_rank()
262 port_guid = p_remote_physp->port_guid; in updn_subn_rank()
450 p_physp = p_port->p_physp->p_remote_physp; in updn_find_root_nodes_by_min_hop()
HDosm_port_info_rcv.c215 osm_physp_t *p_remote_physp; in __osm_pi_rcv_process_switch_port() local
235 p_remote_physp = osm_physp_get_remote(p_physp); in __osm_pi_rcv_process_switch_port()
236 if (p_remote_physp) { in __osm_pi_rcv_process_switch_port()
238 osm_physp_get_node_ptr(p_remote_physp); in __osm_pi_rcv_process_switch_port()
240 osm_physp_get_port_num(p_remote_physp); in __osm_pi_rcv_process_switch_port()
256 p_remote_physp); in __osm_pi_rcv_process_switch_port()
HDosm_link_mgr.c73 osm_physp_t *p_remote_physp; in __osm_link_mgr_set_physp_pi() local
193 p_remote_physp = osm_physp_get_remote(p_physp); in __osm_link_mgr_set_physp_pi()
194 if (port_num != 0 && p_remote_physp) { in __osm_link_mgr_set_physp_pi()
207 (osm_physp_get_node_ptr(p_remote_physp)) != in __osm_link_mgr_set_physp_pi()
HDosm_mcast_mgr.c645 const osm_physp_t *p_remote_physp; in __osm_mcast_mgr_branch() local
698 p_remote_physp = osm_physp_get_remote(p_physp); in __osm_mcast_mgr_branch()
699 CL_ASSERT(p_remote_physp); in __osm_mcast_mgr_branch()
706 (p_remote_physp), in __osm_mcast_mgr_branch()
937 osm_physp_t *p_remote_physp;
975 p_remote_physp = osm_physp_get_remote(p_physp);
976 if (p_remote_physp == NULL) {
984 p_remote_node = osm_physp_get_node_ptr(p_remote_physp);
1017 port_num = osm_physp_get_port_num(p_remote_physp);
HDosm_ucast_lash.c142 else if (p->p_remote_physp->p_node->sw) in get_osm_switch_from_port()
143 return p->p_remote_physp->p_node->sw; in get_osm_switch_from_port()
1065 port->p_physp->p_remote_physp->port_num; in populate_fwd_tbls()
1110 osm_physp_t *p_current_physp, *p_remote_physp; in osm_lash_process_switch() local
1123 p_remote_physp = p_current_physp->p_remote_physp; in osm_lash_process_switch()
1124 if (p_remote_physp && p_remote_physp->p_node->sw) { in osm_lash_process_switch()
1128 osm_physp_get_port_num(p_remote_physp); in osm_lash_process_switch()
1130 get_lash_id(p_remote_physp->p_node->sw); in osm_lash_process_switch()
1143 (p_remote_physp)), in osm_lash_process_switch()
1218 && p_current_physp->p_remote_physp) { in discover_network_properties()
HDosm_node_info_rcv.c72 p_old = p_physp->p_remote_physp; in report_duplicated_guid()
103 path = *osm_physp_get_dr_path_ptr(p_physp->p_remote_physp); in requery_dup_node_info()
104 osm_dr_path_extend(&path, p_physp->p_remote_physp->port_num); in requery_dup_node_info()
107 p_physp->p_remote_physp->p_node->node_info.port_guid; in requery_dup_node_info()
108 context.ni_context.port_num = p_physp->p_remote_physp->port_num; in requery_dup_node_info()
203 requery_dup_node_info(sm, p_physp->p_remote_physp, in __osm_ni_rcv_set_links()
HDosm_trap_rcv.c243 if (p->p_remote_physp && in disable_port()
244 p->dr_path.hop_count > p->p_remote_physp->dr_path.hop_count) in disable_port()
245 p = p->p_remote_physp; in disable_port()
HDosm_ucast_mgr.c194 osm_node_t *node = p->p_remote_physp->p_node; in find_and_add_remote_sys()
HDosm_ucast_ftree.c2767 p_remote_physp-> in __osm_ftree_rank_leaf_switches()
/trueos/contrib/ofed/management/opensm/include/opensm/
HDosm_port.h109 struct osm_physp *p_remote_physp; member
707 return (p_physp->p_remote_physp); in osm_physp_get_remote()
797 IN const osm_physp_t * const p_remote_physp) in osm_physp_link_exists() argument
801 CL_ASSERT(p_remote_physp); in osm_physp_link_exists()
802 CL_ASSERT(osm_physp_is_valid(p_remote_physp)); in osm_physp_link_exists()
803 return ((p_physp->p_remote_physp == p_remote_physp) && in osm_physp_link_exists()
804 (p_remote_physp->p_remote_physp == p_physp)); in osm_physp_link_exists()
836 IN osm_physp_t * const p_remote_physp) in osm_physp_link() argument
839 CL_ASSERT(p_remote_physp); in osm_physp_link()
840 p_physp->p_remote_physp = p_remote_physp; in osm_physp_link()
[all …]