aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/rif_counter_scale.sh
diff options
context:
space:
mode:
authorPetr Machata <petrm@nvidia.com>2022-06-16 13:42:43 +0300
committerDavid S. Miller <davem@davemloft.net>2022-06-17 10:31:33 +0100
commitdd5d20e17c960dc5c8b8c585dfae79cf39660867 (patch)
treef571afc1311453d0e8ba8cd68b307819139aeec4 /tools/testing/selftests/drivers/net/mlxsw/spectrum-2/rif_counter_scale.sh
parentselftests: mlxsw: resource_scale: Pass target count to cleanup (diff)
downloadlinux-dev-dd5d20e17c960dc5c8b8c585dfae79cf39660867.tar.xz
linux-dev-dd5d20e17c960dc5c8b8c585dfae79cf39660867.zip
selftests: mlxsw: tc_flower_scale: Add a traffic test
Add a test that checks that the created filters do actually trigger on matching traffic. Exercising all the rules would be a very lengthy process. Instead, take a log2 subset of rules. The logic behind picking log2 rules is that then every bit of the instantiated item's number is exercised. This should catch issues whether they happen at the high end, low end, or somewhere in between. Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Amit Cohen <amcohen@nvidia.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/drivers/net/mlxsw/spectrum-2/rif_counter_scale.sh')
0 files changed, 0 insertions, 0 deletions