Searched refs:nexthops (Results 1 – 2 of 2) sorted by relevance
48 struct nsim_fib_entry nexthops; member153 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()
2920 struct mlxsw_sp_nexthop nexthops[0]; member2921 #define nh_rif nexthops[0].rif3031 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 …]