diff options
author | Danielle Ratson <danieller@nvidia.com> | 2021-10-26 12:42:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-26 13:35:58 +0100 |
commit | 152f98e7c5cb472e37d44ff8bb07029e77e9508d (patch) | |
tree | 921044a4c20d7346aa34179de6d178a43b124a0b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1c375ffb2efab992b74fb1801c2e0bb2051a6e6e (diff) |
selftests: mlxsw: Add a scale test for RIF MAC profiles
Query the maximum number of supported RIF MAC profiles using
devlink-resource and verify that all available MAC profiles can be utilized
and that an error is generated when user space tries to exceed this number.
Output example in Spectrum-2:
$ TESTS='rif_mac_profile' ./resource_scale.sh
TEST: 'rif_mac_profile' 4 [ OK ]
TEST: 'rif_mac_profile' overflow 5 [ OK ]
Signed-off-by: Danielle Ratson <danieller@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions