Home
last modified time | relevance | path

Searched full:tc (Results 1 – 25 of 997) sorted by relevance

12345678910>>...40

/linux/tools/testing/selftests/tc-testing/tc-tests/actions/
H A Dgact.json14 "$TC actions flush action gact",
20 "cmdUnderTest": "$TC actions add action pass index 8",
22 "verifyCmd": "$TC actions list action gact",
26 "$TC actions flush action gact"
41 "$TC actions flush action gact",
47 "cmdUnderTest": "$TC actions add action pipe index 6",
49 "verifyCmd": "$TC actions list action gact",
53 "$TC actions flush action gact"
68 "$TC actions flush action gact",
74 "cmdUnderTest": "$TC actions add action reclassify index 5",
[all …]
H A Dpolice.json14 "$TC actions flush action police",
20 "cmdUnderTest": "$TC actions add action police rate 1kbit burst 10k index 1",
22 "verifyCmd": "$TC actions ls action police",
26 "$TC actions flush action police"
41 "$TC actions flush action police",
46 "$TC actions add action police rate 4Mbit burst 120k index 9"
48 "cmdUnderTest": "$TC actions add action police rate 8kbit burst 24k index 9",
50 "verifyCmd": "$TC actions ls action police",
54 "$TC actions flush action police"
69 "$TC actions flush action police",
[all …]
H A Dmpls.json14 "$TC actions flush action mpls",
20 "cmdUnderTest": "$TC actions add action mpls dec_ttl pipe index 8",
22 "verifyCmd": "$TC actions list action mpls",
26 "$TC actions flush action mpls"
41 "$TC actions flush action mpls",
47 "cmdUnderTest": "$TC actions add action mpls dec_ttl pass index 8",
49 "verifyCmd": "$TC actions get action mpls index 8",
53 "$TC actions flush action mpls"
68 "$TC actions flush action mpls",
74 "cmdUnderTest": "$TC actions add action mpls dec_ttl drop index 8",
[all …]
H A Dskbedit.json14 "$TC actions flush action skbedit",
20 "cmdUnderTest": "$TC actions add action skbedit mark 1",
22 "verifyCmd": "$TC actions list action skbedit",
26 "$TC actions flush action skbedit"
41 "$TC actions flush action skbedit",
47 "cmdUnderTest": "$TC actions add action skbedit mark 4294967295 pipe index 1",
49 "verifyCmd": "$TC actions get action skbedit index 1",
53 "$TC actions flush action skbedit"
68 "$TC actions flush action skbedit",
74 "cmdUnderTest": "$TC actions add action skbedit mark 666777888999",
[all …]
H A Dvlan.json14 "$TC actions flush action vlan",
20 "cmdUnderTest": "$TC actions add action vlan pop pipe index 8",
22 "verifyCmd": "$TC actions list action vlan",
26 "$TC actions flush action vlan"
41 "$TC actions flush action vlan",
47 "cmdUnderTest": "$TC actions add action vlan pop pass index 8",
49 "verifyCmd": "$TC actions get action vlan index 8",
53 "$TC actions flush action vlan"
68 "$TC actions flush action vlan",
74 "cmdUnderTest": "$TC actions add action vlan pop drop index 8",
[all …]
H A Dskbmod.json14 "$TC actions flush action skbmod",
20 "cmdUnderTest": "$TC actions add action skbmod set dmac 11:22:33:44:55:66 index 5",
22 "verifyCmd": "$TC actions ls action skbmod",
26 "$TC actions flush action skbmod"
41 "$TC actions flush action skbmod",
47 "cmdUnderTest": "$TC actions add action skbmod set smac 77:88:99:AA:BB:CC index 7",
49 "verifyCmd": "$TC actions get action skbmod index 7",
53 "$TC actions flush action skbmod"
68 "$TC actions flush action skbmod",
74 "cmdUnderTest": "$TC actions add action skbmod set smac 00:44:55:44:55",
[all …]
H A Dmirred.json14 "$TC actions flush action mirred",
20 "cmdUnderTest": "$TC actions add action mirred egress mirror index 1 dev lo",
22 "verifyCmd": "$TC actions list action mirred",
26 "$TC actions flush action mirred"
41 "$TC actions flush action mirred",
47 "cmdUnderTest": "$TC actions add action mirred egress redirect index 2 dev lo action pipe",
49 "verifyCmd": "$TC actions list action mirred",
53 "$TC actions flush action mirred",
54 "$TC actions flush action gact"
69 "$TC actions flush action mirred",
[all …]
H A Dpedit.json14 "$TC actions flush action pedit",
20 "cmdUnderTest": "$TC actions add action pedit ex munge ip ttl set 10",
22 "verifyCmd": "$TC actions ls action pedit",
26 "$TC actions flush action pedit"
41 "$TC actions flush action pedit",
46 "$TC actions add action pedit ex munge ip ttl set 10 pass index 90"
48 …"cmdUnderTest": "$TC actions replace action pedit ex munge ip ttl set 10 goto chain 42 index 90 co…
50 "verifyCmd": "$TC actions ls action pedit",
54 "$TC actions flush action pedit"
70 "$TC actions flush action pedit",
[all …]
H A Dsample.json14 "$TC actions flush action sample",
20 "cmdUnderTest": "$TC actions add action sample rate 10 group 1 index 2",
22 "verifyCmd": "$TC actions get action sample index 2",
26 "$TC actions flush action sample"
41 "$TC actions flush action sample",
47 "cmdUnderTest": "$TC actions add action sample rate 700 group 2 continue index 2",
49 "verifyCmd": "$TC actions get action sample index 2",
53 "$TC actions flush action sample"
68 "$TC actions flush action sample",
74 "cmdUnderTest": "$TC actions add action sample rate 10000 group 11 drop index 22",
[all …]
H A Dife.json14 "$TC actions flush action ife",
20 "cmdUnderTest": "$TC actions add action ife encode allow mark pass index 2",
22 "verifyCmd": "$TC actions get action ife index 2",
26 "$TC actions flush action ife"
41 "$TC actions flush action ife",
47 "cmdUnderTest": "$TC actions add action ife encode use mark 10 pipe index 2",
49 "verifyCmd": "$TC actions get action ife index 2",
53 "$TC actions flush action ife"
68 "$TC actions flush action ife",
74 "cmdUnderTest": "$TC actions add action ife encode allow mark continue index 2",
[all …]
H A Dcsum.json14 "$TC actions flush action csum",
20 "cmdUnderTest": "$TC actions add action csum iph index 800",
22 "verifyCmd": "$TC actions get action csum index 800",
26 "$TC actions flush action csum"
41 "$TC actions flush action csum",
47 "cmdUnderTest": "$TC actions add action csum ip4h index 7",
49 "verifyCmd": "$TC actions get action csum index 7",
53 "$TC actions flush action csum"
68 "$TC actions flush action csum",
74 "cmdUnderTest": "$TC actions add action csum ipv4h index 1122",
[all …]
H A Dtunnel_key.json14 "$TC actions flush action tunnel_key",
20 … "cmdUnderTest": "$TC actions add action tunnel_key set src_ip 10.10.10.1 dst_ip 20.20.20.2 id 1",
22 "verifyCmd": "$TC actions list action tunnel_key",
26 "$TC actions flush action tunnel_key"
41 "$TC actions flush action tunnel_key",
47 "cmdUnderTest": "$TC actions add action tunnel_key set dst_ip 20.20.20.2 id 100",
49 "verifyCmd": "$TC actions list action tunnel_key",
54 "$TC actions flush action tunnel_key",
73 "$TC actions flush action tunnel_key",
79 "cmdUnderTest": "$TC actions add action tunnel_key set src_ip 10.10.10.1 id 100",
[all …]
H A Dnat.json14 "$TC actions flush action nat",
20 "cmdUnderTest": "$TC actions add action nat ingress 192.168.1.1 200.200.200.1",
22 "verifyCmd": "$TC actions ls action nat",
26 "$TC actions flush action nat"
41 "$TC actions flush action nat",
47 "cmdUnderTest": "$TC actions add action nat ingress 1.1.1.1 2.2.2.1 pipe index 77",
49 "verifyCmd": "$TC actions get action nat index 77",
53 "$TC actions flush action nat"
68 "$TC actions flush action nat",
74 …"cmdUnderTest": "$TC actions add action nat ingress 192.168.10.10 192.168.20.20 continue index 100…
[all …]
H A Dctinfo.json14 "$TC action flush action ctinfo",
20 "cmdUnderTest": "$TC action add action ctinfo index 10",
22 "verifyCmd": "$TC action get action ctinfo index 10",
26 "$TC action flush action ctinfo"
41 "$TC actions flush action ctinfo",
47 "cmdUnderTest": "$TC action add action ctinfo dscp 0xfc000000 0x01000000 index 100",
49 "verifyCmd": "$TC action ls action ctinfo",
53 "$TC actions flush action ctinfo"
68 "$TC action flush action ctinfo",
74 "cmdUnderTest": "$TC action add action ctinfo cpmark 0x01000000 zone 1 index 1",
[all …]
H A Dconnmark.json14 "$TC actions flush action connmark",
20 "cmdUnderTest": "$TC actions add action connmark",
22 "verifyCmd": "$TC actions list action connmark",
26 "$TC actions flush action connmark"
41 "$TC actions flush action connmark",
47 "cmdUnderTest": "$TC actions add action connmark pass index 1",
49 "verifyCmd": "$TC actions get action connmark index 1",
53 "$TC actions flush action connmark"
68 "$TC actions flush action connmark",
74 "cmdUnderTest": "$TC actions add action connmark drop index 100",
[all …]
H A Dsimple.json14 "$TC actions flush action simple",
20 "cmdUnderTest": "$TC actions add action simple sdata \"A triumph\" index 60",
22 "verifyCmd": "$TC actions list action simple",
26 "$TC actions flush action simple"
41 "$TC actions flush action simple",
47 "cmdUnderTest": "$TC actions change action simple sdata \"Not changed\" index 60",
49 "verifyCmd": "$TC actions list action simple",
53 "$TC actions flush action simple"
68 "$TC actions flush action simple",
73 "$TC actions add action simple sdata \"Aruba\" index 4"
[all …]
H A Dgate.json14 "$TC action flush action gate",
20 … "cmdUnderTest": "$TC action add action gate priority 1 sched-entry close 100000000ns index 100",
22 "verifyCmd": "$TC action get action gate index 100",
26 "$TC action flush action gate"
41 "$TC actions flush action gate",
47 …"cmdUnderTest": "$TC action add action gate base-time 200000000000ns sched-entry close 100000000ns…
49 "verifyCmd": "$TC action ls action gate",
53 "$TC actions flush action gate"
68 "$TC action flush action gate",
74 …"cmdUnderTest": "$TC action add action gate cycle-time 200000000000ns sched-entry close 100000000n…
[all …]
/linux/tools/testing/selftests/tc-testing/tc-tests/filters/
H A Dfw.json13 "$TC qdisc add dev $DEV1 ingress"
15 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65535 fw action ok",
17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65535 protocol all fw",
21 "$TC qdisc del dev $DEV1 ingress"
35 "$TC qdisc add dev $DEV1 ingress"
37 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65536 fw action ok",
39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65536 protocol all fw",
43 "$TC qdisc del dev $DEV1 ingress"
57 "$TC qdisc add dev $DEV1 ingress"
59 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action ok",
[all …]
H A Dmatchall.json13 "$TC qdisc add dev $DUMMY ingress"
15 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act…
17 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall",
21 "$TC qdisc del dev $DUMMY ingress"
35 "$TC qdisc add dev $DUMMY root handle 1: prio"
37 …"cmdUnderTest": "$TC filter add dev $DUMMY parent 1: handle 0x1 prio 1 protocol ip matchall action…
39 "verifyCmd": "$TC filter get dev $DUMMY parent 1: handle 1 prio 1 protocol ip matchall",
43 "$TC qdisc del dev $DUMMY root handle 1: prio"
57 "$TC qdisc add dev $DUMMY ingress"
59 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ipv6 matchall a…
[all …]
H A Du32.json13 "$TC qdisc add dev $DEV1 ingress"
15 …"cmdUnderTest": "$TC filter add dev $DEV1 ingress protocol ip prio 1 u32 match ip src 127.0.0.1/32…
17 "verifyCmd": "$TC filter show dev $DEV1 ingress",
21 "$TC qdisc del dev $DEV1 ingress"
35 "$TC qdisc add dev $DEV1 ingress"
37 …"cmdUnderTest": "$TC filter replace dev $DEV1 ingress protocol ip prio 1 u32 match ip src 127.0.0.…
39 "verifyCmd": "$TC filter show dev $DEV1 ingress",
43 "$TC qdisc del dev $DEV1 ingress"
57 "$TC qdisc add dev $DEV1 ingress",
58 …"$TC filter add dev $DEV1 ingress protocol ip prio 1 u32 match ip src 127.0.0.3/32 flowid 1:3 acti…
[all …]
H A Dflow.json13 "$TC qdisc add dev $DEV1 ingress"
15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key ds…
17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 1 flow",
21 "$TC qdisc del dev $DEV1 ingress"
35 "$TC qdisc add dev $DEV1 ingress"
37 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key ds…
39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 1 flow",
43 "$TC qdisc del dev $DEV1 ingress"
57 "$TC qdisc add dev $DEV1 ingress"
59 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key ds…
[all …]
/linux/drivers/ntb/test/
H A Dntb_tool.c208 struct tool_ctx *tc; member
233 struct tool_ctx *tc; member
239 struct tool_ctx *tc; member
244 struct tool_ctx *tc; member
291 struct tool_ctx *tc = ctx; in tool_link_event() local
296 up = ntb_link_is_up(tc->ntb, &speed, &width); in tool_link_event()
298 dev_dbg(&tc->ntb->dev, "link is %s speed %d width %d\n", in tool_link_event()
301 wake_up(&tc->link_wq); in tool_link_event()
306 struct tool_ctx *tc = ctx; in tool_db_event() local
309 db_mask = ntb_db_vector_mask(tc->ntb, vec); in tool_db_event()
[all …]
/linux/tools/testing/selftests/tc-testing/tc-tests/infra/
H A Dqdiscs.json14 "$TC qdisc add dev $DUMMY root handle 1: drr",
15 "$TC filter add dev $DUMMY parent 1: basic classid 1:1",
16 "$TC class add dev $DUMMY parent 1: classid 1:1 drr",
17 "$TC qdisc add dev $DUMMY parent 1:1 handle ffff: drr",
18 "$TC filter add dev $DUMMY parent ffff: basic classid ffff:1",
19 "$TC class add dev $DUMMY parent ffff: classid ffff:1 drr",
20 "$TC qdisc add dev $DUMMY parent ffff:1 netem delay 1s",
22 "$TC class del dev $DUMMY classid ffff:1",
23 "$TC class add dev $DUMMY parent ffff: classid ffff:1 drr"
27 "verifyCmd": "$TC -s qdisc ls dev $DUMMY",
[all …]
H A Dactions.json13 "$TC qdisc add dev $DUMMY ingress",
14 "$TC action add action pedit munge offset 0 u8 clear index 1"
16 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act…
18 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall",
22 "$TC qdisc del dev $DUMMY ingress"
36 "$TC qdisc add dev $DUMMY ingress",
37 "$TC action add action mpls pop protocol ipv4 index 1"
39 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act…
41 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall",
45 "$TC qdisc del dev $DUMMY ingress"
[all …]
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dtc_restrictions.sh44 tc qdisc add dev $swp1 ingress_block 22 clsact
47 tc filter add block 22 protocol ip pref 1 handle 101 flower \
51 tc qdisc add dev $swp2 ingress_block 22 clsact
54 tc qdisc del dev $swp2 clsact
56 tc qdisc add dev $swp2 egress_block 22 clsact
59 tc filter del block 22 protocol ip pref 1 handle 101 flower
61 tc qdisc add dev $swp2 egress_block 22 clsact
64 tc filter add block 22 protocol ip pref 1 handle 101 flower \
68 tc qdisc del dev $swp1 clsact
70 tc qdisc add dev $swp1 egress_block 22 clsact
[all …]

12345678910>>...40