On Tue, Aug 3, 2021 at 3:17 PM Peilin Ye yepeilin.cs@gmail.com wrote:
"setup": ["echo \"1 1 4\" > /sys/bus/netdevsim/new_device"],"cmdUnderTest": "$TC qdisc add dev $ETH root handle 1: mq","expExitCode": "0","verifyCmd": "$TC qdisc show dev $ETH","matchPattern": "qdisc pfifo_fast 0: parent 1:[1-4] bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1","matchCount": "4","teardown": ["echo \"1\" > /sys/bus/netdevsim/del_device"]},
Like I mentioned to Peilin, I am _not_ sure whether it is better to create netdevsim device in such a way. Maybe we need to create it before these tests and pass it via cmdline?? Lucas?
Thanks.