selftests: mlxsw: Add Spectrum-2 target scale for tc flower scale test
authorDanielle Ratson <danieller@mellanox.com>
Thu, 17 Oct 2019 06:55:18 +0000 (09:55 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Oct 2019 17:05:37 +0000 (10:05 -0700)
commitfa57dd728b687bb707efa104529fd6c73e5f98ae
tree567549bcf7cbe7435354809e1fc837d5732f1b85
parent317ff0bba6b0dbe10cca96e925cd6fa7e0cc3f2d
selftests: mlxsw: Add Spectrum-2 target scale for tc flower scale test

Return the maximum number of tc flower filters that can be offloaded.
Currently, this value corresponds to the number of counters supported by
the driver.

Signed-off-by: Danielle Ratson <danieller@mellanox.com>
Acked-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/resource_scale.sh
tools/testing/selftests/drivers/net/mlxsw/spectrum-2/tc_flower_scale.sh [new file with mode: 0644]