/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
A D | act.c | 76 struct flow_action *flow_action, in mlx5e_tc_act_init_parse_state() argument 82 parse_state->flow_action = flow_action; in mlx5e_tc_act_init_parse_state() 86 mlx5e_tc_act_reorder_flow_actions(struct flow_action *flow_action, in mlx5e_tc_act_reorder_flow_actions() argument 92 flow_action_for_each(i, act, flow_action) { in mlx5e_tc_act_reorder_flow_actions() 98 flow_action_for_each(i, act, flow_action) { in mlx5e_tc_act_reorder_flow_actions() 107 struct flow_action *flow_action, in mlx5e_tc_act_post_parse() argument 118 flow_action_for_each(i, act, flow_action) { in mlx5e_tc_act_post_parse()
|
A D | act.h | 16 struct flow_action *flow_action; member 110 struct flow_action *flow_action, 114 mlx5e_tc_act_reorder_flow_actions(struct flow_action *flow_action, 119 struct flow_action *flow_action,
|
/linux-6.3-rc2/include/net/ |
A D | flow_offload.h | 328 struct flow_action { struct 333 static inline bool flow_action_has_entries(const struct flow_action *action) in flow_action_has_entries() argument 344 static inline bool flow_offload_has_one_action(const struct flow_action *action) in flow_offload_has_one_action() 349 static inline bool flow_action_is_last_entry(const struct flow_action *action, in flow_action_is_last_entry() 361 flow_action_mixed_hw_stats_check(const struct flow_action *action, in flow_action_mixed_hw_stats_check() 382 flow_action_first_entry_get(const struct flow_action *action) in flow_action_first_entry_get() 389 __flow_action_hw_stats_check(const struct flow_action *action, in __flow_action_hw_stats_check() 419 flow_action_hw_stats_check(const struct flow_action *action, in flow_action_hw_stats_check() 427 flow_action_basic_hw_stats_check(const struct flow_action *action, in flow_action_basic_hw_stats_check() 435 struct flow_action action; [all …]
|
A D | pkt_cls.h | 586 int tc_setup_offload_action(struct flow_action *flow_action, 589 void tc_cleanup_offload_action(struct flow_action *flow_action); 590 int tc_setup_action(struct flow_action *flow_action,
|
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4/ |
A D | cxgb4_tc_flower.h | 127 struct flow_action *actions, 130 struct flow_action *actions,
|
A D | cxgb4_tc_matchall.c | 11 static int cxgb4_policer_validate(const struct flow_action *action, in cxgb4_policer_validate() 55 struct flow_action *actions = &cls->rule->action; in cxgb4_matchall_egress_validate()
|
A D | cxgb4_tc_flower.c | 492 struct flow_action *actions, in cxgb4_process_flow_actions() 683 struct flow_action *actions, in cxgb4_validate_flow_actions()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_flower.c | 18 static int mlxsw_sp_policer_validate(const struct flow_action *action, in mlxsw_sp_policer_validate() 61 struct flow_action *flow_action, in mlxsw_sp_flower_parse_actions() argument 70 if (!flow_action_has_entries(flow_action)) in mlxsw_sp_flower_parse_actions() 72 if (!flow_action_mixed_hw_stats_check(flow_action, extack)) in mlxsw_sp_flower_parse_actions() 75 act = flow_action_first_entry_get(flow_action); in mlxsw_sp_flower_parse_actions() 88 flow_action_for_each(i, act, flow_action) { in mlxsw_sp_flower_parse_actions() 234 err = mlxsw_sp_policer_validate(flow_action, act, extack); in mlxsw_sp_flower_parse_actions()
|
/linux-6.3-rc2/drivers/net/ethernet/marvell/prestera/ |
A D | prestera_flower.c | 63 struct flow_action *flow_action, in prestera_flower_parse_actions() argument 71 if (!flow_action_has_entries(flow_action)) in prestera_flower_parse_actions() 74 if (!flow_action_mixed_hw_stats_check(flow_action, extack)) in prestera_flower_parse_actions() 77 act = flow_action_first_entry_get(flow_action); in prestera_flower_parse_actions() 92 flow_action_for_each(i, act, flow_action) { in prestera_flower_parse_actions()
|
/linux-6.3-rc2/net/sched/ |
A D | act_ct.c | 63 tcf_ct_flow_table_flow_action_get_next(struct flow_action *flow_action) in tcf_ct_flow_table_flow_action_get_next() argument 65 int i = flow_action->num_entries++; in tcf_ct_flow_table_flow_action_get_next() 67 return &flow_action->entries[i]; in tcf_ct_flow_table_flow_action_get_next() 93 struct flow_action *action) in tcf_ct_flow_table_add_action_nat_ipv4() 108 tcf_ct_add_ipv6_addr_mangle_action(struct flow_action *action, in tcf_ct_add_ipv6_addr_mangle_action() 123 struct flow_action *action) in tcf_ct_flow_table_add_action_nat_ipv6() 138 struct flow_action *action) in tcf_ct_flow_table_add_action_nat_tcp() 156 struct flow_action *action) in tcf_ct_flow_table_add_action_nat_udp() 174 struct flow_action *action) in tcf_ct_flow_table_add_action_meta() 200 struct flow_action *action) in tcf_ct_flow_table_add_action_nat() [all …]
|
A D | cls_api.c | 3702 void tc_cleanup_offload_action(struct flow_action *flow_action) in tc_cleanup_offload_action() argument 3707 flow_action_for_each(i, entry, flow_action) { in tc_cleanup_offload_action() 3733 int tc_setup_action(struct flow_action *flow_action, in tc_setup_action() argument 3752 entry = &flow_action->entries[j]; in tc_setup_action() 3778 tc_cleanup_offload_action(flow_action); in tc_setup_action() 3786 int tc_setup_offload_action(struct flow_action *flow_action, in tc_setup_offload_action() argument 3798 return tc_setup_action(flow_action, exts->actions, miss_cookie_base, in tc_setup_offload_action()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_tc.c | 2169 struct flow_action *flow_action = &rule->action; in flow_requires_tunnel_mapping() local 2176 flow_action_for_each(i, act, flow_action) { in flow_requires_tunnel_mapping() 3568 struct flow_action *flow_action, in modify_header_match_supported() argument 3592 flow_action_for_each(i, act, flow_action) { in modify_header_match_supported() 3654 struct flow_action *flow_action, in actions_match_supported() argument 4071 struct flow_action *flow_action) in parse_tc_actions() argument 4086 sizeof(flow_action), GFP_KERNEL); in parse_tc_actions() 4164 flow_action_supported(struct flow_action *flow_action, in flow_action_supported() argument 4183 struct flow_action *flow_action, in parse_tc_nic_actions() argument 4316 struct flow_action *flow_action, in parse_tc_fdb_actions() argument [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | otx2_tc.c | 206 struct flow_action *actions, in otx2_tc_validate_flow() 227 static int otx2_policer_validate(const struct flow_action *action, in otx2_policer_validate() 265 struct flow_action *actions = &cls->rule->action; in otx2_tc_egress_matchall_install() 377 struct flow_action *flow_action, in otx2_tc_parse_actions() argument 393 if (!flow_action_has_entries(flow_action)) { in otx2_tc_parse_actions() 398 flow_action_for_each(i, act, flow_action) { in otx2_tc_parse_actions() 431 err = otx2_policer_validate(flow_action, act, extack); in otx2_tc_parse_actions() 967 struct flow_action *actions = &cls->rule->action; in otx2_tc_ingress_matchall_install()
|
/linux-6.3-rc2/drivers/net/ethernet/mscc/ |
A D | ocelot_police.h | 37 int ocelot_policer_validate(const struct flow_action *action,
|
A D | ocelot_police.c | 161 int ocelot_policer_validate(const struct flow_action *action, in ocelot_policer_validate()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ |
A D | helper.h | 17 u16 vlan_id, u32 flow_action);
|
A D | helper.c | 51 u16 vlan_id, u32 flow_action) in esw_egress_acl_vlan_create() argument 70 flow_act.action = flow_action; in esw_egress_acl_vlan_create()
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/lan966x/ |
A D | lan966x_police.c | 75 const struct flow_action *action, in lan966x_police_validate() 136 struct flow_action *action, in lan966x_police_port_add()
|
A D | lan966x_tc_flower.c | 173 struct flow_action *act = &rule->action; in lan966x_tc_flower_action_check()
|
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qede/ |
A D | qede_filter.c | 1667 struct flow_action *flow_action, in qede_parse_actions() argument 1673 if (!flow_action_has_entries(flow_action)) { in qede_parse_actions() 1678 if (!flow_action_basic_hw_stats_check(flow_action, extack)) in qede_parse_actions() 1681 flow_action_for_each(i, act, flow_action) { in qede_parse_actions() 1939 struct flow_action *flow_action, in qede_flow_spec_validate() argument 1963 if (qede_parse_actions(edev, flow_action, NULL)) in qede_flow_spec_validate()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | tc_ct.c | 288 struct flow_action *flow_action = &rule->action; in mlx5_tc_ct_rule_to_tuple_nat() local 293 flow_action_for_each(i, act, flow_action) { in mlx5_tc_ct_rule_to_tuple_nat() 544 struct flow_action *flow_action = &flow_rule->action; in mlx5_tc_ct_get_ct_metadata_action() local 548 flow_action_for_each(i, act, flow_action) { in mlx5_tc_ct_get_ct_metadata_action() 683 struct flow_action *flow_action = &flow_rule->action; in mlx5_tc_ct_entry_create_nat() local 689 flow_action_for_each(i, act, flow_action) { in mlx5_tc_ct_entry_create_nat()
|
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_tc.c | 283 struct flow_action *flow_action, in bnxt_tc_parse_actions() argument 299 if (!flow_action_has_entries(flow_action)) { in bnxt_tc_parse_actions() 304 if (!flow_action_basic_hw_stats_check(flow_action, extack)) in bnxt_tc_parse_actions() 307 flow_action_for_each(i, act, flow_action) { in bnxt_tc_parse_actions()
|
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/ |
A D | ice_tc_lib.c | 1745 struct flow_action *flow_action = &rule->action; in ice_parse_tc_flower_actions() local 1752 if (!flow_action_has_entries(flow_action)) in ice_parse_tc_flower_actions() 1755 flow_action_for_each(i, act, flow_action) { in ice_parse_tc_flower_actions()
|
/linux-6.3-rc2/drivers/net/dsa/sja1105/ |
A D | sja1105_flower.c | 303 static int sja1105_policer_validate(const struct flow_action *action, in sja1105_policer_validate()
|
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/flower/ |
A D | action.c | 1221 static bool nfp_fl_check_mangle_start(struct flow_action *flow_act, in nfp_fl_check_mangle_start() 1239 static bool nfp_fl_check_mangle_end(struct flow_action *flow_act, in nfp_fl_check_mangle_end()
|