test-network: do not try to set too small quanta for ets

Since kernel v7.3 the kernel clamp quanta:
https://github.com/torvalds/linux/commit/1c38487f46b243bfeefec0c0c86023a3904f2214

So, too small values are now calmped to 256.
Let's change the values used in the test so that they are not clamped.
This commit is contained in:
Yu Watanabe
2026-09-21 13:31:06 +02:00
committed by Lennart Poettering
parent ada6409d6a
commit a6653a56c9
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -13,8 +13,8 @@ Bands=10
StrictBands=3
QuantumBytes=2 4 6
QuantumBytes=
QuantumBytes=1 2 3
QuantumBytes=4 5
QuantumBytes=1001 1002 1003
QuantumBytes=1004 1005
PriorityMap=8 7 6 5
PriorityMap=
PriorityMap=3 4 5
+1 -1
View File
@@ -6334,7 +6334,7 @@ class NetworkdTCTests(unittest.TestCase, Utilities):
self.assertRegex(output, 'qdisc ets 3a: root')
self.assertRegex(output, 'bands 10 strict 3')
self.assertRegex(output, 'quanta 1 2 3 4 5')
self.assertRegex(output, 'quanta 1001 1002 1003 1004 1005')
self.assertRegex(output, 'priomap 3 4 5 6 7')
@expectedFailureIfModuleIsNotAvailable('sch_fq')