OSDN Git Service

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)
commit3858a6451efa795c5a97c33c2735974ac9ec9d6a
tree567549bcf7cbe7435354809e1fc837d5732f1b85
parentf86854a2e76256ee82025f981a5385480eec17b7
parentfa57dd728b687bb707efa104529fd6c73e5f98ae
Merge branch 'selftests-mlxsw-Add-scale-tests-for-Spectrum-2'

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>