/linux-6.14.4/tools/testing/selftests/tc-testing/tc-tests/actions/ |
D | ctinfo.json | 4 "name": "Add ctinfo action with default setting", 14 "$TC action flush action ctinfo", 20 "cmdUnderTest": "$TC action add action ctinfo index 10", 22 "verifyCmd": "$TC action get action ctinfo index 10", 23 "matchPattern": "action order [0-9]*: ctinfo zone 0 pipe.*index 10 ref", 26 "$TC action flush action ctinfo" 31 "name": "Add ctinfo action with dscp", 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", [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", 14 "$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", 23 "matchPattern": "action order [0-9]*: .*priority 1.*index 100 ref", 26 "$TC action flush action gate" 31 "name": "Add gate action with base-time", 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", [all …]
|
D | gact.json | 4 "name": "Add valid pass action", 14 "$TC actions flush action gact", 20 "cmdUnderTest": "$TC actions add action pass index 8", 22 "verifyCmd": "$TC actions list action gact", 23 "matchPattern": "action order [0-9]*: gact action pass.*index 8 ref", 26 "$TC actions flush action gact" 31 "name": "Add valid pipe action", 41 "$TC actions flush action gact", 47 "cmdUnderTest": "$TC actions add action pipe index 6", 49 "verifyCmd": "$TC actions list action gact", [all …]
|
D | police.json | 4 "name": "Add valid basic police action", 14 "$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", 23 "matchPattern": "action order [0-9]*: police 0x1 rate 1Kbit burst 10Kb", 26 "$TC actions flush action police" 31 "name": "Add police action with duplicate index", 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", [all …]
|
D | ife.json | 4 "name": "Create valid ife encode action with mark and pass control", 14 "$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", 23 …"matchPattern": "action order [0-9]*: ife encode action pass.*type 0[xX]ED3E.*allow mark.*index 2", 26 "$TC actions flush action ife" 31 "name": "Create valid ife encode action with mark and pipe control", 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", [all …]
|
D | skbedit.json | 4 "name": "Add skbedit action with valid mark", 14 "$TC actions flush action skbedit", 20 "cmdUnderTest": "$TC actions add action skbedit mark 1", 22 "verifyCmd": "$TC actions list action skbedit", 23 "matchPattern": "action order [0-9]*: skbedit mark 1", 26 "$TC actions flush action skbedit" 31 "name": "Add skbedit action with 32-bit maximum mark", 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", [all …]
|
D | mpls.json | 4 "name": "Add MPLS dec_ttl action with pipe opcode", 14 "$TC actions flush action mpls", 20 "cmdUnderTest": "$TC actions add action mpls dec_ttl pipe index 8", 22 "verifyCmd": "$TC actions list action mpls", 23 "matchPattern": "action order [0-9]+: mpls.*dec_ttl.*pipe.*index 8 ref", 26 "$TC actions flush action mpls" 31 "name": "Add mpls dec_ttl action with pass opcode", 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", [all …]
|
D | csum.json | 4 "name": "Add csum iph action", 14 "$TC actions flush action csum", 20 "cmdUnderTest": "$TC actions add action csum iph index 800", 22 "verifyCmd": "$TC actions get action csum index 800", 23 "matchPattern": "action order [0-9]*: csum \\(iph\\) action pass.*index 800 ref", 26 "$TC actions flush action csum" 31 "name": "Add csum ip4h action", 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", [all …]
|
D | vlan.json | 4 "name": "Add vlan pop action with pipe opcode", 14 "$TC actions flush action vlan", 20 "cmdUnderTest": "$TC actions add action vlan pop pipe index 8", 22 "verifyCmd": "$TC actions list action vlan", 23 "matchPattern": "action order [0-9]+: vlan.*pop.*pipe.*index 8 ref", 26 "$TC actions flush action vlan" 31 "name": "Add vlan pop action with pass opcode", 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", [all …]
|
D | sample.json | 4 "name": "Add valid sample action with mandatory arguments", 14 "$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", 23 "matchPattern": "action order [0-9]+: sample rate 1/10 group 1.*index 2 ref", 26 "$TC actions flush action sample" 31 "name": "Add valid sample action with mandatory arguments and continue control action", 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", [all …]
|
D | nat.json | 4 "name": "Add nat action on ingress with default control action", 14 "$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", 23 "matchPattern": "action order [0-9]+: nat ingress 192.168.1.1/32 200.200.200.1 pass", 26 "$TC actions flush action nat" 31 "name": "Add nat action on ingress with pipe control action", 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", [all …]
|
D | skbmod.json | 4 "name": "Add skbmod action to set destination mac", 14 "$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", 23 "matchPattern": "action order [0-9]*: skbmod pipe set dmac 11:22:33:44:55:66\\s+index 5", 26 "$TC actions flush action skbmod" 31 "name": "Add skbmod action to set source mac", 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", [all …]
|
D | pedit.json | 4 "name": "Add pedit action that mangles IP TTL", 14 "$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", 23 …"matchPattern": "action order [0-9]+: pedit action pass keys 1.*index 1 ref.*key #0 at ipv4\\+8:… 26 "$TC actions flush action pedit" 31 "name": "Replace pedit action with invalid goto chain", 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… [all …]
|
D | tunnel_key.json | 4 "name": "Add tunnel_key set action with mandatory parameters", 14 "$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", 23 …"matchPattern": "action order [0-9]+: tunnel_key.*set.*src_ip 10.10.10.1.*dst_ip 20.20.20.2.*key_i… 26 "$TC actions flush action tunnel_key" 31 "name": "Add tunnel_key set action with missing mandatory src_ip parameter", 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", [all …]
|
D | connmark.json | 4 "name": "Add valid connmark action with defaults", 14 "$TC actions flush action connmark", 20 "cmdUnderTest": "$TC actions add action connmark", 22 "verifyCmd": "$TC actions list action connmark", 23 "matchPattern": "action order [0-9]+: connmark zone 0 pipe", 26 "$TC actions flush action connmark" 31 "name": "Add valid connmark action with control pass", 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", [all …]
|
D | mirred.json | 4 "name": "Add mirred mirror to egress action", 14 "$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", 23 "matchPattern": "action order [0-9]*: mirred \\(Egress Mirror to device lo\\).*index 1 ref", 26 "$TC actions flush action mirred" 31 "name": "Add mirred redirect to egress action", 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", [all …]
|
D | simple.json | 4 "name": "Add simple action", 14 "$TC actions flush action simple", 20 "cmdUnderTest": "$TC actions add action simple sdata \"A triumph\" index 60", 22 "verifyCmd": "$TC actions list action simple", 23 "matchPattern": "action order [0-9]*: Simple <A triumph>.*index 60 ref", 26 "$TC actions flush action simple" 31 "name": "Add simple action with change command", 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", [all …]
|
D | ct.json | 4 "name": "Add simple ct action", 14 "$TC actions flush action ct", 20 "cmdUnderTest": "$TC actions add action ct index 42", 22 "verifyCmd": "$TC actions list action ct", 23 "matchPattern": "action order [0-9]*: ct zone 0 pipe.*index 42 ref", 26 "$TC actions flush action ct" 31 "name": "Add simple ct action with cookie", 41 "$TC actions flush action ct", 47 "cmdUnderTest": "$TC actions add action ct index 42 cookie deadbeef", 49 "verifyCmd": "$TC actions list action ct", [all …]
|
/linux-6.14.4/drivers/md/dm-vdo/ |
D | action-manager.c | 6 #include "action-manager.h" 18 * struct action - An action to be performed in each of a set of zones. 20 * @operation: The admin operation associated with this action. 21 * @preamble: The method to run on the initiator thread before the action is applied to each zone. 22 * @zone_action: The action to be performed in each zone. 23 * @conclusion: The method to run on the initiator thread after the action is applied to each zone. 24 * @parent: The object to notify when the action is complete. 25 * @context: The action specific context. 26 * @next: The action to perform after this one. 28 struct action { struct [all …]
|
/linux-6.14.4/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
D | dr_action.c | 584 /* Check action state machine is valid */ in dr_action_validate_and_get_next_state() 650 /* Ignore the modify TTL action. in dr_action_modify_ttl_adjust() 651 * It is always kept as last HW action. in dr_action_modify_ttl_adjust() 781 struct mlx5dr_action *action; in mlx5dr_actions_build_ste_arr() local 785 action = actions[i]; in mlx5dr_actions_build_ste_arr() 786 action_type = action->action_type; in mlx5dr_actions_build_ste_arr() 794 dest_action = action; in mlx5dr_actions_build_ste_arr() 795 ret = dr_action_get_dest_tbl_addr(matcher, action->dest_tbl, in mlx5dr_actions_build_ste_arr() 802 action->range->hit_tbl_action->dest_tbl, in mlx5dr_actions_build_ste_arr() 808 action->range->miss_tbl_action->dest_tbl, in mlx5dr_actions_build_ste_arr() [all …]
|
/linux-6.14.4/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
D | action.c | 11 /* This is the longest supported action sequence for FDB table: 70 enum mlx5hws_action_type mlx5hws_action_get_type(struct mlx5hws_action *action) in mlx5hws_action_get_type() argument 72 return action->type; in mlx5hws_action_get_type() 139 static int hws_action_get_shared_stc(struct mlx5hws_action *action, in hws_action_get_shared_stc() argument 142 struct mlx5hws_context *ctx = action->ctx; in hws_action_get_shared_stc() 150 if (unlikely(!(action->flags & MLX5HWS_ACTION_FLAG_HWS_FDB))) { in hws_action_get_shared_stc() 151 pr_warn("HWS: Invalid action->flags: %d\n", action->flags); in hws_action_get_shared_stc() 166 static void hws_action_put_shared_stc(struct mlx5hws_action *action, in hws_action_put_shared_stc() argument 171 struct mlx5hws_context *ctx = action->ctx; in hws_action_put_shared_stc() 218 /* User action order validated move to next user action */ in mlx5hws_action_check_combo() [all …]
|
/linux-6.14.4/security/ipe/ |
D | policy_tests.c | 20 "DEFAULT action=ALLOW", 26 "DEFAULT action=ALLOW", 32 "DEFAULT action=ALLOW\n" 39 "DEFAULT action=ALLOW\n" 47 " \t DEFAULT \t op=EXECUTE action=DENY\n" 48 "op=EXECUTE boot_verified=TRUE action=ALLOW\n" 50 "DEFAULT \t op=KMODULE\t\t\t action=DENY\r\n" 51 "op=KMODULE boot_verified=TRUE action=ALLOW\n", 63 "DEFAULT action=ALLOW", 69 "DEFAULT action=ALLOW", [all …]
|
/linux-6.14.4/tools/testing/selftests/tc-testing/tc-tests/filters/ |
D | matchall.json | 4 "name": "Add ingress matchall filter for protocol ipv4 and action PASS", 15 …erTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall action ok", 18 …"matchPattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*r… 26 "name": "Add egress matchall filter for protocol ipv4 and action PASS", 37 …UnderTest": "$TC filter add dev $DUMMY parent 1: handle 0x1 prio 1 protocol ip matchall action ok", 40 …"matchPattern": "^filter parent 1: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*ref … 48 "name": "Add ingress matchall filter for protocol ipv6 and action DROP", 59 …st": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ipv6 matchall action drop", 62 …": "^filter parent ffff: protocol ipv6 pref 1 matchall.*handle 0x1.*gact action drop.*ref 1 bind 1… 70 "name": "Add egress matchall filter for protocol ipv6 and action DROP", [all …]
|
D | fw.json | 15 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65535 fw action ok", 18 "matchPattern": "pref 65535 fw.*handle 0x1.*gact action pass", 37 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65536 fw action ok", 40 "matchPattern": "pref 65536 fw.*handle 0x1.*gact action pass", 48 "name": "Add fw filter with action ok", 59 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action ok", 62 "matchPattern": "handle 0x1.*gact action pass", 70 "name": "Add fw filter with action ok by reference", 80 "$TC actions add action gact ok index 1" 82 … "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action gact index 1", [all …]
|