Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dfib_offload.sh279 nexthops+=" nexthop via 2001:db8:1::10:$i dev $spine_p1"
283 echo "route add 2001:db8:8:$(printf "%x" $i)::/64$nexthops" \
285 echo "route del 2001:db8:8:$(printf "%x" $i)::/64$nexthops" \
/linux/Documentation/networking/devlink/
H A Dnetdevsim.rst49 entries, FIB rule entries and nexthops that the driver will allow.
57 $ devlink resource set netdevsim/netdevsim0 path /nexthops size 16
/linux/drivers/net/netdevsim/
H A Dfib.c49 struct nsim_fib_entry nexthops; member
155 entry = &fib_data->nexthops; in nsim_fib_get_val()
183 entry = &fib_data->nexthops; in nsim_fib_set_max()
1163 if (!atomic64_add_unless(&data->nexthops.num, 1, in nsim_nexthop_account()
1164 data->nexthops.max)) { in nsim_nexthop_account()
1170 if (WARN_ON(occ > atomic64_read(&data->nexthops.num))) in nsim_nexthop_account()
1172 atomic64_sub(occ, &data->nexthops.num); in nsim_nexthop_account()
1178 atomic64_sub(i, &data->nexthops.num); in nsim_nexthop_account()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c3116 struct mlxsw_sp_nexthop nexthops[] __counted_by(count);
3122 struct mlxsw_sp_crif *crif = nhgi->nexthops[0].crif; in mlxsw_sp_nhgi_rif()
3342 struct mlxsw_sp_nexthop *nh_iter = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_indexes()
3367 struct mlxsw_sp_nexthop *nh_iter = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_has_ipip()
3484 nh = &nh_grp->nhgi->nexthops[i]; in mlxsw_sp_nexthop6_group_has_nexthop()
3556 nh = &nh_grp->nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_hash_obj()
3856 nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_update()
3994 nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_normalize()
4005 nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_normalize()
4024 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_rebalance()
[all …]
/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Dnexthop.sh109 $DEVLINK resource set $DEVLINK_DEV path nexthops size $size
1008 $DEVLINK resource set $DEVLINK_DEV path nexthops size 3
1012 $DEVLINK resource set $DEVLINK_DEV path nexthops size 9999
/linux/Documentation/networking/
H A Dswitchdev.rst374 structure holds details on the route and route's nexthops. ``*dev`` is one
409 NETEVENT_NEIGH_UPDATE. The device can be programmed with resolved nexthops
H A Dip-sysctl.rst2164 New nexthop API provides a means for managing nexthops independent of
/linux/tools/testing/selftests/net/
H A Dpmtu.sh305 nexthops="
739 for i in ${nexthops}; do
H A Dfib_nexthops.sh2470 -n num Number of nexthops to target