mlxsw: Adjust QOS tests for Spectrum-4 testing
Status from this message: This series was applied to netdev/net-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 5 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | selftests: mlxsw: Use shapers in QOS tests instead of forcing speedtools/ tools/ tools/ | +16 | 0 replies | Applied |
| 2/5 | selftests: mlxsw: Use shapers in QOS RED tests instead of forcing speedtools/ tools/ tools/ | +15 | 0 replies | Applied |
| 3/5 | selftests: devlink_lib: Add function for querying maximum pool sizetools/ | +5 | 0 replies | Applied |
| 4/5 | selftests: mlxsw: Add QOS test for maximum use of descriptorstools/ tools/ | +296 | 0 replies | Applied |
| 5/5 | selftests: mlxsw: Remove qos_burst testtools/ | +0 | 0 replies | Applied |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Petr Machata |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | R-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/5] mlxsw: Adjust QOS tests for Spectrum-4 testing
Amit writes:
Quality Of Service tests create congestion and verify the switch behavior. To create congestion, they need to have more traffic than the port can handle, so some of them force 1Gbps speed.
The tests assume that 1Gbps speed is supported. Spectrum-4 ASIC will not support this speed in all ports, so to be able to run QOS tests there, some adjustments are required.
Patch set overview:
Patch #1 adjusts qos_ets_strict, qos_mc_aware and sch_ets tests. Patch #2 adjusts RED tests.
Patch #3 extends devlink_lib to support querying maximum pool size. Patch #4 adds a test which can be used instead of qos_burst and do not assume that 1Gbps speed is supported.
Patch #5 removes qos_burst test.
Amit Cohen (5):
selftests: mlxsw: Use shapers in QOS tests instead of forcing speed
selftests: mlxsw: Use shapers in QOS RED tests instead of forcing
speed
selftests: devlink_lib: Add function for querying maximum pool size
selftests: mlxsw: Add QOS test for maximum use of descriptors
selftests: mlxsw: Remove qos_burst test
.../selftests/drivers/net/mlxsw/mlxsw_lib.sh | 14 + .../selftests/drivers/net/mlxsw/qos_burst.sh | 480 ------------------ .../drivers/net/mlxsw/qos_ets_strict.sh | 5 +- .../drivers/net/mlxsw/qos_max_descriptors.sh | 282 ++++++++++ .../drivers/net/mlxsw/qos_mc_aware.sh | 9 +- .../selftests/drivers/net/mlxsw/sch_ets.sh | 15 +- .../drivers/net/mlxsw/sch_red_core.sh | 23 +- .../drivers/net/mlxsw/sch_red_ets.sh | 4 +- .../drivers/net/mlxsw/sch_red_root.sh | 4 +- .../selftests/net/forwarding/devlink_lib.sh | 5 + 10 files changed, 332 insertions(+), 509 deletions(-) delete mode 100755 tools/testing/selftests/drivers/net/mlxsw/qos_burst.sh create mode 100755 tools/testing/selftests/drivers/net/mlxsw/qos_max_descriptors.sh
Signature · 1 line
2.35.3