| /src/contrib/ofed/opensm/opensm/ |
| H A D | osm_ucast_cache.c | 463 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 D | osm_link_mgr.c | 122 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 D | osm_ucast_dfsssp.c | 1256 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 D | osm_console.c | 645 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 D | osm_port.c | 111 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 D | osm_vl_arb_rcv.c | 118 if (osm_node_get_type(p_node) == IB_NODE_TYPE_SWITCH) { in osm_vla_rcv_process()
|
| H A D | osm_pkey_rcv.c | 110 if (osm_node_get_type(p_node) == IB_NODE_TYPE_SWITCH) { in osm_pkey_rcv_process()
|
| H A D | osm_sw_info_rcv.c | 81 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 D | osm_slvl_map_rcv.c | 119 if (osm_node_get_type(p_node) == IB_NODE_TYPE_SWITCH) { in osm_slvl_rcv_process()
|
| H A D | osm_port_info_rcv.c | 514 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 D | osm_dump.c | 96 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 D | osm_req.c | 89 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 D | osm_ucast_ftree.c | 1080 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 D | osm_pkey_mgr.c | 239 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 D | osm_drop_mgr.c | 542 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 D | osm_sa_portinfo_record.c | 110 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 D | osm_trap_rcv.c | 245 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 D | osm_qos.c | 99 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 D | osm_sa_node_record.c | 141 if (osm_node_get_type(p_node) == IB_NODE_TYPE_SWITCH) in nr_rcv_create_nr()
|
| H A D | osm_congestion_control.c | 387 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 D | osm_mcast_mgr.c | 696 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 D | osm_prtn.c | 196 if (!type || osm_node_get_type(p_port->p_node) == type) { in osm_prtn_add_all()
|
| H A D | osm_ucast_mgr.c | 294 (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 D | osm_state_mgr.c | 545 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 D | osm_node.h | 254 static inline uint8_t osm_node_get_type(IN const osm_node_t * p_node) in osm_node_get_type() function
|