Home
last modified time | relevance | path

Searched refs:osm_node_get_type (Results 1 – 25 of 31) sorted by relevance

12

/src/contrib/ofed/opensm/opensm/
H A Dosm_ucast_cache.c463 osm_node_get_type(p_physp->p_remote_physp-> in ucast_cache_validate()
476 osm_node_get_type(p_remote_physp->p_node); in ucast_cache_validate()
778 if (osm_node_get_type(p_node_1) != IB_NODE_TYPE_SWITCH && in osm_ucast_cache_check_new_link()
779 osm_node_get_type(p_node_2) != IB_NODE_TYPE_SWITCH) { in osm_ucast_cache_check_new_link()
786 if (osm_node_get_type(p_node_1) != IB_NODE_TYPE_SWITCH) { in osm_ucast_cache_check_new_link()
797 if (osm_node_get_type(p_node_2) == IB_NODE_TYPE_SWITCH) in osm_ucast_cache_check_new_link()
817 (osm_node_get_type(p_node_2) != in osm_ucast_cache_check_new_link()
822 if (osm_node_get_type(p_node_2) == IB_NODE_TYPE_SWITCH) in osm_ucast_cache_check_new_link()
841 if (osm_node_get_type(p_node_1) != IB_NODE_TYPE_SWITCH && in osm_ucast_cache_add_link()
842 osm_node_get_type(p_node_2) != IB_NODE_TYPE_SWITCH) { in osm_ucast_cache_add_link()
[all …]
H A Dosm_link_mgr.c122 if (osm_node_get_type(p_node) != IB_NODE_TYPE_SWITCH || in link_mgr_set_physp_pi()
139 if (osm_node_get_type(p_node) == IB_NODE_TYPE_SWITCH) in link_mgr_set_physp_pi()
198 if (osm_node_get_type(p_node) == IB_NODE_TYPE_SWITCH && in link_mgr_set_physp_pi()
225 if (osm_node_get_type(p_node) != IB_NODE_TYPE_SWITCH || in link_mgr_set_physp_pi()
284 if (osm_node_get_type(osm_physp_get_node_ptr(p_physp)) in link_mgr_set_physp_pi()
291 if (osm_node_get_type in link_mgr_set_physp_pi()
295 if (osm_node_get_type in link_mgr_set_physp_pi()
377 if (osm_node_get_type(p_physp->p_node) == IB_NODE_TYPE_SWITCH && in link_mgr_set_physp_pi()
391 if (osm_node_get_type(p_remote_physp->p_node) == in link_mgr_set_physp_pi()
460 if (osm_node_get_type(p_node) == IB_NODE_TYPE_SWITCH && port_num in link_mgr_set_physp_pi()
H A Dosm_ucast_dfsssp.c1256 if (osm_node_get_type(p_port->p_node) == IB_NODE_TYPE_CA || in dfsssp_build_graph()
1257 osm_node_get_type(p_port->p_node) == IB_NODE_TYPE_SWITCH) { in dfsssp_build_graph()
1363 if (osm_node_get_type(p_port->p_node) != IB_NODE_TYPE_CA) in dfsssp_build_graph()
1448 if (osm_node_get_type(port->p_node) == IB_NODE_TYPE_CA) { in dijkstra()
1470 && (osm_node_get_type(remote_node) == in dijkstra()
1530 if (osm_node_get_type(port->p_node) == IB_NODE_TYPE_CA) in dijkstra()
1634 (osm_node_get_type(p_port->p_node) == in update_lft()
1762 if (osm_node_get_type(remote_node) != IB_NODE_TYPE_CA) in update_mcft()
1934 ntype = osm_node_get_type(dest_port->p_node); in dfsssp_remove_deadlocks()
1960 ntype = osm_node_get_type(dest_port->p_node); in dfsssp_remove_deadlocks()
[all …]
H A Dosm_console.c645 ib_get_node_type_str(osm_node_get_type(p_port->p_node)), in querylid_parse()
762 if (osm_node_get_type(node) == IB_NODE_TYPE_SWITCH) { in __get_stats()
1068 if (osm_node_get_type(p_port->p_node) == IB_NODE_TYPE_SWITCH) in switchbalance_check()
1103 if (osm_node_get_type(p_rem_node) != IB_NODE_TYPE_SWITCH) in switchbalance_check()
1211 if (osm_node_get_type(p_port->p_node) == IB_NODE_TYPE_SWITCH) in lidbalance_check()
1295 if (osm_node_get_type(p_port->p_node) == in lidbalance_check()
1298 else if (osm_node_get_type(p_port->p_node) == in lidbalance_check()
1323 if (osm_node_get_type(p_port->p_node) == in lidbalance_check()
1326 else if (osm_node_get_type(p_port->p_node) == in lidbalance_check()
H A Dosm_port.c111 if (osm_node_get_type(p_node) == IB_NODE_TYPE_SWITCH) in osm_physp_init()
512 if (osm_node_get_type(p_physp->p_node) == in osm_physp_replace_dr_path_with_alternate_dr_path()
695 if ((osm_node_get_type(p_physp->p_node) != in osm_physp_set_port_info()
H A Dosm_vl_arb_rcv.c118 if (osm_node_get_type(p_node) == IB_NODE_TYPE_SWITCH) { in osm_vla_rcv_process()
H A Dosm_pkey_rcv.c110 if (osm_node_get_type(p_node) == IB_NODE_TYPE_SWITCH) { in osm_pkey_rcv_process()
H A Dosm_sw_info_rcv.c81 CL_ASSERT(osm_node_get_type(p_node) == IB_NODE_TYPE_SWITCH);
131 CL_ASSERT(osm_node_get_type(p_node) == IB_NODE_TYPE_SWITCH);
H A Dosm_slvl_map_rcv.c119 if (osm_node_get_type(p_node) == IB_NODE_TYPE_SWITCH) { in osm_slvl_rcv_process()
H A Dosm_port_info_rcv.c514 if (osm_node_get_type(p_node) != IB_NODE_TYPE_SWITCH || in get_pkey_table()
773 switch (osm_node_get_type(p_node)) { in osm_pi_rcv_process()
799 "\n", osm_node_get_type(p_node), in osm_pi_rcv_process()
H A Dosm_dump.c96 switch (osm_node_get_type(p_remote_node)) { in dump_ucast_path_distribution()
358 ib_get_node_type_str(osm_node_get_type(p_node)), in dump_ucast_lfts()
562 node_type = osm_node_get_type(p_node); in print_node_report()
H A Dosm_req.c89 if (osm_node_get_type(p_node) == IB_NODE_TYPE_SWITCH) in req_determine_mkey()
413 ib_notice_set_prod_type_ho(ntc, osm_node_get_type(port->p_node)); in osm_send_trap144()
H A Dosm_ucast_ftree.c1080 CL_ASSERT(osm_node_get_type(p_osm_node) == IB_NODE_TYPE_CA); in fabric_add_hca()
1096 CL_ASSERT(osm_node_get_type(p_osm_sw->p_node) == IB_NODE_TYPE_SWITCH); in fabric_add_sw()
3149 switch (osm_node_get_type(p_osm_node)) { in fabric_populate_nodes()
3163 ib_get_node_type_str(osm_node_get_type in fabric_populate_nodes()
3213 if (osm_node_get_type(p_remote_node) != in rank_switches_from_leafs()
3264 switch (osm_node_get_type(p_remote_osm_node)) { in rank_leaf_switches()
3291 ib_get_node_type_str(osm_node_get_type in rank_leaf_switches()
3377 remote_node_type = osm_node_get_type(p_remote_node); in fabric_construct_hca_ports()
3496 CL_ASSERT(osm_node_get_type(p_node) == IB_NODE_TYPE_SWITCH); in fabric_construct_sw_ports()
3522 remote_node_type = osm_node_get_type(p_remote_node); in fabric_construct_sw_ports()
[all …]
H A Dosm_pkey_mgr.c239 if (osm_node_get_type(p_node) == IB_NODE_TYPE_SWITCH && in pkey_mgr_update_pkey_entry()
855 if ((osm_node_get_type(p_port->p_node) != IB_NODE_TYPE_SWITCH) 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_drop_mgr.c542 if (osm_node_get_type(p_node) == IB_NODE_TYPE_SWITCH) in osm_drop_mgr_process()
582 if (osm_node_get_type(p_node) != IB_NODE_TYPE_SWITCH) in osm_drop_mgr_process()
H A Dosm_sa_portinfo_record.c110 if (osm_node_get_type(p_physp->p_node) == in pir_rcv_new_pir()
420 if (osm_node_get_type(p_physp->p_node) == IB_NODE_TYPE_SWITCH) { in sa_pir_check_physp()
H A Dosm_trap_rcv.c245 if (osm_node_get_type(p->p_node) == IB_NODE_TYPE_SWITCH && in disable_port()
252 if (osm_node_get_type(p->p_node) != IB_NODE_TYPE_SWITCH) { in disable_port()
H A Dosm_qos.c99 if (osm_node_get_type(p_node) == IB_NODE_TYPE_SWITCH && in osm_qos_mad_create()
515 } else if (osm_node_get_type(p_node) == IB_NODE_TYPE_ROUTER) in osm_qos_setup()
H A Dosm_sa_node_record.c141 if (osm_node_get_type(p_node) == IB_NODE_TYPE_SWITCH) in nr_rcv_create_nr()
H A Dosm_congestion_control.c387 if (osm_node_get_type(p_node) == IB_NODE_TYPE_SWITCH) { in osm_congestion_control_setup()
391 } else if (osm_node_get_type(p_node) == IB_NODE_TYPE_CA) { in osm_congestion_control_setup()
H A Dosm_mcast_mgr.c696 if (osm_node_get_type(p_remote_node) == IB_NODE_TYPE_SWITCH) { in mcast_mgr_branch()
949 if (osm_node_get_type(p_remote_node) != IB_NODE_TYPE_SWITCH) {
H A Dosm_prtn.c196 if (!type || osm_node_get_type(p_port->p_node) == type) { in osm_prtn_add_all()
H A Dosm_ucast_mgr.c294 (osm_node_get_type(p_port->p_node) == in ucast_mgr_process_port()
414 CL_ASSERT(osm_node_get_type(p_node) == IB_NODE_TYPE_SWITCH); in ucast_mgr_process_neighbors()
H A Dosm_state_mgr.c545 switch (osm_node_get_type(p_node)) { in state_mgr_sweep_hop_1()
605 osm_node_get_type(p_node), p_node->print_desc); in state_mgr_sweep_hop_1()
/src/contrib/ofed/opensm/include/opensm/
H A Dosm_node.h254 static inline uint8_t osm_node_get_type(IN const osm_node_t * p_node) in osm_node_get_type() function

12