OSDN Git Service

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)
commit317ff0bba6b0dbe10cca96e925cd6fa7e0cc3f2d
tree81ba101c9a140ed686eeb2caf5c8cb47376644b3
parentcb7d2c719c288dee9ef0e97c66f404600795c7f9
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]