Merge branch 'selftests-mlxsw-Add-scale-tests-for-Spectrum-2'
authorDavid S. Miller <davem@davemloft.net>
Fri, 18 Oct 2019 17:05:37 +0000 (10:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Oct 2019 17:05:37 +0000 (10:05 -0700)
Ido Schimmel says:

====================
selftests: mlxsw: Add scale tests for Spectrum-2

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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge