]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit149f0e5a54d5ce1afcd0cad816d5f4d0c862e14e
tree567549bcf7cbe7435354809e1fc837d5732f1b85
parente8651e8b503b18dfb2ac8190d0ebf9fdb67609f4
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]