| /kernel/linux/linux-6.6/tools/testing/selftests/tc-testing/tc-tests/actions/ |
| D | ctinfo.json | 4 "name": "Add ctinfo action with default setting", 11 "$TC action flush action ctinfo", 17 "cmdUnderTest": "$TC action add action ctinfo index 10", 19 "verifyCmd": "$TC action get action ctinfo index 10", 20 "matchPattern": "action order [0-9]*: ctinfo zone 0 pipe.*index 10 ref", 23 "$TC action flush action ctinfo" 28 "name": "Add ctinfo action with dscp", 35 "$TC actions flush action ctinfo", 41 "cmdUnderTest": "$TC action add action ctinfo dscp 0xfc000000 0x01000000 index 100", 43 "verifyCmd": "$TC action ls action ctinfo", [all …]
|
| D | bpf.json | 4 "name": "Add cBPF action with valid bytecode", 11 "$TC action flush action bpf", 17 …"cmdUnderTest": "$TC action add action bpf bytecode '4,40 0 0 12,21 0 1 2048,6 0 0 262144,6 0 0 0'… 19 "verifyCmd": "$TC action get action bpf index 100", 20 …"matchPattern": "action order [0-9]*: bpf bytecode '4,40 0 0 12,21 0 1 2048,6 0 0 262144,6 0 0 0' … 23 "$TC action flush action bpf" 28 "name": "Add cBPF action with invalid bytecode", 35 "$TC actions flush action bpf", 41 …"cmdUnderTest": "$TC action add action bpf bytecode '4,40 0 0 12,31 0 1 2048,6 0 0 262144,6 0 0 0'… 43 "verifyCmd": "$TC action get action bpf index 100", [all …]
|
| D | gate.json | 4 "name": "Add gate action with priority and sched-entry", 11 "$TC action flush action gate", 17 … "cmdUnderTest": "$TC action add action gate priority 1 sched-entry close 100000000ns index 100", 19 "verifyCmd": "$TC action get action gate index 100", 20 "matchPattern": "action order [0-9]*: .*priority 1.*index 100 ref", 23 "$TC action flush action gate" 28 "name": "Add gate action with base-time", 35 "$TC actions flush action gate", 41 …"cmdUnderTest": "$TC action add action gate base-time 200000000000ns sched-entry close 100000000ns… 43 "verifyCmd": "$TC action ls action gate", [all …]
|
| D | ife.json | 4 "name": "Create valid ife encode action with mark and pass control", 11 "$TC actions flush action ife", 17 "cmdUnderTest": "$TC actions add action ife encode allow mark pass index 2", 19 "verifyCmd": "$TC actions get action ife index 2", 20 …"matchPattern": "action order [0-9]*: ife encode action pass.*type 0[xX]ED3E.*allow mark.*index 2", 23 "$TC actions flush action ife" 28 "name": "Create valid ife encode action with mark and pipe control", 35 "$TC actions flush action ife", 41 "cmdUnderTest": "$TC actions add action ife encode use mark 10 pipe index 2", 43 "verifyCmd": "$TC actions get action ife index 2", [all …]
|
| D | gact.json | 4 "name": "Add valid pass action", 11 "$TC actions flush action gact", 17 "cmdUnderTest": "$TC actions add action pass index 8", 19 "verifyCmd": "$TC actions list action gact", 20 "matchPattern": "action order [0-9]*: gact action pass.*index 8 ref", 23 "$TC actions flush action gact" 28 "name": "Add valid pipe action", 35 "$TC actions flush action gact", 41 "cmdUnderTest": "$TC actions add action pipe index 6", 43 "verifyCmd": "$TC actions list action gact", [all …]
|
| D | police.json | 4 "name": "Add valid basic police action", 11 "$TC actions flush action police", 17 "cmdUnderTest": "$TC actions add action police rate 1kbit burst 10k index 1", 19 "verifyCmd": "$TC actions ls action police", 20 "matchPattern": "action order [0-9]*: police 0x1 rate 1Kbit burst 10Kb", 23 "$TC actions flush action police" 28 "name": "Add police action with duplicate index", 35 "$TC actions flush action police", 40 "$TC actions add action police rate 4Mbit burst 120k index 9" 42 "cmdUnderTest": "$TC actions add action police rate 8kbit burst 24k index 9", [all …]
|
| D | skbedit.json | 4 "name": "Add skbedit action with valid mark", 11 "$TC actions flush action skbedit", 17 "cmdUnderTest": "$TC actions add action skbedit mark 1", 19 "verifyCmd": "$TC actions list action skbedit", 20 "matchPattern": "action order [0-9]*: skbedit mark 1", 23 "$TC actions flush action skbedit" 28 "name": "Add skbedit action with 32-bit maximum mark", 35 "$TC actions flush action skbedit", 41 "cmdUnderTest": "$TC actions add action skbedit mark 4294967295 pipe index 1", 43 "verifyCmd": "$TC actions get action skbedit index 1", [all …]
|
| D | mpls.json | 4 "name": "Add MPLS dec_ttl action with pipe opcode", 11 "$TC actions flush action mpls", 17 "cmdUnderTest": "$TC actions add action mpls dec_ttl pipe index 8", 19 "verifyCmd": "$TC actions list action mpls", 20 "matchPattern": "action order [0-9]+: mpls.*dec_ttl.*pipe.*index 8 ref", 23 "$TC actions flush action mpls" 28 "name": "Add mpls dec_ttl action with pass opcode", 35 "$TC actions flush action mpls", 41 "cmdUnderTest": "$TC actions add action mpls dec_ttl pass index 8", 43 "verifyCmd": "$TC actions get action mpls index 8", [all …]
|
| D | xt.json | 4 "name": "Add xt action with log-prefix", 11 "$TC actions flush action xt", 17 "cmdUnderTest": "$TC action add action xt -j LOG --log-prefix PONG index 100", 19 "verifyCmd": "$TC action ls action xt", 20 … "matchPattern": "action order [0-9]*:.*target LOG level warning prefix \"PONG\".*index 100 ref", 23 "$TC actions flush action xt" 28 "name": "Replace xt action log-prefix", 35 "$TC actions flush action xt", 41 "$TC action add action xt -j LOG --log-prefix PONG index 1", 47 "cmdUnderTest": "$TC action replace action xt -j LOG --log-prefix WIN index 1", [all …]
|
| D | sample.json | 4 "name": "Add valid sample action with mandatory arguments", 11 "$TC actions flush action sample", 17 "cmdUnderTest": "$TC actions add action sample rate 10 group 1 index 2", 19 "verifyCmd": "$TC actions get action sample index 2", 20 "matchPattern": "action order [0-9]+: sample rate 1/10 group 1.*index 2 ref", 23 "$TC actions flush action sample" 28 "name": "Add valid sample action with mandatory arguments and continue control action", 35 "$TC actions flush action sample", 41 "cmdUnderTest": "$TC actions add action sample rate 700 group 2 continue index 2", 43 "verifyCmd": "$TC actions get action sample index 2", [all …]
|
| D | nat.json | 4 "name": "Add nat action on ingress with default control action", 11 "$TC actions flush action nat", 17 "cmdUnderTest": "$TC actions add action nat ingress 192.168.1.1 200.200.200.1", 19 "verifyCmd": "$TC actions ls action nat", 20 "matchPattern": "action order [0-9]+: nat ingress 192.168.1.1/32 200.200.200.1 pass", 23 "$TC actions flush action nat" 28 "name": "Add nat action on ingress with pipe control action", 35 "$TC actions flush action nat", 41 "cmdUnderTest": "$TC actions add action nat ingress 1.1.1.1 2.2.2.1 pipe index 77", 43 "verifyCmd": "$TC actions get action nat index 77", [all …]
|
| D | csum.json | 4 "name": "Add csum iph action", 11 "$TC actions flush action csum", 17 "cmdUnderTest": "$TC actions add action csum iph index 800", 19 "verifyCmd": "$TC actions get action csum index 800", 20 "matchPattern": "action order [0-9]*: csum \\(iph\\) action pass.*index 800 ref", 23 "$TC actions flush action csum" 28 "name": "Add csum ip4h action", 35 "$TC actions flush action csum", 41 "cmdUnderTest": "$TC actions add action csum ip4h index 7", 43 "verifyCmd": "$TC actions get action csum index 7", [all …]
|
| D | pedit.json | 4 "name": "Add pedit action that mangles IP TTL", 11 "$TC actions flush action pedit", 17 "cmdUnderTest": "$TC actions add action pedit ex munge ip ttl set 10", 19 "verifyCmd": "$TC actions ls action pedit", 20 …"matchPattern": "action order [0-9]+: pedit action pass keys 1.*index 1 ref.*key #0 at ipv4\\+8:… 23 "$TC actions flush action pedit" 28 "name": "Replace pedit action with invalid goto chain", 35 "$TC actions flush action pedit", 40 "$TC actions add action pedit ex munge ip ttl set 10 pass index 90" 42 …"cmdUnderTest": "$TC actions replace action pedit ex munge ip ttl set 10 goto chain 42 index 90 co… [all …]
|
| D | vlan.json | 4 "name": "Add vlan pop action with pipe opcode", 11 "$TC actions flush action vlan", 17 "cmdUnderTest": "$TC actions add action vlan pop pipe index 8", 19 "verifyCmd": "$TC actions list action vlan", 20 "matchPattern": "action order [0-9]+: vlan.*pop.*pipe.*index 8 ref", 23 "$TC actions flush action vlan" 28 "name": "Add vlan pop action with pass opcode", 35 "$TC actions flush action vlan", 41 "cmdUnderTest": "$TC actions add action vlan pop pass index 8", 43 "verifyCmd": "$TC actions get action vlan index 8", [all …]
|
| D | skbmod.json | 4 "name": "Add skbmod action to set destination mac", 11 "$TC actions flush action skbmod", 17 "cmdUnderTest": "$TC actions add action skbmod set dmac 11:22:33:44:55:66 index 5", 19 "verifyCmd": "$TC actions ls action skbmod", 20 "matchPattern": "action order [0-9]*: skbmod pipe set dmac 11:22:33:44:55:66\\s+index 5", 23 "$TC actions flush action skbmod" 28 "name": "Add skbmod action to set source mac", 35 "$TC actions flush action skbmod", 41 "cmdUnderTest": "$TC actions add action skbmod set smac 77:88:99:AA:BB:CC index 7", 43 "verifyCmd": "$TC actions get action skbmod index 7", [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/tc-tests/actions/ |
| D | bpf.json | 4 "name": "Add cBPF action with valid bytecode", 11 "$TC action flush action bpf", 17 …"cmdUnderTest": "$TC action add action bpf bytecode '4,40 0 0 12,21 0 1 2048,6 0 0 262144,6 0 0 0'… 19 "verifyCmd": "$TC action get action bpf index 100", 20 …"matchPattern": "action order [0-9]*: bpf bytecode '4,40 0 0 12,21 0 1 2048,6 0 0 262144,6 0 0 0' … 23 "$TC action flush action bpf" 28 "name": "Add cBPF action with invalid bytecode", 35 "$TC actions flush action bpf", 41 …"cmdUnderTest": "$TC action add action bpf bytecode '4,40 0 0 12,31 0 1 2048,6 0 0 262144,6 0 0 0'… 43 "verifyCmd": "$TC action get action bpf index 100", [all …]
|
| D | gact.json | 4 "name": "Add valid pass action", 11 "$TC actions flush action gact", 17 "cmdUnderTest": "$TC actions add action pass index 8", 19 "verifyCmd": "$TC actions list action gact", 20 "matchPattern": "action order [0-9]*: gact action pass.*index 8 ref", 23 "$TC actions flush action gact" 28 "name": "Add valid pipe action", 35 "$TC actions flush action gact", 41 "cmdUnderTest": "$TC actions add action pipe index 6", 43 "verifyCmd": "$TC actions list action gact", [all …]
|
| D | ife.json | 4 "name": "Create valid ife encode action with mark and pass control", 11 "$TC actions flush action ife", 17 "cmdUnderTest": "$TC actions add action ife encode allow mark pass index 2", 19 "verifyCmd": "$TC actions get action ife index 2", 20 …"matchPattern": "action order [0-9]*: ife encode action pass.*type 0[xX]ED3E.*allow mark.*index 2", 23 "$TC actions flush action ife" 28 "name": "Create valid ife encode action with mark and pipe control", 35 "$TC actions flush action ife", 41 "cmdUnderTest": "$TC actions add action ife encode use mark 10 pipe index 2", 43 "verifyCmd": "$TC actions get action ife index 2", [all …]
|
| D | police.json | 4 "name": "Add valid basic police action", 11 "$TC actions flush action police", 17 "cmdUnderTest": "$TC actions add action police rate 1kbit burst 10k index 1", 19 "verifyCmd": "$TC actions ls action police", 20 "matchPattern": "action order [0-9]*: police 0x1 rate 1Kbit burst 10Kb", 23 "$TC actions flush action police" 28 "name": "Add police action with duplicate index", 35 "$TC actions flush action police", 40 "$TC actions add action police rate 4Mbit burst 120k index 9" 42 "cmdUnderTest": "$TC actions add action police rate 8kbit burst 24k index 9", [all …]
|
| D | skbedit.json | 4 "name": "Add skbedit action with valid mark", 11 "$TC actions flush action skbedit", 17 "cmdUnderTest": "$TC actions add action skbedit mark 1", 19 "verifyCmd": "$TC actions list action skbedit", 20 "matchPattern": "action order [0-9]*: skbedit mark 1", 23 "$TC actions flush action skbedit" 28 "name": "Add skbedit action with 32-bit maximum mark", 35 "$TC actions flush action skbedit", 41 "cmdUnderTest": "$TC actions add action skbedit mark 4294967295 pipe index 1", 43 "verifyCmd": "$TC actions get action skbedit index 1", [all …]
|
| D | mpls.json | 4 "name": "Add MPLS dec_ttl action with pipe opcode", 11 "$TC actions flush action mpls", 17 "cmdUnderTest": "$TC actions add action mpls dec_ttl pipe index 8", 19 "verifyCmd": "$TC actions list action mpls", 20 "matchPattern": "action order [0-9]+: mpls.*dec_ttl.*pipe.*index 8 ref", 23 "$TC actions flush action mpls" 28 "name": "Add mpls dec_ttl action with pass opcode", 35 "$TC actions flush action mpls", 41 "cmdUnderTest": "$TC actions add action mpls dec_ttl pass index 8", 43 "verifyCmd": "$TC actions get action mpls index 8", [all …]
|
| D | sample.json | 4 "name": "Add valid sample action with mandatory arguments", 11 "$TC actions flush action sample", 17 "cmdUnderTest": "$TC actions add action sample rate 10 group 1 index 2", 19 "verifyCmd": "$TC actions get action sample index 2", 20 "matchPattern": "action order [0-9]+: sample rate 1/10 group 1.*index 2 ref", 23 "$TC actions flush action sample" 28 "name": "Add valid sample action with mandatory arguments and continue control action", 35 "$TC actions flush action sample", 41 "cmdUnderTest": "$TC actions add action sample rate 700 group 2 continue index 2", 43 "verifyCmd": "$TC actions get action sample index 2", [all …]
|
| D | nat.json | 4 "name": "Add nat action on ingress with default control action", 11 "$TC actions flush action nat", 17 "cmdUnderTest": "$TC actions add action nat ingress 192.168.1.1 200.200.200.1", 19 "verifyCmd": "$TC actions ls action nat", 20 "matchPattern": "action order [0-9]+: nat ingress 192.168.1.1/32 200.200.200.1 pass", 23 "$TC actions flush action nat" 28 "name": "Add nat action on ingress with pipe control action", 35 "$TC actions flush action nat", 41 "cmdUnderTest": "$TC actions add action nat ingress 1.1.1.1 2.2.2.1 pipe index 77", 43 "verifyCmd": "$TC actions get action nat index 77", [all …]
|
| D | csum.json | 4 "name": "Add csum iph action", 11 "$TC actions flush action csum", 17 "cmdUnderTest": "$TC actions add action csum iph index 800", 19 "verifyCmd": "$TC actions get action csum index 800", 20 "matchPattern": "action order [0-9]*: csum \\(iph\\) action pass.*index 800 ref", 23 "$TC actions flush action csum" 28 "name": "Add csum ip4h action", 35 "$TC actions flush action csum", 41 "cmdUnderTest": "$TC actions add action csum ip4h index 7", 43 "verifyCmd": "$TC actions get action csum index 7", [all …]
|
| D | pedit.json | 4 "name": "Add pedit action that mangles IP TTL", 11 "$TC actions flush action pedit", 17 "cmdUnderTest": "$TC actions add action pedit ex munge ip ttl set 10", 19 "verifyCmd": "$TC actions ls action pedit", 20 …"matchPattern": "action order [0-9]+: pedit action pass keys 1.*index 1 ref.*key #0 at ipv4\\+8:… 23 "$TC actions flush action pedit" 28 "name": "Replace pedit action with invalid goto chain", 35 "$TC actions flush action pedit", 40 "$TC actions add action pedit ex munge ip ttl set 10 pass index 90" 42 …"cmdUnderTest": "$TC actions replace action pedit ex munge ip ttl set 10 goto chain 42 index 90 co… [all …]
|