]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mlxsw: Add a resource scale test for Spectrum-2
authorDanielle Ratson <danieller@mellanox.com>
Thu, 17 Oct 2019 06:55:17 +0000 (09:55 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Oct 2019 17:05:37 +0000 (10:05 -0700)
commite8651e8b503b18dfb2ac8190d0ebf9fdb67609f4
tree81ba101c9a140ed686eeb2caf5c8cb47376644b3
parent1e590c8162566d6966e40d156dcc521efd1f5a5e
selftests: mlxsw: Add a resource scale test for Spectrum-2

Add resource_scale test suitable for Spectrum-2.

Invoke the mirror_gre test and check that the advertised scale numbers
are indeed supported.

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 [new file with mode: 0755]