]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: spectrum-2: Adjust tc_flower_scale limit according to current counter...
authorJiri Pirko <jiri@mellanox.com>
Wed, 18 Mar 2020 13:48:50 +0000 (15:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Mar 2020 23:46:19 +0000 (16:46 -0700)
commitb6d5407ba7b631d55934aa253f8f762c5f37e95c
treed5e0dd69399d43e29b7ae4fa6e34bf451a85935a
parent790bf45abe735803614550ebfd198748649e73a7
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: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/spectrum-2/tc_flower_scale.sh