Home
last modified time | relevance | path

Searched refs:action (Results 1 – 25 of 1646) sorted by relevance

12345678910>>...66

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_action.c774 struct mlx5dr_action *action; in mlx5dr_actions_build_ste_arr() local
778 action = actions[i]; in mlx5dr_actions_build_ste_arr()
779 action_type = action->action_type; in mlx5dr_actions_build_ste_arr()
787 dest_action = action; in mlx5dr_actions_build_ste_arr()
788 ret = dr_action_get_dest_tbl_addr(matcher, action->dest_tbl, in mlx5dr_actions_build_ste_arr()
795 action->range->hit_tbl_action->dest_tbl, in mlx5dr_actions_build_ste_arr()
801 action->range->miss_tbl_action->dest_tbl, in mlx5dr_actions_build_ste_arr()
806 attr.range.definer_id = action->range->definer_id; in mlx5dr_actions_build_ste_arr()
807 attr.range.min = action->range->min; in mlx5dr_actions_build_ste_arr()
808 attr.range.max = action->range->max; in mlx5dr_actions_build_ste_arr()
[all …]
Dfs_dr.c34 struct mlx5dr_action *action = NULL; in set_miss_action() local
40 action = mlx5dr_action_create_dest_table(next_tbl); in set_miss_action()
41 if (!action) in set_miss_action()
45 err = mlx5dr_table_set_miss_action(ft->fs_dr_table.dr_table, action); in set_miss_action()
46 if (err && action) { in set_miss_action()
47 err = mlx5dr_action_destroy(action); in set_miss_action()
51 action = NULL; in set_miss_action()
53 ft->fs_dr_table.miss_action = action; in set_miss_action()
110 struct mlx5dr_action *action = ft->fs_dr_table.miss_action; in mlx5_cmd_dr_destroy_flow_table() local
122 if (action) { in mlx5_cmd_dr_destroy_flow_table()
[all …]
Ddr_dbg.c110 struct mlx5dr_action *action = action_mem->action; in dr_dump_rule_action_mem() local
111 const u64 action_id = DR_DBG_PTR_TO_ID(action); in dr_dump_rule_action_mem()
115 switch (action->action_type) { in dr_dump_rule_action_mem()
121 if (action->dest_tbl->is_fw_tbl) in dr_dump_rule_action_mem()
124 rule_id, action->dest_tbl->fw_tbl.id, in dr_dump_rule_action_mem()
129 rule_id, action->dest_tbl->tbl->table_id, in dr_dump_rule_action_mem()
130 DR_DBG_PTR_TO_ID(action->dest_tbl->tbl)); in dr_dump_rule_action_mem()
136 action->ctr->ctr_id + action->ctr->offset); in dr_dump_rule_action_mem()
141 action->flow_tag->flow_tag); in dr_dump_rule_action_mem()
145 struct mlx5dr_ptrn_obj *ptrn = action->rewrite->ptrn; in dr_dump_rule_action_mem()
[all …]
/linux-6.6.21/kernel/irq/
Dhandle.c52 static void warn_no_thread(unsigned int irq, struct irqaction *action) in warn_no_thread() argument
54 if (test_and_set_bit(IRQTF_WARNED, &action->thread_flags)) in warn_no_thread()
58 "but no thread function available.", irq, action->name); in warn_no_thread()
61 void __irq_wake_thread(struct irq_desc *desc, struct irqaction *action) in __irq_wake_thread() argument
68 if (action->thread->flags & PF_EXITING) in __irq_wake_thread()
75 if (test_and_set_bit(IRQTF_RUNTHREAD, &action->thread_flags)) in __irq_wake_thread()
123 desc->threads_oneshot |= action->thread_mask; in __irq_wake_thread()
136 wake_up_process(action->thread); in __irq_wake_thread()
143 struct irqaction *action; in __handle_irq_event_percpu() local
147 for_each_action_of_desc(desc, action) { in __handle_irq_event_percpu()
[all …]
Dmanage.c192 struct irqaction *action; in irq_set_thread_affinity() local
194 for_each_action_of_desc(desc, action) { in irq_set_thread_affinity()
195 if (action->thread) in irq_set_thread_affinity()
196 set_bit(IRQTF_AFFINITY, &action->thread_flags); in irq_set_thread_affinity()
197 if (action->secondary && action->secondary->thread) in irq_set_thread_affinity()
198 set_bit(IRQTF_AFFINITY, &action->secondary->thread_flags); in irq_set_thread_affinity()
946 if (!desc->action || in can_request_irq()
947 irqflags & desc->action->flags & IRQF_SHARED) in can_request_irq()
1052 static int irq_wait_for_interrupt(struct irqaction *action) in irq_wait_for_interrupt() argument
1060 &action->thread_flags)) { in irq_wait_for_interrupt()
[all …]
Dspurious.c52 return !irqd_irq_disabled(&desc->irq_data) && desc->action; in irq_wait_for_poll()
65 struct irqaction *action; in try_one_irq() local
89 action = desc->action; in try_one_irq()
90 if (!action || !(action->flags & IRQF_SHARED) || in try_one_irq()
91 (action->flags & __IRQF_TIMER)) in try_one_irq()
110 action = desc->action; in try_one_irq()
111 } while ((desc->istate & IRQS_PENDING) && action); in try_one_irq()
195 struct irqaction *action; in __report_bad_irq() local
215 for_each_action_of_desc(desc, action) { in __report_bad_irq()
216 printk(KERN_ERR "[<%p>] %ps", action->handler, action->handler); in __report_bad_irq()
[all …]
/linux-6.6.21/lib/
Dnotifier-error-inject.c33 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()
75 debugfs_create_errno("error", mode, action_dir, &action->error); in notifier_err_inject_init()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dvlan.c12 u32 *action, struct netlink_ext_ack *extack) in add_vlan_prio_tag_rewrite_action() argument
18 mlx5e_get_match_headers_value(*action, in add_vlan_prio_tag_rewrite_action()
22 mlx5e_get_match_headers_criteria(*action, in add_vlan_prio_tag_rewrite_action()
28 &prio_tag_act, parse_attr, action, in add_vlan_prio_tag_rewrite_action()
36 u32 *action, in parse_tc_vlan_action() argument
55 *action |= MLX5_FLOW_CONTEXT_ACTION_VLAN_POP_2; in parse_tc_vlan_action()
57 *action |= MLX5_FLOW_CONTEXT_ACTION_VLAN_POP; in parse_tc_vlan_action()
67 *action |= MLX5_FLOW_CONTEXT_ACTION_VLAN_PUSH_2; in parse_tc_vlan_action()
69 *action |= MLX5_FLOW_CONTEXT_ACTION_VLAN_PUSH; in parse_tc_vlan_action()
106 err = parse_tc_vlan_action(priv, &vlan_act, attr->esw_attr, &attr->action, extack, NULL); in mlx5e_tc_act_vlan_add_push_action()
[all …]
/linux-6.6.21/drivers/platform/x86/intel/speed_select_if/
Disst_if_mbox_msr.c108 struct msrl_action action; in isst_if_mbox_proc_cmd() local
111 action.mbox_cmd = (struct isst_if_mbox_cmd *)cmd_ptr; in isst_if_mbox_proc_cmd()
113 if (isst_if_mbox_cmd_invalid(action.mbox_cmd)) in isst_if_mbox_proc_cmd()
116 if (isst_if_mbox_cmd_set_req(action.mbox_cmd) && in isst_if_mbox_proc_cmd()
127 ret = smp_call_function_single(action.mbox_cmd->logical_cpu, in isst_if_mbox_proc_cmd()
128 msrl_update_func, &action, 1); in isst_if_mbox_proc_cmd()
132 if (!action.err && !resume && isst_if_mbox_cmd_set_req(action.mbox_cmd)) in isst_if_mbox_proc_cmd()
133 action.err = isst_store_cmd(action.mbox_cmd->command, in isst_if_mbox_proc_cmd()
134 action.mbox_cmd->sub_command, in isst_if_mbox_proc_cmd()
135 action.mbox_cmd->logical_cpu, 1, in isst_if_mbox_proc_cmd()
[all …]
/linux-6.6.21/tools/testing/selftests/drivers/net/mlxsw/
Dtc_restrictions.sh48 skip_sw dst_ip 192.0.2.2 action drop
65 skip_sw dst_ip 192.0.2.2 action drop
74 skip_sw dst_ip 192.0.2.2 action drop
97 action mirred egress redirect dev $swp2
115 action mirred egress redirect dev $swp2
125 action mirred egress redirect dev $swp2
132 action mirred egress redirect dev $swp2
151 action mirred egress mirror dev $swp2
158 action mirred egress mirror dev $swp2 \
159 action mirred egress mirror dev $swp1
[all …]
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/
Dmld-mac.c20 u32 action) in iwl_mvm_mld_mac_ctxt_cmd_common() argument
27 cmd->action = cpu_to_le32(action); in iwl_mvm_mld_mac_ctxt_cmd_common()
90 le32_to_cpu(cmd->action), ret); in iwl_mvm_mld_mac_ctxt_send_cmd()
96 u32 action, bool force_assoc_off) in iwl_mvm_mld_mac_ctxt_cmd_sta() argument
104 iwl_mvm_mld_mac_ctxt_cmd_common(mvm, vif, &cmd, action); in iwl_mvm_mld_mac_ctxt_cmd_sta()
161 u32 action) in iwl_mvm_mld_mac_ctxt_cmd_listener() argument
167 iwl_mvm_mld_mac_ctxt_cmd_common(mvm, vif, &cmd, action); in iwl_mvm_mld_mac_ctxt_cmd_listener()
180 u32 action) in iwl_mvm_mld_mac_ctxt_cmd_ibss() argument
186 iwl_mvm_mld_mac_ctxt_cmd_common(mvm, vif, &cmd, action); in iwl_mvm_mld_mac_ctxt_cmd_ibss()
197 u32 action) in iwl_mvm_mld_mac_ctxt_cmd_p2p_device() argument
[all …]
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_fltr.c227 const u8 *mac, enum ice_sw_fwd_act_type action) in ice_fltr_add_mac_to_list() argument
234 info.fltr_act = action; in ice_fltr_add_mac_to_list()
279 enum ice_sw_fwd_act_type action) in ice_fltr_add_eth_to_list() argument
285 info.fltr_act = action; in ice_fltr_add_eth_to_list()
307 enum ice_sw_fwd_act_type action, in ice_fltr_prepare_mac() argument
313 if (ice_fltr_add_mac_to_list(vsi, &tmp_list, mac, action)) { in ice_fltr_prepare_mac()
332 enum ice_sw_fwd_act_type action, in ice_fltr_prepare_mac_and_broadcast() argument
341 if (ice_fltr_add_mac_to_list(vsi, &tmp_list, mac, action) || in ice_fltr_prepare_mac_and_broadcast()
342 ice_fltr_add_mac_to_list(vsi, &tmp_list, broadcast, action)) { in ice_fltr_prepare_mac_and_broadcast()
383 enum ice_sw_fwd_act_type action, in ice_fltr_prepare_eth() argument
[all …]
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_dpipe.c81 struct devlink_dpipe_action action = {0}; in mlxsw_sp_dpipe_table_erif_actions_dump() local
84 action.type = DEVLINK_DPIPE_ACTION_TYPE_FIELD_MODIFY; in mlxsw_sp_dpipe_table_erif_actions_dump()
85 action.header = &mlxsw_sp_dpipe_header_metadata; in mlxsw_sp_dpipe_table_erif_actions_dump()
86 action.field_id = MLXSW_SP_DPIPE_FIELD_METADATA_L3_FORWARD; in mlxsw_sp_dpipe_table_erif_actions_dump()
88 err = devlink_dpipe_action_put(skb, &action); in mlxsw_sp_dpipe_table_erif_actions_dump()
92 action.type = DEVLINK_DPIPE_ACTION_TYPE_FIELD_MODIFY; in mlxsw_sp_dpipe_table_erif_actions_dump()
93 action.header = &mlxsw_sp_dpipe_header_metadata; in mlxsw_sp_dpipe_table_erif_actions_dump()
94 action.field_id = MLXSW_SP_DPIPE_FIELD_METADATA_L3_DROP; in mlxsw_sp_dpipe_table_erif_actions_dump()
96 return devlink_dpipe_action_put(skb, &action); in mlxsw_sp_dpipe_table_erif_actions_dump()
113 struct devlink_dpipe_action *action) in mlxsw_sp_erif_match_action_prepare() argument
[all …]
/linux-6.6.21/security/integrity/ima/
Dima_policy.c100 int action; member
148 {.action = DONT_MEASURE, .fsmagic = PROC_SUPER_MAGIC, .flags = IMA_FSMAGIC},
149 {.action = DONT_MEASURE, .fsmagic = SYSFS_MAGIC, .flags = IMA_FSMAGIC},
150 {.action = DONT_MEASURE, .fsmagic = DEBUGFS_MAGIC, .flags = IMA_FSMAGIC},
151 {.action = DONT_MEASURE, .fsmagic = TMPFS_MAGIC, .flags = IMA_FSMAGIC},
152 {.action = DONT_MEASURE, .fsmagic = DEVPTS_SUPER_MAGIC, .flags = IMA_FSMAGIC},
153 {.action = DONT_MEASURE, .fsmagic = BINFMTFS_MAGIC, .flags = IMA_FSMAGIC},
154 {.action = DONT_MEASURE, .fsmagic = SECURITYFS_MAGIC, .flags = IMA_FSMAGIC},
155 {.action = DONT_MEASURE, .fsmagic = SELINUX_MAGIC, .flags = IMA_FSMAGIC},
156 {.action = DONT_MEASURE, .fsmagic = SMACK_MAGIC, .flags = IMA_FSMAGIC},
[all …]
/linux-6.6.21/tools/perf/tests/shell/lib/
Dperf_json_output_lint.py10 ap.add_argument('--no-args', action='store_true')
11 ap.add_argument('--interval', action='store_true')
12 ap.add_argument('--system-wide-no-aggr', action='store_true')
13 ap.add_argument('--system-wide', action='store_true')
14 ap.add_argument('--event', action='store_true')
15 ap.add_argument('--per-core', action='store_true')
16 ap.add_argument('--per-thread', action='store_true')
17 ap.add_argument('--per-cache', action='store_true')
18 ap.add_argument('--per-die', action='store_true')
19 ap.add_argument('--per-node', action='store_true')
[all …]
/linux-6.6.21/drivers/net/wireless/marvell/libertas/
Dhost.h400 __le16 action; member
446 __le16 action; member
497 __le16 action; member
503 __le16 action; member
549 __le16 action; member
562 __le16 action; member
571 __le16 action; member
582 __le16 action; member
589 __le16 action; member
598 __le16 action; member
[all …]
/linux-6.6.21/tools/testing/selftests/bpf/
Dima_setup.sh129 if [[ "${action}" == "setup" ]]; then
131 elif [[ "${action}" == "cleanup" ]]; then
133 elif [[ "${action}" == "run" ]]; then
135 elif [[ "${action}" == "modify-bin" ]]; then
137 elif [[ "${action}" == "restore-bin" ]]; then
139 elif [[ "${action}" == "load-policy" ]]; then
142 echo "Unknown action: ${action}"
/linux-6.6.21/tools/testing/selftests/net/forwarding/
Dtc_mpls_l2vpn.sh84 action mpls mac_push label 102 \
85 action vlan push_eth dst_mac $mpls2mac src_mac $mpls1mac \
86 action mirred egress redirect dev $mpls1
93 action vlan pop_eth \
94 action mpls pop protocol teb \
95 action mirred egress redirect dev $edge1
113 action mpls mac_push label 101 \
114 action vlan push_eth dst_mac $mpls1mac src_mac $mpls2mac \
115 action mirred egress redirect dev $mpls2
122 action vlan pop_eth \
[all …]
Dtc_actions.sh58 local action=$1
66 dst_ip 192.0.2.2 action drop
76 action mirred egress $action dev $swp2
82 check_err $? "Did not match incoming $action packet"
88 log_test "mirred egress $classifier $action ($tcflags)"
96 $tcflags dst_ip 192.0.2.2 action drop
105 $tcflags dst_ip 192.0.2.2 action ok
131 skip_hw dst_ip 192.0.2.2 action drop
133 $tcflags dst_ip 192.0.2.2 action mirred egress redirect \
143 $tcflags dst_ip 192.0.2.2 action trap
[all …]
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/flower/
Dqos_conf.c120 static int nfp_policer_validate(const struct flow_action *action, in nfp_policer_validate() argument
148 !flow_action_is_last_entry(action, act)) { in nfp_policer_validate()
169 struct flow_action_entry *paction = &flow->rule->action.entries[0]; in nfp_flower_install_rate_limiter()
170 u32 action_num = flow->rule->action.num_entries; in nfp_flower_install_rate_limiter()
172 struct flow_action_entry *action = NULL; in nfp_flower_install_rate_limiter() local
210 if (!flow_offload_has_one_action(&flow->rule->action)) { in nfp_flower_install_rate_limiter()
223 action = paction + i; in nfp_flower_install_rate_limiter()
224 if (action->id != FLOW_ACTION_POLICE) { in nfp_flower_install_rate_limiter()
230 err = nfp_policer_validate(&flow->rule->action, action, extack, true); in nfp_flower_install_rate_limiter()
234 if (action->police.rate_bytes_ps > 0) { in nfp_flower_install_rate_limiter()
[all …]
/linux-6.6.21/drivers/net/ethernet/mscc/
Docelot_flower.c191 filter->action.vid_replace_ena = true; in ocelot_flower_parse_ingress_vlan_modify()
192 filter->action.pcp_dei_ena = true; in ocelot_flower_parse_ingress_vlan_modify()
193 filter->action.vid = a->vlan.vid; in ocelot_flower_parse_ingress_vlan_modify()
194 filter->action.pcp = a->vlan.prio; in ocelot_flower_parse_ingress_vlan_modify()
220 filter->action.tag_a_tpid_sel = tpid; in ocelot_flower_parse_egress_vlan_modify()
221 filter->action.push_outer_tag = OCELOT_ES0_TAG; in ocelot_flower_parse_egress_vlan_modify()
222 filter->action.tag_a_vid_sel = OCELOT_ES0_VID_PLUS_CLASSIFIED_VID; in ocelot_flower_parse_egress_vlan_modify()
223 filter->action.vid_a_val = a->vlan.vid; in ocelot_flower_parse_egress_vlan_modify()
224 filter->action.pcp_a_val = a->vlan.prio; in ocelot_flower_parse_egress_vlan_modify()
225 filter->action.tag_a_pcp_sel = OCELOT_ES0_PCP; in ocelot_flower_parse_egress_vlan_modify()
[all …]
/linux-6.6.21/tools/testing/selftests/drivers/net/dsa/
Dtc_actions.sh58 local action=$1
66 dst_ip 192.0.2.2 action drop
76 action mirred egress $action dev $swp2
82 check_err $? "Did not match incoming $action packet"
88 log_test "mirred egress $classifier $action ($tcflags)"
96 $tcflags dst_ip 192.0.2.2 action drop
105 $tcflags dst_ip 192.0.2.2 action ok
131 skip_hw dst_ip 192.0.2.2 action drop
133 $tcflags dst_ip 192.0.2.2 action mirred egress redirect \
143 $tcflags dst_ip 192.0.2.2 action trap
[all …]
/linux-6.6.21/arch/mips/cavium-octeon/
Dsmp.c57 u64 action; in mailbox_interrupt() local
72 action = cvmx_read_csr(mbox_clrx); in mailbox_interrupt()
75 action &= 0xff; in mailbox_interrupt()
77 action &= 0xffff; in mailbox_interrupt()
80 cvmx_write_csr(mbox_clrx, action); in mailbox_interrupt()
82 for (i = 0; i < ARRAY_SIZE(octeon_message_functions) && action;) { in mailbox_interrupt()
83 if (action & 1) { in mailbox_interrupt()
89 action >>= 1; in mailbox_interrupt()
100 void octeon_send_ipi_single(int cpu, unsigned int action) in octeon_send_ipi_single() argument
107 cvmx_write_csr(CVMX_CIU_MBOX_SETX(coreid), action); in octeon_send_ipi_single()
[all …]
/linux-6.6.21/arch/mips/sibyte/sb1250/
Dsmp.c56 static void sb1250_send_ipi_single(int cpu, unsigned int action) in sb1250_send_ipi_single() argument
58 __raw_writeq((((u64)action) << 48), mailbox_set_regs[cpu]); in sb1250_send_ipi_single()
62 unsigned int action) in sb1250_send_ipi_mask() argument
67 sb1250_send_ipi_single(i, action); in sb1250_send_ipi_mask()
151 unsigned int action; in sb1250_mailbox_interrupt() local
155 action = (____raw_readq(mailbox_regs[cpu]) >> 48) & 0xffff; in sb1250_mailbox_interrupt()
158 ____raw_writeq(((u64)action) << 48, mailbox_clear_regs[cpu]); in sb1250_mailbox_interrupt()
160 if (action & SMP_RESCHEDULE_YOURSELF) in sb1250_mailbox_interrupt()
163 if (action & SMP_CALL_FUNCTION) { in sb1250_mailbox_interrupt()
/linux-6.6.21/arch/mips/sibyte/bcm1480/
Dsmp.c67 static void bcm1480_send_ipi_single(int cpu, unsigned int action) in bcm1480_send_ipi_single() argument
69 __raw_writeq((((u64)action)<< 48), mailbox_0_set_regs[cpu]); in bcm1480_send_ipi_single()
73 unsigned int action) in bcm1480_send_ipi_mask() argument
78 bcm1480_send_ipi_single(i, action); in bcm1480_send_ipi_mask()
162 unsigned int action; in bcm1480_mailbox_interrupt() local
166 action = (__raw_readq(mailbox_0_regs[cpu]) >> 48) & 0xffff; in bcm1480_mailbox_interrupt()
169 __raw_writeq(((u64)action)<<48, mailbox_0_clear_regs[cpu]); in bcm1480_mailbox_interrupt()
171 if (action & SMP_RESCHEDULE_YOURSELF) in bcm1480_mailbox_interrupt()
174 if (action & SMP_CALL_FUNCTION) { in bcm1480_mailbox_interrupt()

12345678910>>...66