Home
last modified time | relevance | path

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

/drivers/net/netdevsim/
Dfib.c48 struct nsim_fib_entry nexthops; member
153 entry = &fib_data->nexthops; in nsim_fib_get_val()
181 entry = &fib_data->nexthops; in nsim_fib_set_max()
1152 if (!atomic64_add_unless(&data->nexthops.num, 1, in nsim_nexthop_account()
1153 data->nexthops.max)) { in nsim_nexthop_account()
1159 if (WARN_ON(occ > atomic64_read(&data->nexthops.num))) in nsim_nexthop_account()
1161 atomic64_sub(occ, &data->nexthops.num); in nsim_nexthop_account()
1167 atomic64_sub(i, &data->nexthops.num); in nsim_nexthop_account()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c2920 struct mlxsw_sp_nexthop nexthops[0]; member
2921 #define nh_rif nexthops[0].rif
3031 struct mlxsw_sp_nexthop *nh_iter = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_indexes()
3054 struct mlxsw_sp_nexthop *nh_iter = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_has_ipip()
3171 nh = &nh_grp->nhgi->nexthops[i]; in mlxsw_sp_nexthop6_group_has_nexthop()
3243 nh = &nh_grp->nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_hash_obj()
3541 nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_update()
3674 nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_normalize()
3685 nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_normalize()
3704 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_rebalance()
[all …]