| /trueos/contrib/ofed/management/opensm/opensm/ |
| HD | osm_node.c | 181 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 …]
|
| HD | osm_port.c | 310 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 …]
|
| HD | osm_ucast_cache.c | 249 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 …]
|
| HD | osm_drop_mgr.c | 88 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 …]
|
| HD | osm_switch.c | 315 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 …]
|
| HD | osm_dump.c | 183 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()
|
| HD | osm_ucast_updn.c | 213 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()
|
| HD | osm_port_info_rcv.c | 215 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()
|
| HD | osm_link_mgr.c | 73 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()
|
| HD | osm_mcast_mgr.c | 645 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);
|
| HD | osm_ucast_lash.c | 142 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()
|
| HD | osm_node_info_rcv.c | 72 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()
|
| HD | osm_trap_rcv.c | 243 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()
|
| HD | osm_ucast_mgr.c | 194 osm_node_t *node = p->p_remote_physp->p_node; in find_and_add_remote_sys()
|
| HD | osm_ucast_ftree.c | 2767 p_remote_physp-> in __osm_ftree_rank_leaf_switches()
|
| /trueos/contrib/ofed/management/opensm/include/opensm/ |
| HD | osm_port.h | 109 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 …]
|