Home
last modified time | relevance | path

Searched refs:p_remote_node (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_node.c159 IN osm_node_t * p_remote_node, IN uint8_t remote_port_num) in osm_node_link() argument
165 p_remote_physp = osm_node_get_physp_ptr(p_remote_node, remote_port_num); in osm_node_link()
176 IN osm_node_t * p_remote_node, IN uint8_t remote_port_num) in osm_node_unlink() argument
182 CL_ASSERT(remote_port_num < p_remote_node->physp_tbl_size); in osm_node_unlink()
185 p_remote_node, remote_port_num)) { in osm_node_unlink()
189 osm_node_get_physp_ptr(p_remote_node, remote_port_num); in osm_node_unlink()
196 IN osm_node_t * p_remote_node, in osm_node_link_exists() argument
203 CL_ASSERT(remote_port_num < p_remote_node->physp_tbl_size); in osm_node_link_exists()
206 p_remote_physp = osm_node_get_physp_ptr(p_remote_node, remote_port_num); in osm_node_link_exists()
213 IN osm_node_t * p_remote_node, in osm_node_link_has_valid_ports() argument
[all …]
H A Dosm_ucast_dnup.c139 osm_node_t *p_remote_node; in dnup_bfs_by_node() local
145 p_remote_node = in dnup_bfs_by_node()
150 if (!p_remote_node || !p_remote_node->sw) in dnup_bfs_by_node()
153 p_remote_sw = p_remote_node->sw; in dnup_bfs_by_node()
172 cl_ntoh64(osm_node_get_node_guid(p_remote_node))); in dnup_bfs_by_node()
441 osm_node_t *p_remote_node; in dnup_lid_matrices() local
442 p_remote_node = osm_node_get_remote_node(p_sw->p_node, pn, &pn_rem); in dnup_lid_matrices()
443 if(p_remote_node && !p_remote_node->sw) { in dnup_lid_matrices()
H A Dosm_mcast_mgr.c619 const osm_node_t *p_remote_node; in mcast_mgr_branch() local
653 p_remote_node = osm_node_get_remote_node(p_node, i, NULL); in mcast_mgr_branch()
654 if (!p_remote_node) { in mcast_mgr_branch()
696 if (osm_node_get_type(p_remote_node) == IB_NODE_TYPE_SWITCH) { in mcast_mgr_branch()
700 CL_ASSERT(p_remote_node->sw); in mcast_mgr_branch()
709 mcast_mgr_branch(sm, mlid_ho, p_remote_node->sw, in mcast_mgr_branch()
897 osm_node_t *p_remote_node;
943 p_remote_node = osm_physp_get_node_ptr(p_remote_physp);
945 CL_ASSERT(p_remote_node);
947 sw_guid = osm_node_get_node_guid(p_remote_node);
[all …]
H A Dosm_ucast_mgr.c109 osm_node_t *p_remote_node; in ucast_mgr_process_hop_0_1() local
118 p_remote_node = (p && p->p_remote_physp) ? in ucast_mgr_process_hop_0_1()
121 if (p_remote_node && p_remote_node->sw && in ucast_mgr_process_hop_0_1()
122 p_remote_node != p_sw->p_node) { in ucast_mgr_process_hop_0_1()
123 remote_lid = osm_node_get_base_lid(p_remote_node, 0); in ucast_mgr_process_hop_0_1()
403 osm_node_t *p_remote_node; in ucast_mgr_process_neighbors() local
426 p_remote_node = osm_node_get_remote_node(p_node, in ucast_mgr_process_neighbors()
429 if (p_remote_node && p_remote_node->sw in ucast_mgr_process_neighbors()
430 && (p_remote_node != p_node)) { in ucast_mgr_process_neighbors()
438 p_remote_node->sw, in ucast_mgr_process_neighbors()
H A Dosm_ucast_updn.c144 osm_node_t *p_remote_node; in updn_bfs_by_node() local
150 p_remote_node = in updn_bfs_by_node()
155 if (!p_remote_node || !p_remote_node->sw) in updn_bfs_by_node()
158 p_remote_sw = p_remote_node->sw; in updn_bfs_by_node()
171 cl_ntoh64(osm_node_get_node_guid(p_remote_node))); in updn_bfs_by_node()
H A Dosm_port_info_rcv.c267 osm_node_t *p_remote_node; in pi_rcv_process_switch_ext_port() local
296 p_remote_node = in pi_rcv_process_switch_ext_port()
309 (p_remote_node)), in pi_rcv_process_switch_ext_port()
318 p_remote_node, in pi_rcv_process_switch_ext_port()
422 p_remote_node = osm_physp_get_node_ptr(p_remote_physp); in pi_rcv_process_switch_ext_port()
423 if (p_remote_node->sw) { in pi_rcv_process_switch_ext_port()
H A Dosm_dump.c67 osm_node_t *p_remote_node; in dump_ucast_path_distribution() local
89 p_remote_node = osm_node_get_remote_node(p_node, i, NULL); in dump_ucast_path_distribution()
90 if (p_remote_node == NULL) in dump_ucast_path_distribution()
94 cl_ntoh64(osm_node_get_node_guid(p_remote_node)); in dump_ucast_path_distribution()
96 switch (osm_node_get_type(p_remote_node)) { in dump_ucast_path_distribution()
H A Dosm_drop_mgr.c393 osm_node_t *p_remote_node; in drop_mgr_check_switch_node() local
460 p_remote_node = in drop_mgr_check_switch_node()
473 (p_remote_node)), in drop_mgr_check_switch_node()
482 p_remote_node, in drop_mgr_check_switch_node()
H A Dosm_ucast_ftree.c3194 osm_node_t *p_remote_node; in rank_switches_from_leafs() local
3209 p_remote_node = in rank_switches_from_leafs()
3211 if (!p_remote_node) in rank_switches_from_leafs()
3213 if (osm_node_get_type(p_remote_node) != in rank_switches_from_leafs()
3219 (p_remote_node)); in rank_switches_from_leafs()
3345 osm_node_t *p_remote_node; in fabric_construct_hca_ports() local
3371 p_remote_node = in fabric_construct_hca_ports()
3374 if (!p_remote_osm_port || !p_remote_node) in fabric_construct_hca_ports()
3377 remote_node_type = osm_node_get_type(p_remote_node); in fabric_construct_hca_ports()
3378 remote_node_guid = osm_node_get_node_guid(p_remote_node); in fabric_construct_hca_ports()
[all …]
H A Dosm_pkey_mgr.c818 osm_node_t *p_remote_node; in osm_pkey_mgr_process() local
871 p_remote_node = p_physp->p_remote_physp->p_node; in osm_pkey_mgr_process()
875 if (osm_node_get_type(p_remote_node) != IB_NODE_TYPE_SWITCH) in osm_pkey_mgr_process()
H A Dosm_perfmgr.c580 osm_node_t *p_remote_node = p_remote_physp->p_node; in collect_guids() local
582 mon_port->remote_guid = p_remote_node->node_info.node_guid; in collect_guids()
583 mon_port->remote_name = strdup(p_remote_node->print_desc); in collect_guids()
/freebsd/contrib/ofed/opensm/include/opensm/
H A Dosm_node.h510 IN osm_node_t * p_remote_node, IN uint8_t remote_port_num);
546 IN osm_node_t * p_remote_node, IN uint8_t remote_port_num);
582 IN osm_node_t * p_remote_node,
653 IN osm_node_t * p_remote_node,