netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/5] selftests: mlxsw: Add scale tests for Spectrum-2
@ 2019-10-17  6:55 Ido Schimmel
  2019-10-17  6:55 ` [PATCH net-next 1/5] mlxsw: spectrum: Register switched port analyzers (SPAN) as resource Ido Schimmel
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Ido Schimmel @ 2019-10-17  6:55 UTC (permalink / raw)
  To: netdev; +Cc: davem, jiri, danieller, mlxsw, Ido Schimmel

From: Ido Schimmel <idosch@mellanox.com>

This series from Danielle adds two scale tests for the Spectrum-2 ASIC.

The first scale test (patches #1-#4) validates the number of mirroring
sessions (using tc-mirred) that can be supported by the device. As a
preparatory step, patch #1 exposes the maximum number and current usage
of mirroring agents via devlink-resource. This allows us to avoid
hard-coding the limits later in the test.

The second scale test (patch #5) validates the number of tc-flower
filters that can be supported by the device.

Danielle Ratson (5):
  mlxsw: spectrum: Register switched port analyzers (SPAN) as resource
  selftests: mlxsw: Generalize the parameters of mirror_gre test
  selftests: mlxsw: Add Spectrum-2 mirror-to-gretap target scale test
  selftests: mlxsw: Add a resource scale test for Spectrum-2
  selftests: mlxsw: Add Spectrum-2 target scale for tc flower scale test

 .../net/ethernet/mellanox/mlxsw/spectrum.c    | 51 ++++++++++++++++++-
 .../net/ethernet/mellanox/mlxsw/spectrum.h    |  3 ++
 .../ethernet/mellanox/mlxsw/spectrum_span.c   | 21 ++++++++
 .../net/mlxsw/spectrum-2/mirror_gre_scale.sh  | 16 ++++++
 .../net/mlxsw/spectrum-2/resource_scale.sh    | 46 +++++++++++++++++
 .../net/mlxsw/spectrum-2/tc_flower_scale.sh   | 20 ++++++++
 .../net/mlxsw/spectrum/mirror_gre_scale.sh    |  7 ++-
 7 files changed, 160 insertions(+), 4 deletions(-)
 create mode 100644 tools/testing/selftests/drivers/net/mlxsw/spectrum-2/mirror_gre_scale.sh
 create mode 100755 tools/testing/selftests/drivers/net/mlxsw/spectrum-2/resource_scale.sh
 create mode 100644 tools/testing/selftests/drivers/net/mlxsw/spectrum-2/tc_flower_scale.sh

-- 
2.21.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-10-18 17:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-17  6:55 [PATCH net-next 0/5] selftests: mlxsw: Add scale tests for Spectrum-2 Ido Schimmel
2019-10-17  6:55 ` [PATCH net-next 1/5] mlxsw: spectrum: Register switched port analyzers (SPAN) as resource Ido Schimmel
2019-10-17  6:55 ` [PATCH net-next 2/5] selftests: mlxsw: Generalize the parameters of mirror_gre test Ido Schimmel
2019-10-17  6:55 ` [PATCH net-next 3/5] selftests: mlxsw: Add Spectrum-2 mirror-to-gretap target scale test Ido Schimmel
2019-10-17  6:55 ` [PATCH net-next 4/5] selftests: mlxsw: Add a resource scale test for Spectrum-2 Ido Schimmel
2019-10-17  6:55 ` [PATCH net-next 5/5] selftests: mlxsw: Add Spectrum-2 target scale for tc flower scale test Ido Schimmel
2019-10-18 17:13 ` [PATCH net-next 0/5] selftests: mlxsw: Add scale tests for Spectrum-2 David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).