Skip to content
Commit 4d21ed2e authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller
Browse files

selftests: spectrum-2: Adjust tc_flower_scale limit according to current counter count



With the change that made the code to query counter bank size from device
instead of using hard-coded value, the number of available counters
changed for Spectrum-2. Adjust the limit in the selftests.

Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
Signed-off-by: default avatarIdo Schimmel <idosch@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ac5de9a2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment