Home
last modified time | relevance | path

Searched refs:flow_action (Results 1 – 25 of 33) sorted by relevance

12

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dact.c76 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()
87 struct flow_action *flow_action, int from, int to, in mlx5e_tc_act_post_parse() argument
98 flow_action_for_each(i, act, flow_action) { in mlx5e_tc_act_post_parse()
H A Dact.h16 struct flow_action *flow_action; member
105 struct flow_action *flow_action,
110 struct flow_action *flow_action, int from, int to,
H A Dct.c15 flow_action_is_last_entry(parse_state->flow_action, act)); in tc_act_can_offload_ct()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_flower.h127 struct flow_action *actions,
130 struct flow_action *actions,
H A Dcxgb4_tc_matchall.c11 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()
H A Dcxgb4_tc_flower.c484 struct flow_action *actions, in cxgb4_process_flow_actions()
670 struct flow_action *actions, in cxgb4_validate_flow_actions()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_flower.c18 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()
249 err = mlxsw_sp_policer_validate(flow_action, act, extack); in mlxsw_sp_flower_parse_actions()
/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_flower.c63 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/net/sched/
H A Dact_ct.c70 tcf_ct_flow_table_flow_action_get_next(struct flow_action *flow_action) in tcf_ct_flow_table_flow_action_get_next() argument
72 int i = flow_action->num_entries++; in tcf_ct_flow_table_flow_action_get_next()
74 return &flow_action->entries[i]; in tcf_ct_flow_table_flow_action_get_next()
77 static void tcf_ct_add_mangle_action(struct flow_action *action, in tcf_ct_add_mangle_action()
100 struct flow_action *action) in tcf_ct_flow_table_add_action_nat_ipv4()
115 tcf_ct_add_ipv6_addr_mangle_action(struct flow_action *action, in tcf_ct_add_ipv6_addr_mangle_action()
130 struct flow_action *action) in tcf_ct_flow_table_add_action_nat_ipv6()
145 struct flow_action *action) in tcf_ct_flow_table_add_action_nat_tcp()
163 struct flow_action *action) in tcf_ct_flow_table_add_action_nat_udp()
181 struct flow_action *action) in tcf_ct_flow_table_add_action_meta()
[all …]
H A Dcls_api.c3837 void tc_cleanup_offload_action(struct flow_action *flow_action) in tc_cleanup_offload_action() argument
3842 flow_action_for_each(i, entry, flow_action) { in tc_cleanup_offload_action()
3868 int tc_setup_action(struct flow_action *flow_action, in tc_setup_action() argument
3887 entry = &flow_action->entries[j]; in tc_setup_action()
3913 tc_cleanup_offload_action(flow_action); in tc_setup_action()
3921 int tc_setup_offload_action(struct flow_action *flow_action, in tc_setup_offload_action() argument
3933 return tc_setup_action(flow_action, exts->actions, miss_cookie_base, in tc_setup_offload_action()
/linux/include/net/
H A Dpkt_cls.h586 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/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Dhelper.c52 u16 vlan_id, u32 flow_action) in esw_egress_acl_vlan_create() argument
71 flow_act.action = flow_action; in esw_egress_acl_vlan_create()
H A Dhelper.h17 u16 vlan_id, u32 flow_action);
/linux/drivers/net/ethernet/mscc/
H A Docelot_police.h37 int ocelot_policer_validate(const struct flow_action *action,
H A Docelot_police.c161 int ocelot_policer_validate(const struct flow_action *action, in ocelot_policer_validate()
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_police.c72 const struct flow_action *action, in lan966x_police_validate()
133 struct flow_action *action, in lan966x_police_port_add()
H A Dlan966x_tc_flower.c266 struct flow_action *act = &rule->action; in lan966x_tc_flower_action_check()
H A Dlan966x_main.h625 struct flow_action *action,
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_filter.c1664 struct flow_action *flow_action, in qede_parse_actions() argument
1670 if (!flow_action_has_entries(flow_action)) { in qede_parse_actions()
1675 if (!flow_action_basic_hw_stats_check(flow_action, extack)) in qede_parse_actions()
1678 flow_action_for_each(i, act, flow_action) { in qede_parse_actions()
1955 struct flow_action *flow_action, in qede_flow_spec_validate() argument
1982 err = qede_parse_actions(edev, flow_action, extack); in qede_flow_spec_validate()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_ct.c292 struct flow_action *flow_action = &rule->action; in mlx5_tc_ct_rule_to_tuple_nat() local
297 flow_action_for_each(i, act, flow_action) { in mlx5_tc_ct_rule_to_tuple_nat()
550 struct flow_action *flow_action = &flow_rule->action; in mlx5_tc_ct_get_ct_metadata_action() local
554 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/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_tc.c283 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/drivers/net/ethernet/intel/ice/
H A Dice_tc_lib.c2098 struct flow_action *flow_action = &rule->action; in ice_parse_tc_flower_actions() local
2105 if (!flow_action_has_entries(flow_action)) in ice_parse_tc_flower_actions()
2108 flow_action_for_each(i, act, flow_action) { in ice_parse_tc_flower_actions()
/linux/drivers/net/dsa/sja1105/
H A Dsja1105_flower.c306 static int sja1105_policer_validate(const struct flow_action *action, in sja1105_policer_validate()
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dconntrack.c2150 struct flow_action *flow_action = in nfp_fl_ct_offload_nft_supported() local
2155 flow_action_for_each(i, act, flow_action) { in nfp_fl_ct_offload_nft_supported()
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_qos.c1085 static int enetc_psfp_policer_validate(const struct flow_action *action, in enetc_psfp_policer_validate()
1399 struct flow_action *action = &rule->action; in enetc_config_clsflower()

12