tc-testing: Add control-plane selftests for sch_mq
authorPeilin Ye <peilin.ye@bytedance.com>
Tue, 3 Aug 2021 22:16:59 +0000 (15:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Aug 2021 11:42:27 +0000 (12:42 +0100)
commit625af9f0298b72f5dd23460fa01bb77d6f942dcb
treea4df296c396ea5f94bf9cd2f4b5c2ac600eb4da9
parenta54182b2a51886597116b3097a2d2fbf9d9b1a84
tc-testing: Add control-plane selftests for sch_mq

Recently we added multi-queue support to netdevsim in commit d4861fc6be58
("netdevsim: Add multi-queue support"); add a few control-plane selftests
for sch_mq using this new feature.

Use nsPlugin.py to avoid network interface name collisions.

Reviewed-by: Cong Wang <cong.wang@bytedance.com>
Signed-off-by: Peilin Ye <peilin.ye@bytedance.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/tc-testing/tc-tests/qdiscs/mq.json [new file with mode: 0644]
tools/testing/selftests/tc-testing/tdc_config.py