Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/drivers/net/mlxsw/
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-v6.1/Documentation/networking/devlink/
Dnetdevsim.rst49 entries, FIB rule entries and nexthops that the driver will allow.
57 $ devlink resource set netdevsim/netdevsim0 path /nexthops size 16
/Linux-v6.1/drivers/net/netdevsim/
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-v6.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c2950 struct mlxsw_sp_nexthop nexthops[0]; member
2951 #define nh_rif nexthops[0].rif
3061 struct mlxsw_sp_nexthop *nh_iter = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_indexes()
3084 struct mlxsw_sp_nexthop *nh_iter = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_has_ipip()
3201 nh = &nh_grp->nhgi->nexthops[i]; in mlxsw_sp_nexthop6_group_has_nexthop()
3273 nh = &nh_grp->nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_hash_obj()
3571 nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_update()
3704 nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_normalize()
3715 nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_normalize()
3734 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_rebalance()
[all …]
/Linux-v6.1/tools/testing/selftests/drivers/net/netdevsim/
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-v6.1/tools/testing/selftests/net/
Dpmtu.sh315 nexthops="
750 for i in ${nexthops}; do
Dfib_nexthops.sh2276 -n num Number of nexthops to target
/Linux-v6.1/Documentation/networking/
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
Dip-sysctl.rst1975 New nexthop API provides a means for managing nexthops independent of