kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum/mirror_gre_scale.sh
.. .. @@ -4,10 +4,13 @@ 4 4 mirror_gre_get_target() 5 5 { 6 6 local should_fail=$1; shift 7 + local target8 +9 + target=$(devlink_resource_size_get span_agents)7 10 8 11 if ((! should_fail)); then 9 - echo 312 + echo $target10 13 else 11 - echo 414 + echo $((target + 1))12 15 fi 13 16 }