Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c3107 u8 adj_index_valid:1, member
4104 old_adj_index_valid = nhgi->adj_index_valid; in mlxsw_sp_nexthop_group_refresh()
4107 nhgi->adj_index_valid = 1; in mlxsw_sp_nexthop_group_refresh()
4144 nhgi->adj_index_valid = 0; in mlxsw_sp_nexthop_group_refresh()
5163 WARN_ON_ONCE(nhgi->adj_index_valid); in mlxsw_sp_nexthop_obj_group_info_fini()
5247 if (old_nhgi->adj_index_valid && new_nhgi->adj_index_valid) { in mlxsw_sp_nexthop_obj_group_replace()
5259 } else if (old_nhgi->adj_index_valid && !new_nhgi->adj_index_valid) { in mlxsw_sp_nexthop_obj_group_replace()
5269 } else if (!old_nhgi->adj_index_valid && new_nhgi->adj_index_valid) { in mlxsw_sp_nexthop_obj_group_replace()
5584 WARN_ON_ONCE(nhgi->adj_index_valid); in mlxsw_sp_nexthop4_group_info_fini()
5712 return !!nh_group->nhgi->adj_index_valid; in mlxsw_sp_fib_entry_should_offload()
[all …]