/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_action.c | 577 /* Check action state machine is valid */ in dr_action_validate_and_get_next_state() 643 /* Ignore the modify TTL action. in dr_action_modify_ttl_adjust() 644 * It is always kept as last HW action. in dr_action_modify_ttl_adjust() 774 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 in mlx5dr_actions_build_ste_arr() 987 struct mlx5dr_action *action; dr_action_create_generic() local 1014 struct mlx5dr_action *action; mlx5dr_action_create_dest_table_num() local 1032 struct mlx5dr_action *action; mlx5dr_action_create_dest_table() local 1070 dr_action_create_range_definer(struct mlx5dr_action *action) dr_action_create_range_definer() argument 1095 dr_action_destroy_range_definer(struct mlx5dr_action *action) dr_action_destroy_range_definer() argument 1108 struct mlx5dr_action *action; mlx5dr_action_create_dest_match_range() local 1175 struct mlx5dr_action *action; mlx5dr_action_create_mult_dest_tbl() local 1276 struct mlx5dr_action *action; mlx5dr_action_create_dest_flow_fw_table() local 1295 struct mlx5dr_action *action; mlx5dr_action_create_flow_counter() local 1308 struct mlx5dr_action *action; mlx5dr_action_create_tag() local 1322 struct mlx5dr_action *action; mlx5dr_action_create_flow_sampler() local 1396 dr_action_create_reformat_action(struct mlx5dr_domain *dmn, u8 reformat_param_0, u8 reformat_param_1, size_t data_sz, void *data, struct mlx5dr_action *action) dr_action_create_reformat_action() argument 1499 struct mlx5dr_action *action; mlx5dr_action_create_push_vlan() local 1523 struct mlx5dr_action *action; mlx5dr_action_create_packet_reformat() local 1711 u8 action; dr_action_modify_sw_to_hw() local 1749 dr_action_modify_check_set_field_limitation(struct mlx5dr_action *action, const __be64 *sw_action) dr_action_modify_check_set_field_limitation() argument 1780 dr_action_modify_check_add_field_limitation(struct mlx5dr_action *action, const __be64 *sw_action) dr_action_modify_check_add_field_limitation() argument 1799 dr_action_modify_check_copy_field_limitation(struct mlx5dr_action *action, const __be64 *sw_action) dr_action_modify_check_copy_field_limitation() argument 1836 dr_action_modify_check_field_limitation(struct mlx5dr_action *action, const __be64 *sw_action) dr_action_modify_check_field_limitation() argument 1878 dr_actions_convert_modify_header(struct mlx5dr_action *action, u32 max_hw_actions, u32 num_sw_actions, __be64 sw_actions[], __be64 hw_actions[], u32 *num_hw_actions, bool *modify_ttl) dr_actions_convert_modify_header() argument 1980 dr_action_create_modify_action(struct mlx5dr_domain *dmn, size_t actions_sz, __be64 actions[], struct mlx5dr_action *action) dr_action_create_modify_action() argument 2042 struct mlx5dr_action *action; mlx5dr_action_create_modify_header() local 2083 struct mlx5dr_action *action; mlx5dr_action_create_dest_vport() local 2122 struct mlx5dr_action *action; mlx5dr_action_create_aso() local 2145 mlx5dr_action_get_pkt_reformat_id(struct mlx5dr_action *action) mlx5dr_action_get_pkt_reformat_id() argument 2150 mlx5dr_action_destroy(struct mlx5dr_action *action) mlx5dr_action_destroy() argument [all...] |
H A D | fs_dr.c | 34 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() 50 "Failed to destroy action (%d)\n", err); in set_miss_action() 51 action = NULL; in set_miss_action() 53 ft->fs_dr_table.miss_action = action; in set_miss_action() 57 mlx5_core_err(ns->dev, "Failed to destroy action ( in set_miss_action() 110 struct mlx5dr_action *action = ft->fs_dr_table.miss_action; mlx5_cmd_dr_destroy_flow_table() local 634 struct mlx5dr_action *action; mlx5_cmd_dr_packet_reformat_alloc() local 690 struct mlx5dr_action *action; mlx5_cmd_dr_modify_header_alloc() local [all...] |
H A D | dr_dbg.c | 110 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 in dr_dump_rule_action_mem() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A 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() 673 dest_action = action; in mlx5dr_actions_build_ste_arr() 674 if (!action->dest_tbl.is_fw_tbl) { in mlx5dr_actions_build_ste_arr() 675 if (action->dest_tbl.tbl->dmn != dmn) { in mlx5dr_actions_build_ste_arr() 680 if (action->dest_tbl.tbl->level <= matcher->tbl->level) { in mlx5dr_actions_build_ste_arr() 686 action->dest_tbl.tbl->level); in mlx5dr_actions_build_ste_arr() 689 action in mlx5dr_actions_build_ste_arr() 827 dr_actions_l2_rewrite(struct mlx5dr_domain *dmn, struct mlx5dr_action *action, void *data, size_t data_sz) dr_actions_l2_rewrite() argument 950 struct mlx5dr_action *action; dr_action_create_generic() local 970 struct mlx5dr_action *action; mlx5dr_action_create_dest_table_num() local 988 struct mlx5dr_action *action; mlx5dr_action_create_dest_table() local 1012 struct mlx5dr_action *action; mlx5dr_action_create_mult_dest_tbl() local 1107 struct mlx5dr_action *action; mlx5dr_action_create_dest_flow_fw_table() local 1126 struct mlx5dr_action *action; mlx5dr_action_create_flow_counter() local 1139 struct mlx5dr_action *action; mlx5dr_action_create_tag() local 1188 dr_action_create_reformat_action(struct mlx5dr_domain *dmn, size_t data_sz, void *data, struct mlx5dr_action *action) dr_action_create_reformat_action() argument 1257 struct mlx5dr_action *action; mlx5dr_action_create_push_vlan() local 1279 struct mlx5dr_action *action; mlx5dr_action_create_packet_reformat() local 1506 u8 action; dr_action_modify_sw_to_hw() local 1544 dr_action_modify_check_set_field_limitation(struct mlx5dr_action *action, const __be64 *sw_action) dr_action_modify_check_set_field_limitation() argument 1575 dr_action_modify_check_add_field_limitation(struct mlx5dr_action *action, const __be64 *sw_action) dr_action_modify_check_add_field_limitation() argument 1594 dr_action_modify_check_copy_field_limitation(struct mlx5dr_action *action, const __be64 *sw_action) dr_action_modify_check_copy_field_limitation() argument 1631 dr_action_modify_check_field_limitation(struct mlx5dr_action *action, const __be64 *sw_action) dr_action_modify_check_field_limitation() argument 1673 dr_actions_convert_modify_header(struct mlx5dr_action *action, u32 max_hw_actions, u32 num_sw_actions, __be64 sw_actions[], __be64 hw_actions[], u32 *num_hw_actions, bool *modify_ttl) dr_actions_convert_modify_header() argument 1760 dr_action_create_modify_action(struct mlx5dr_domain *dmn, size_t actions_sz, __be64 actions[], struct mlx5dr_action *action) dr_action_create_modify_action() argument 1829 struct mlx5dr_action *action; mlx5dr_action_create_modify_header() local 1870 struct mlx5dr_action *action; mlx5dr_action_create_dest_vport() local 1901 mlx5dr_action_destroy(struct mlx5dr_action *action) mlx5dr_action_destroy() argument [all...] |
H A 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() 48 "Failed to destroy action (%d)\n", err); in set_miss_action() 49 action = NULL; in set_miss_action() 51 ft->fs_dr_table.miss_action = action; in set_miss_action() 55 mlx5_core_err(ns->dev, "Failed to destroy action ( in set_miss_action() 105 struct mlx5dr_action *action = ft->fs_dr_table.miss_action; mlx5_cmd_dr_destroy_flow_table() local 529 struct mlx5dr_action *action; mlx5_cmd_dr_packet_reformat_alloc() local 576 struct mlx5dr_action *action; mlx5_cmd_dr_modify_header_alloc() local [all...] |
/kernel/linux/linux-5.10/kernel/irq/ |
H A 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 in __irq_wake_thread() 141 struct irqaction *action; __handle_irq_event_percpu() local [all...] |
H A D | manage.c | 191 struct irqaction *action; in irq_set_thread_affinity() local 193 for_each_action_of_desc(desc, action) in irq_set_thread_affinity() 194 if (action->thread) in irq_set_thread_affinity() 195 set_bit(IRQTF_AFFINITY, &action->thread_flags); in irq_set_thread_affinity() 846 if (!desc->action || in can_request_irq() 847 irqflags & desc->action->flags & IRQF_SHARED) in can_request_irq() 948 WARN(1, "Secondary action handler called for irq %d\n", irq); in irq_forced_secondary_handler() 952 static int irq_wait_for_interrupt(struct irqaction *action) in irq_wait_for_interrupt() argument 960 &action->thread_flags)) { in irq_wait_for_interrupt() 969 &action in irq_wait_for_interrupt() 982 irq_finalize_oneshot(struct irq_desc *desc, struct irqaction *action) irq_finalize_oneshot() argument 1037 irq_thread_check_affinity(struct irq_desc *desc, struct irqaction *action) irq_thread_check_affinity() argument 1075 irq_thread_check_affinity(struct irq_desc *desc, struct irqaction *action) irq_thread_check_affinity() argument 1085 irq_forced_thread_fn(struct irq_desc *desc, struct irqaction *action) irq_forced_thread_fn() argument 1108 irq_thread_fn(struct irq_desc *desc, struct irqaction *action) irq_thread_fn() argument 1131 struct irqaction *action; irq_thread_dtor() local 1154 irq_wake_secondary(struct irq_desc *desc, struct irqaction *action) irq_wake_secondary() argument 1169 irq_thread_set_ready(struct irq_desc *desc, struct irqaction *action) irq_thread_set_ready() argument 1180 wake_up_and_wait_for_irq_thread_ready(struct irq_desc *desc, struct irqaction *action) wake_up_and_wait_for_irq_thread_ready() argument 1197 struct irqaction *action = data; irq_thread() local 1246 struct irqaction *action; irq_wake_thread() local 1772 struct irqaction *action, **action_ptr; __free_irq() local 1924 struct irqaction *action; free_irq() local 2045 struct irqaction *action; request_threaded_irq() local 2202 struct irqaction *action; request_nmi() local 2358 struct irqaction *action; __free_percpu_irq() local 2499 struct irqaction *action; __request_percpu_irq() local 2564 struct irqaction *action; request_percpu_nmi() local [all...] |
H A D | spurious.c | 33 * action (about to be disabled). Only if it's still active, we return 52 return !irqd_irq_disabled(&desc->irq_data) && desc->action; 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() 109 /* Make sure that there is still a valid action */ in try_one_irq() 110 action in try_one_irq() 195 struct irqaction *action; __report_bad_irq() local 239 struct irqaction *action; try_misrouted_irq() local [all...] |
/kernel/linux/linux-6.6/kernel/irq/ |
H A D | handle.c | 52 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() 72 * Wake up the handler thread for this action. If the in __irq_wake_thread() 75 if (test_and_set_bit(IRQTF_RUNTHREAD, &action->thread_flags)) in __irq_wake_thread() 97 * set_bit(IRQTF_RUNTHREAD, &action->thread_flags); in __irq_wake_thread() 113 * if (!test_bit(IRQTF_RUNTHREAD, &action->thread_flags)) in __irq_wake_thread() 123 desc->threads_oneshot |= action in __irq_wake_thread() 143 struct irqaction *action; __handle_irq_event_percpu() local [all...] |
H A D | manage.c | 192 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() 1048 WARN(1, "Secondary action handle in irq_forced_secondary_handler() 1052 irq_wait_for_interrupt(struct irqaction *action) irq_wait_for_interrupt() argument 1082 irq_finalize_oneshot(struct irq_desc *desc, struct irqaction *action) irq_finalize_oneshot() argument 1137 irq_thread_check_affinity(struct irq_desc *desc, struct irqaction *action) irq_thread_check_affinity() argument 1175 irq_thread_check_affinity(struct irq_desc *desc, struct irqaction *action) irq_thread_check_affinity() argument 1185 irq_forced_thread_fn(struct irq_desc *desc, struct irqaction *action) irq_forced_thread_fn() argument 1208 irq_thread_fn(struct irq_desc *desc, struct irqaction *action) irq_thread_fn() argument 1231 struct irqaction *action; irq_thread_dtor() local 1254 irq_wake_secondary(struct irq_desc *desc, struct irqaction *action) irq_wake_secondary() argument 1269 irq_thread_set_ready(struct irq_desc *desc, struct irqaction *action) irq_thread_set_ready() argument 1280 wake_up_and_wait_for_irq_thread_ready(struct irq_desc *desc, struct irqaction *action) wake_up_and_wait_for_irq_thread_ready() argument 1297 struct irqaction *action = data; irq_thread() local 1348 struct irqaction *action; irq_wake_thread() local 1877 struct irqaction *action, **action_ptr; __free_irq() local 2029 struct irqaction *action; free_irq() local 2150 struct irqaction *action; request_threaded_irq() local 2307 struct irqaction *action; request_nmi() local 2463 struct irqaction *action; __free_percpu_irq() local 2604 struct irqaction *action; __request_percpu_irq() local 2669 struct irqaction *action; request_percpu_nmi() local [all...] |
H A D | spurious.c | 33 * action (about to be disabled). Only if it's still active, we return 52 return !irqd_irq_disabled(&desc->irq_data) && desc->action; 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() 109 /* Make sure that there is still a valid action */ in try_one_irq() 110 action in try_one_irq() 195 struct irqaction *action; __report_bad_irq() local 239 struct irqaction *action; try_misrouted_irq() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
H A 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() 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() 165 info.fltr_act = action; in ice_fltr_add_vlan_to_list() 179 * @action: filter action 132 ice_fltr_add_mac_to_list(struct ice_vsi *vsi, struct list_head *list, const u8 *mac, enum ice_sw_fwd_act_type action) ice_fltr_add_mac_to_list() argument 157 ice_fltr_add_vlan_to_list(struct ice_vsi *vsi, struct list_head *list, u16 vlan_id, enum ice_sw_fwd_act_type action) ice_fltr_add_vlan_to_list() argument 182 ice_fltr_add_eth_to_list(struct ice_vsi *vsi, struct list_head *list, u16 ethertype, u16 flag, enum ice_sw_fwd_act_type action) ice_fltr_add_eth_to_list() argument 211 ice_fltr_prepare_mac(struct ice_vsi *vsi, const u8 *mac, enum ice_sw_fwd_act_type action, enum ice_status (*mac_action)(struct ice_vsi *, struct list_head *)) ice_fltr_prepare_mac() argument 237 ice_fltr_prepare_mac_and_broadcast(struct ice_vsi *vsi, const u8 *mac, enum ice_sw_fwd_act_type action, enum ice_status(*mac_action) (struct ice_vsi *, struct list_head *)) ice_fltr_prepare_mac_and_broadcast() argument 266 ice_fltr_prepare_vlan(struct ice_vsi *vsi, u16 vlan_id, enum ice_sw_fwd_act_type action, enum ice_status (*vlan_action)(struct ice_vsi *, struct list_head *)) ice_fltr_prepare_vlan() argument 291 ice_fltr_prepare_eth(struct ice_vsi *vsi, u16 ethertype, u16 flag, enum ice_sw_fwd_act_type action, enum ice_status (*eth_action)(struct ice_vsi *, struct list_head *)) ice_fltr_prepare_eth() argument 313 ice_fltr_add_mac(struct ice_vsi *vsi, const u8 *mac, enum ice_sw_fwd_act_type action) ice_fltr_add_mac() argument 326 ice_fltr_add_mac_and_broadcast(struct ice_vsi *vsi, const u8 *mac, enum ice_sw_fwd_act_type action) ice_fltr_add_mac_and_broadcast() argument 339 ice_fltr_remove_mac(struct ice_vsi *vsi, const u8 *mac, enum ice_sw_fwd_act_type action) ice_fltr_remove_mac() argument 351 ice_fltr_add_vlan(struct ice_vsi *vsi, u16 vlan_id, enum ice_sw_fwd_act_type action) ice_fltr_add_vlan() argument 364 ice_fltr_remove_vlan(struct ice_vsi *vsi, u16 vlan_id, enum ice_sw_fwd_act_type action) ice_fltr_remove_vlan() argument 378 ice_fltr_add_eth(struct ice_vsi *vsi, u16 ethertype, u16 flag, enum ice_sw_fwd_act_type action) ice_fltr_add_eth() argument 392 ice_fltr_remove_eth(struct ice_vsi *vsi, u16 ethertype, u16 flag, enum ice_sw_fwd_act_type action) ice_fltr_remove_eth() argument [all...] |
/kernel/linux/linux-5.10/lib/ |
H A 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 in notifier_err_inject_init() [all...] |
/kernel/linux/linux-6.6/lib/ |
H A 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 in notifier_err_inject_init() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
H A D | vlan.c | 12 u32 *action, struct netlink_ext_ack *extack) in add_vlan_prio_tag_rewrite_action() 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() 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() 82 NL_SET_ERR_MSG_MOD(extack, "Unexpected action i in parse_tc_vlan_action() 10 add_vlan_prio_tag_rewrite_action(struct mlx5e_priv *priv, struct mlx5e_tc_flow_parse_attr *parse_attr, u32 *action, struct netlink_ext_ack *extack) add_vlan_prio_tag_rewrite_action() argument 33 parse_tc_vlan_action(struct mlx5e_priv *priv, const struct flow_action_entry *act, struct mlx5_esw_flow_attr *attr, u32 *action, struct netlink_ext_ack *extack, struct mlx5e_tc_act_parse_state *parse_state) parse_tc_vlan_action() argument [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/ |
H A 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 mirre [all...] |
/kernel/linux/linux-5.10/drivers/platform/x86/intel_speed_select_if/ |
H A D | isst_if_mbox_msr.c | 108 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 in isst_if_mbox_proc_cmd() [all...] |
/kernel/linux/linux-6.6/drivers/platform/x86/intel/speed_select_if/ |
H A D | isst_if_mbox_msr.c | 108 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 in isst_if_mbox_proc_cmd() [all...] |
/kernel/linux/linux-5.10/arch/loongarch/loongson64/ |
H A D | smp.c | 47 static void (*ipi_write_action)(int cpu, u32 action); 93 u32 action; in csr_ipi_read_clear() local 96 action = iocsr_read32(LOONGARCH_IOCSR_IPI_STATUS); in csr_ipi_read_clear() 98 iocsr_write32(action, LOONGARCH_IOCSR_IPI_CLEAR); in csr_ipi_read_clear() 100 return action; in csr_ipi_read_clear() 103 static void csr_ipi_write_action(int cpu, u32 action) in csr_ipi_write_action() argument 107 while ((irq = ffs(action))) { in csr_ipi_write_action() 112 action &= ~BIT(irq - 1); in csr_ipi_write_action() 118 u32 action; in legacy_ipi_read_clear() local 121 action in legacy_ipi_read_clear() 128 legacy_ipi_write_action(int cpu, u32 action) legacy_ipi_write_action() argument 167 loongson3_send_ipi_single(int cpu, unsigned int action) loongson3_send_ipi_single() argument 173 loongson3_send_ipi_mask(const struct cpumask *mask, unsigned int action) loongson3_send_ipi_mask() argument 183 unsigned int action; loongson3_ipi_interrupt() local [all...] |
/kernel/linux/linux-6.6/security/integrity/ima/ |
H A D | ima_policy.c | 100 int action; member 137 * written in terms of .action, .func, .mask, .fsmagic, .uid, .gid, 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 744 int action = 0, actmask = flags | (flags << 1); ima_match_policy() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | tc_restrictions.sh | 48 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 152 check_err $? "Failed to add rule with single mirror action" 158 action mirre [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_fltr.c | 223 * @action: filter action 227 const u8 *mac, enum ice_sw_fwd_act_type action) in ice_fltr_add_mac_to_list() 234 info.fltr_act = action; in ice_fltr_add_mac_to_list() 274 * @action: filter action 279 enum ice_sw_fwd_act_type action) in ice_fltr_add_eth_to_list() 285 info.fltr_act = action; in ice_fltr_add_eth_to_list() 302 * @action: action t 226 ice_fltr_add_mac_to_list(struct ice_vsi *vsi, struct list_head *list, const u8 *mac, enum ice_sw_fwd_act_type action) ice_fltr_add_mac_to_list() argument 277 ice_fltr_add_eth_to_list(struct ice_vsi *vsi, struct list_head *list, u16 ethertype, u16 flag, enum ice_sw_fwd_act_type action) ice_fltr_add_eth_to_list() argument 306 ice_fltr_prepare_mac(struct ice_vsi *vsi, const u8 *mac, enum ice_sw_fwd_act_type action, int (*mac_action)(struct ice_vsi *, struct list_head *)) ice_fltr_prepare_mac() argument 331 ice_fltr_prepare_mac_and_broadcast(struct ice_vsi *vsi, const u8 *mac, enum ice_sw_fwd_act_type action, int(*mac_action) (struct ice_vsi *, struct list_head *)) ice_fltr_prepare_mac_and_broadcast() argument 382 ice_fltr_prepare_eth(struct ice_vsi *vsi, u16 ethertype, u16 flag, enum ice_sw_fwd_act_type action, int (*eth_action)(struct ice_vsi *, struct list_head *)) ice_fltr_prepare_eth() argument 403 ice_fltr_add_mac(struct ice_vsi *vsi, const u8 *mac, enum ice_sw_fwd_act_type action) ice_fltr_add_mac() argument 416 ice_fltr_add_mac_and_broadcast(struct ice_vsi *vsi, const u8 *mac, enum ice_sw_fwd_act_type action) ice_fltr_add_mac_and_broadcast() argument 429 ice_fltr_remove_mac(struct ice_vsi *vsi, const u8 *mac, enum ice_sw_fwd_act_type action) ice_fltr_remove_mac() argument 462 ice_fltr_add_eth(struct ice_vsi *vsi, u16 ethertype, u16 flag, enum ice_sw_fwd_act_type action) ice_fltr_add_eth() argument 476 ice_fltr_remove_eth(struct ice_vsi *vsi, u16 ethertype, u16 flag, enum ice_sw_fwd_act_type action) ice_fltr_remove_eth() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | mld-mac.c | 20 u32 action) in iwl_mvm_mld_mac_ctxt_cmd_common() 27 cmd->action = cpu_to_le32(action); in iwl_mvm_mld_mac_ctxt_cmd_common() 89 IWL_ERR(mvm, "Failed to send MAC_CONFIG_CMD (action:%d): %d\n", in iwl_mvm_mld_mac_ctxt_send_cmd() 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() 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() 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() 17 iwl_mvm_mld_mac_ctxt_cmd_common(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_mac_config_cmd *cmd, u32 action) iwl_mvm_mld_mac_ctxt_cmd_common() argument 94 iwl_mvm_mld_mac_ctxt_cmd_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 action, bool force_assoc_off) iwl_mvm_mld_mac_ctxt_cmd_sta() argument 159 iwl_mvm_mld_mac_ctxt_cmd_listener(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 action) iwl_mvm_mld_mac_ctxt_cmd_listener() argument 178 iwl_mvm_mld_mac_ctxt_cmd_ibss(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 action) iwl_mvm_mld_mac_ctxt_cmd_ibss() argument 195 iwl_mvm_mld_mac_ctxt_cmd_p2p_device(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 action) iwl_mvm_mld_mac_ctxt_cmd_p2p_device() argument 214 iwl_mvm_mld_mac_ctxt_cmd_ap_go(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 action) iwl_mvm_mld_mac_ctxt_cmd_ap_go() argument 234 iwl_mvm_mld_mac_ctx_send(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 action, bool force_assoc_off) iwl_mvm_mld_mac_ctx_send() argument [all...] |
/kernel/linux/linux-5.10/security/integrity/ima/ |
H A D | ima_policy.c | 70 int action; member 93 * written in terms of .action, .func, .mask, .fsmagic, .uid, and .fowner 103 {.action = DONT_MEASURE, .fsmagic = PROC_SUPER_MAGIC, .flags = IMA_FSMAGIC}, 104 {.action = DONT_MEASURE, .fsmagic = SYSFS_MAGIC, .flags = IMA_FSMAGIC}, 105 {.action = DONT_MEASURE, .fsmagic = DEBUGFS_MAGIC, .flags = IMA_FSMAGIC}, 106 {.action = DONT_MEASURE, .fsmagic = TMPFS_MAGIC, .flags = IMA_FSMAGIC}, 107 {.action = DONT_MEASURE, .fsmagic = DEVPTS_SUPER_MAGIC, .flags = IMA_FSMAGIC}, 108 {.action = DONT_MEASURE, .fsmagic = BINFMTFS_MAGIC, .flags = IMA_FSMAGIC}, 109 {.action = DONT_MEASURE, .fsmagic = SECURITYFS_MAGIC, .flags = IMA_FSMAGIC}, 110 {.action 650 int action = 0, actmask = flags | (flags << 1); ima_match_policy() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mscc/ |
H A D | ocelot_flower.c | 181 "Last action must be GOTO"); in ocelot_flower_parse_ingress_vlan_modify() 191 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 in ocelot_flower_parse_egress_vlan_modify() 235 const struct flow_action *action = &f->rule->action; ocelot_flower_parse_action() local [all...] |