]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/tc-testing: match any qdisc type
authorLi Zhijian <zhijianx.li@intel.com>
Fri, 19 Nov 2021 06:24:56 +0000 (14:24 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Nov 2021 12:35:59 +0000 (12:35 +0000)
commit9f36c35df91e2ea745a82479d58ca1ac5beb7f2b
treeb026648dc3b90f40e6bf7ecbe6de33438ddda796
parent3d23c72288f8273d0eeb149dba500482d3002333
selftests/tc-testing: match any qdisc type

We should not always presume all kernels use pfifo_fast as the default qdisc.

For example, a fq_codel qdisk could have below output:
qdisc fq_codel 0: parent 1:4 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 32Mb ecn drop_batch 64

Reported-by: kernel test robot <lkp@intel.com>
Suggested-by: Peilin Ye <peilin.ye@bytedance.com>
Signed-off-by: Li Zhijian <zhijianx.li@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/tc-testing/tc-tests/qdiscs/mq.json