4 "name": "Add u32 with source match",
10 "$TC qdisc add dev $DEV1 ingress"
12 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: protocol ip prio 1 u32 match ip src 127.0.0.1/32 flowid 1:1 action ok",
14 "verifyCmd": "$TC filter show dev $DEV1 parent ffff:",
15 "matchPattern": "match 7f000002/ffffffff at 12",
18 "$TC qdisc del dev $DEV1 ingress"
23 "name": "Add 1M filters with the same action",
29 "$TC qdisc add dev $DEV2 ingress",
30 "./tdc_batch.py $DEV2 $BATCH_FILE --share_action -n 1000000"
32 "cmdUnderTest": "$TC -b $BATCH_FILE",
34 "verifyCmd": "$TC actions list action gact",
35 "matchPattern": "action order 0: gact action drop.*index 1 ref 1000000 bind 1000000",
38 "$TC qdisc del dev $DEV2 ingress",