Searched refs:new_lft (Results 1 – 10 of 10) sorted by relevance
| /freebsd-12.1/contrib/ofed/opensm/opensm/ |
| H A D | osm_switch.c | 97 if (p_sw->new_lft) in osm_switch_delete() 98 free(p_sw->new_lft); in osm_switch_delete() 172 memcpy(p_block, &(p_sw->new_lft[base_lid_ho]), IB_SMP_DATA_SIZE); in osm_switch_get_lft_block() 611 uint8_t *new_lft = realloc(p_sw->lft, lft_size); in alloc_lft() local 612 if (!new_lft) in alloc_lft() 614 memset(new_lft + p_sw->lft_size, OSM_NO_PATH, in alloc_lft() 616 p_sw->lft = new_lft; in alloc_lft() 626 uint8_t *new_lft; in osm_switch_prepare_path_rebuild() local 637 if (!(new_lft = realloc(p_sw->new_lft, p_sw->lft_size))) in osm_switch_prepare_path_rebuild() 640 p_sw->new_lft = new_lft; in osm_switch_prepare_path_rebuild() [all …]
|
| H A D | osm_ucast_cache.c | 323 if (p_sw->new_lft) in cache_restore_ucast_info() 324 free(p_sw->new_lft); in cache_restore_ucast_info() 325 p_sw->new_lft = p_cache_sw->lft; in cache_restore_ucast_info() 989 if (p_node->sw->new_lft) { in osm_ucast_cache_add_node() 992 p_cache_sw->lft = p_node->sw->new_lft; in osm_ucast_cache_add_node() 993 p_node->sw->new_lft = NULL; in osm_ucast_cache_add_node() 1043 CL_ASSERT(p_sw->new_lft); in osm_ucast_cache_process()
|
| H A D | osm_ucast_ftree.c | 2355 p_remote_sw->p_osm_sw->new_lft[target_lid] = in fabric_route_upgoing_by_going_down() 2557 p_remote_sw->p_osm_sw->new_lft[target_lid] = in fabric_route_downgoing_by_going_up() 2657 p_remote_sw->p_osm_sw->new_lft[target_lid] = in fabric_route_downgoing_by_going_up() 2724 p_remote_sw->p_osm_sw->new_lft[target_lid] = in fabric_route_downgoing_by_going_up() 2847 p_sw->p_osm_sw->new_lft[hca_lid] = p_port->port_num; in fabric_route_to_cns() 2902 p_ftree_sw->p_osm_sw->new_lft[0] = OSM_NO_PATH; in fabric_route_to_cns() 2968 p_sw->p_osm_sw->new_lft[hca_lid] = port_num_on_switch; in fabric_route_to_non_cns() 3025 p_sw->p_osm_sw->new_lft[p_sw->lid] = 0; in fabric_route_to_switches() 3092 if (p_sw->p_osm_sw->new_lft[lid] != OSM_NO_PATH || in fabric_route_roots() 3107 port_num = p_sw->p_osm_sw->new_lft[p_leaf_sw->lid]; in fabric_route_roots() [all …]
|
| H A D | osm_ucast_file.c | 97 p_sw->new_lft[new_lid] = port_num; in add_path() 197 memset(p_sw->new_lft, OSM_NO_PATH, p_sw->lft_size); in do_ucast_file_load()
|
| H A D | osm_ucast_mgr.c | 302 p_sw->new_lft[lid_ho] = port; in ucast_mgr_process_port() 373 memset(p_sw->new_lft, OSM_NO_PATH, p_sw->max_lid_ho + 1); in ucast_mgr_process_tbl() 987 if (!p_sw->new_lft) { in set_lft_block() 1004 !memcmp(p_sw->new_lft + block_id_ho * IB_SMP_DATA_SIZE, in set_lft_block() 1021 p_sw->new_lft + block_id_ho * IB_SMP_DATA_SIZE, in set_lft_block()
|
| H A D | osm_ucast_dfsssp.c | 814 local_port = local_node->sw->new_lft[dlid]; in update_channel_dep_graph() 966 local_port = local_node->sw->new_lft[dlid]; in remove_path_from_cdg() 1646 p_sw->new_lft[lid] = port; in update_lft() 2321 memset(sw->new_lft, OSM_NO_PATH, sw->max_lid_ho + 1); in dfsssp_do_dijkstra_routing() 2327 sw->new_lft[i] = 0; in dfsssp_do_dijkstra_routing() 2550 if (sw->new_lft[i] != OSM_NO_PATH) { in dfsssp_do_dijkstra_routing() 2554 sw->new_lft[i]); in dfsssp_do_dijkstra_routing()
|
| H A D | osm_ucast_lash.c | 1009 memset(p_sw->new_lft, OSM_NO_PATH, p_sw->lft_size); in populate_fwd_tbls() 1020 p_sw->new_lft[lid] = egress_port; in populate_fwd_tbls() 1038 p_sw->new_lft[lid] = physical_egress_port; in populate_fwd_tbls()
|
| H A D | osm_state_mgr.c | 1233 if (!sw->new_lft) in check_switch_lft() 1236 if (memcmp(sw->lft, sw->new_lft, sw->max_lid_ho + 1)) in check_switch_lft()
|
| H A D | osm_torus.c | 8637 memset(osm_sw->new_lft, OSM_NO_PATH, osm_sw->lft_size); in torus_lft() 8669 osm_sw->new_lft[dlid_base + l] = dp; in torus_lft()
|
| /freebsd-12.1/contrib/ofed/opensm/include/opensm/ |
| H A D | osm_switch.h | 105 uint8_t *new_lft; member 440 return lft_enum == OSM_LFT ? p_sw->lft[lid_ho] : p_sw->new_lft[lid_ho]; in osm_switch_get_port_by_lid()
|