]> 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)
commit457e27a7c50bac27216e3be05643f3eee7ecc16b
treeb026648dc3b90f40e6bf7ecbe6de33438ddda796
parent633b40a54709d0472146576818873862029ce9c9
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