Skip to content
Commit ed62af45 authored by Ido Schimmel's avatar Ido Schimmel Committed by David S. Miller
Browse files

selftests: spectrum-2: tc_flower_scale: Dynamically set scale target



Instead of hard coding the scale target in the test, dynamically set it
based on the maximum number of flow counters and their current
occupancy.

Signed-off-by: default avatarIdo Schimmel <idosch@nvidia.com>
Reviewed-by: default avatarPetr Machata <petrm@nvidia.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent be00853b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment