/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 …]
|
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 …]
|
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 | mirred.json | 4 "name": "Add mirred mirror to egress action", 11 "$TC actions flush action mirred", 17 "cmdUnderTest": "$TC actions add action mirred egress mirror index 1 dev lo", 19 "verifyCmd": "$TC actions list action mirred", 20 "matchPattern": "action order [0-9]*: mirred \\(Egress Mirror to device lo\\).*index 1 ref", 23 "$TC actions flush action mirred" 28 "name": "Add mirred redirect to egress action", 35 "$TC actions flush action mirred", 41 "cmdUnderTest": "$TC actions add action mirred egress redirect index 2 dev lo action pipe", 43 "verifyCmd": "$TC actions list action mirred", [all …]
|
D | tunnel_key.json | 4 "name": "Add tunnel_key set action with mandatory parameters", 11 "$TC actions flush action tunnel_key", 17 … "cmdUnderTest": "$TC actions add action tunnel_key set src_ip 10.10.10.1 dst_ip 20.20.20.2 id 1", 19 "verifyCmd": "$TC actions list action tunnel_key", 20 …"matchPattern": "action order [0-9]+: tunnel_key.*set.*src_ip 10.10.10.1.*dst_ip 20.20.20.2.*key_i… 23 "$TC actions flush action tunnel_key" 28 "name": "Add tunnel_key set action with missing mandatory src_ip parameter", 35 "$TC actions flush action tunnel_key", 41 "cmdUnderTest": "$TC actions add action tunnel_key set dst_ip 20.20.20.2 id 100", 43 "verifyCmd": "$TC actions list action tunnel_key", [all …]
|
D | connmark.json | 4 "name": "Add valid connmark action with defaults", 11 "$TC actions flush action connmark", 17 "cmdUnderTest": "$TC actions add action connmark", 19 "verifyCmd": "$TC actions list action connmark", 20 "matchPattern": "action order [0-9]+: connmark zone 0 pipe", 23 "$TC actions flush action connmark" 28 "name": "Add valid connmark action with control pass", 35 "$TC actions flush action connmark", 41 "cmdUnderTest": "$TC actions add action connmark pass index 1", 43 "verifyCmd": "$TC actions get action connmark index 1", [all …]
|
D | ct.json | 4 "name": "Add simple ct action", 11 "$TC actions flush action ct", 17 "cmdUnderTest": "$TC actions add action ct index 42", 19 "verifyCmd": "$TC actions list action ct", 20 "matchPattern": "action order [0-9]*: ct zone 0 pipe.*index 42 ref", 23 "$TC actions flush action ct" 28 "name": "Add simple ct action with cookie", 35 "$TC actions flush action ct", 41 "cmdUnderTest": "$TC actions add action ct index 42 cookie deadbeef", 43 "verifyCmd": "$TC actions list action ct", [all …]
|
D | simple.json | 4 "name": "Add simple action", 11 "$TC actions flush action simple", 17 "cmdUnderTest": "$TC actions add action simple sdata \"A triumph\" index 60", 19 "verifyCmd": "$TC actions list action simple", 20 "matchPattern": "action order [0-9]*: Simple <A triumph>.*index 60 ref", 23 "$TC actions flush action simple" 28 "name": "Add simple action with duplicate index", 35 "$TC actions flush action simple", 40 "$TC actions add action simple sdata \"Aruba\" index 4" 42 "cmdUnderTest": "$TC actions add action simple sdata \"Jamaica\" index 4", [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_action.c | 583 /* Check action state machine is valid */ in dr_action_validate_and_get_next_state() 660 struct mlx5dr_action *action; in mlx5dr_actions_build_ste_arr() local 664 action = actions[i]; in mlx5dr_actions_build_ste_arr() 665 action_type = action->action_type; in mlx5dr_actions_build_ste_arr() 672 dest_action = action; in mlx5dr_actions_build_ste_arr() 673 if (!action->dest_tbl.is_fw_tbl) { in mlx5dr_actions_build_ste_arr() 674 if (action->dest_tbl.tbl->dmn != dmn) { in mlx5dr_actions_build_ste_arr() 679 if (action->dest_tbl.tbl->level <= matcher->tbl->level) { in mlx5dr_actions_build_ste_arr() 685 action->dest_tbl.tbl->level); in mlx5dr_actions_build_ste_arr() 688 action->dest_tbl.tbl->rx.s_anchor->chunk->icm_addr : in mlx5dr_actions_build_ste_arr() [all …]
|
D | fs_dr.c | 32 struct mlx5dr_action *action = NULL; in set_miss_action() local 38 action = mlx5dr_action_create_dest_table(next_tbl); in set_miss_action() 39 if (!action) in set_miss_action() 43 err = mlx5dr_table_set_miss_action(ft->fs_dr_table.dr_table, action); in set_miss_action() 44 if (err && action) { in set_miss_action() 45 err = mlx5dr_action_destroy(action); in set_miss_action() 47 action = NULL; in set_miss_action() 48 mlx5_core_err(ns->dev, "Failed to destroy action (%d)\n", in set_miss_action() 52 ft->fs_dr_table.miss_action = action; in set_miss_action() 56 mlx5_core_err(ns->dev, "Failed to destroy action (%d)\n", in set_miss_action() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
D | ice_fltr.c | 129 * @action: filter action 133 const u8 *mac, enum ice_sw_fwd_act_type action) in ice_fltr_add_mac_to_list() argument 140 info.fltr_act = action; in ice_fltr_add_mac_to_list() 154 * @action: filter action 158 u16 vlan_id, enum ice_sw_fwd_act_type action) in ice_fltr_add_vlan_to_list() argument 165 info.fltr_act = action; in ice_fltr_add_vlan_to_list() 179 * @action: filter action 184 enum ice_sw_fwd_act_type action) in ice_fltr_add_eth_to_list() argument 190 info.fltr_act = action; in ice_fltr_add_eth_to_list() 207 * @action: action to be performed on filter match [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/tc-tests/filters/ |
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", 164 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action ok", 167 "matchPattern": "handle 0x1.*gact action pass", 175 "name": "Add fw filter with action ok by reference", 176 …"__comment": "We add sleep here because action might have not been deleted by workqueue just yet. … 184 "$TC actions add action gact ok index 1" [all …]
|
D | matchall.json | 4 "name": "Add ingress matchall filter for protocol ipv4 and action PASS", 13 …erTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall action ok", 16 …"matchPattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*r… 25 "name": "Add egress matchall filter for protocol ipv4 and action PASS", 34 …UnderTest": "$TC filter add dev $DUMMY parent 1: handle 0x1 prio 1 protocol ip matchall action ok", 37 …"matchPattern": "^filter parent 1: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*ref … 46 "name": "Add ingress matchall filter for protocol ipv6 and action DROP", 55 …st": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ipv6 matchall action drop", 58 …": "^filter parent ffff: protocol ipv6 pref 1 matchall.*handle 0x1.*gact action drop.*ref 1 bind 1… 67 "name": "Add egress matchall filter for protocol ipv6 and action DROP", [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/ |
D | tc_restrictions.sh | 45 skip_sw dst_ip 192.0.2.2 action drop 62 skip_sw dst_ip 192.0.2.2 action drop 71 skip_sw dst_ip 192.0.2.2 action drop 94 action mirred egress redirect dev $swp2 112 action mirred egress redirect dev $swp2 122 action mirred egress redirect dev $swp2 129 action mirred egress redirect dev $swp2 148 action mirred egress mirror dev $swp2 149 check_err $? "Failed to add rule with single mirror action" 155 action mirred egress mirror dev $swp2 \ [all …]
|
/kernel/linux/linux-5.10/kernel/irq/ |
D | handle.c | 50 static void warn_no_thread(unsigned int irq, struct irqaction *action) in warn_no_thread() argument 52 if (test_and_set_bit(IRQTF_WARNED, &action->thread_flags)) in warn_no_thread() 56 "but no thread function available.", irq, action->name); in warn_no_thread() 59 void __irq_wake_thread(struct irq_desc *desc, struct irqaction *action) in __irq_wake_thread() argument 66 if (action->thread->flags & PF_EXITING) in __irq_wake_thread() 70 * Wake up the handler thread for this action. If the in __irq_wake_thread() 73 if (test_and_set_bit(IRQTF_RUNTHREAD, &action->thread_flags)) in __irq_wake_thread() 95 * set_bit(IRQTF_RUNTHREAD, &action->thread_flags); in __irq_wake_thread() 111 * if (!test_bit(IRQTF_RUNTHREAD, &action->thread_flags)) in __irq_wake_thread() 121 desc->threads_oneshot |= action->thread_mask; in __irq_wake_thread() [all …]
|
/kernel/linux/linux-5.10/lib/ |
D | notifier-error-inject.c | 33 struct notifier_err_inject_action *action; in notifier_err_inject_callback() local 35 for (action = err_inject->actions; action->name; action++) { in notifier_err_inject_callback() 36 if (action->val == val) { in notifier_err_inject_callback() 37 err = action->error; in notifier_err_inject_callback() 42 pr_info("Injecting error (%d) to %s\n", err, action->name); in notifier_err_inject_callback() 53 struct notifier_err_inject_action *action; in notifier_err_inject_init() local 65 for (action = err_inject->actions; action->name; action++) { in notifier_err_inject_init() 68 action_dir = debugfs_create_dir(action->name, actions_dir); in notifier_err_inject_init() 71 * Create debugfs r/w file containing action->error. If in notifier_err_inject_init() 72 * notifier call chain is called with action->val, it will in notifier_err_inject_init() [all …]
|