OSDN Git Service

Merge branch 'mlxsw-adjust-qos-tests-for-spectrum-4-testing'
authorJakub Kicinski <kuba@kernel.org>
Tue, 20 Sep 2022 01:08:02 +0000 (18:08 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 20 Sep 2022 01:08:02 +0000 (18:08 -0700)
commit4e2309625f5b25da01b7cd437567fccce1bc74c7
treed159b4d6b275bd24f6f351726ed2d512c4ed5b4e
parent2dc81a0e7658d986c4d7acce6ac2d1060ff424b7
parent72981ef2d196d03ebab2bf9e4578a4c17e8078dd
Merge branch 'mlxsw-adjust-qos-tests-for-spectrum-4-testing'

Petr Machata says:

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

Link: https://lore.kernel.org/r/cover.1663152826.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>