selftests: mlxsw: Add tc flower scale test
authorPetr Machata <petrm@mellanox.com>
Sat, 30 Jun 2018 00:51:05 +0000 (02:51 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Jun 2018 13:06:15 +0000 (22:06 +0900)
commitd67a94e81fda793fc2cd8562501117720e221634
treef42a256edc881c991021b448443f5825bb282aef
parentc51a744a28bad6faec696b56c176519bea0e73bc
selftests: mlxsw: Add tc flower scale test

Add test of capacity to offload flower.

This is a generic portion of the test that is meant to be called from a
driver that supplies a particular number of rules to be tested with.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Yuval Mintz <yuvalm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/tc_flower_scale.sh [new file with mode: 0644]