Home
last modified time | relevance | path

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

/Linux-v5.10/include/net/
Dflow_offload.h278 struct flow_action { struct
283 static inline bool flow_action_has_entries(const struct flow_action *action) in flow_action_has_entries() argument
294 static inline bool flow_offload_has_one_action(const struct flow_action *action) in flow_offload_has_one_action()
305 flow_action_mixed_hw_stats_check(const struct flow_action *action, in flow_action_mixed_hw_stats_check()
326 flow_action_first_entry_get(const struct flow_action *action) in flow_action_first_entry_get()
333 __flow_action_hw_stats_check(const struct flow_action *action, in __flow_action_hw_stats_check()
363 flow_action_hw_stats_check(const struct flow_action *action, in flow_action_hw_stats_check()
371 flow_action_basic_hw_stats_check(const struct flow_action *action, in flow_action_basic_hw_stats_check()
379 struct flow_action action;
Dpkt_cls.h539 int tc_setup_flow_action(struct flow_action *flow_action,
541 void tc_cleanup_flow_action(struct flow_action *flow_action);
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_flower.h127 struct flow_action *actions,
130 struct flow_action *actions,
Dcxgb4_tc_flower.c492 struct flow_action *actions, in cxgb4_process_flow_actions()
683 struct flow_action *actions, in cxgb4_validate_flow_actions()
Dcxgb4_tc_matchall.c15 struct flow_action *actions = &cls->rule->action; in cxgb4_matchall_egress_validate()
/Linux-v5.10/net/sched/
Dact_ct.c60 tcf_ct_flow_table_flow_action_get_next(struct flow_action *flow_action) in tcf_ct_flow_table_flow_action_get_next() argument
62 int i = flow_action->num_entries++; in tcf_ct_flow_table_flow_action_get_next()
64 return &flow_action->entries[i]; in tcf_ct_flow_table_flow_action_get_next()
67 static void tcf_ct_add_mangle_action(struct flow_action *action, in tcf_ct_add_mangle_action()
90 struct flow_action *action) in tcf_ct_flow_table_add_action_nat_ipv4()
105 tcf_ct_add_ipv6_addr_mangle_action(struct flow_action *action, in tcf_ct_add_ipv6_addr_mangle_action()
120 struct flow_action *action) in tcf_ct_flow_table_add_action_nat_ipv6()
135 struct flow_action *action) in tcf_ct_flow_table_add_action_nat_tcp()
153 struct flow_action *action) in tcf_ct_flow_table_add_action_nat_udp()
170 struct flow_action *action) in tcf_ct_flow_table_add_action_meta()
[all …]
Dcls_api.c3474 void tc_cleanup_flow_action(struct flow_action *flow_action) in tc_cleanup_flow_action() argument
3479 flow_action_for_each(i, entry, flow_action) { in tc_cleanup_flow_action()
3557 int tc_setup_flow_action(struct flow_action *flow_action, in tc_setup_flow_action() argument
3574 entry = &flow_action->entries[j]; in tc_setup_flow_action()
3649 entry = &flow_action->entries[++j]; in tc_setup_flow_action()
3728 tc_cleanup_flow_action(flow_action); in tc_setup_flow_action()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_flower.c21 struct flow_action *flow_action, in mlxsw_sp_flower_parse_actions() argument
29 if (!flow_action_has_entries(flow_action)) in mlxsw_sp_flower_parse_actions()
31 if (!flow_action_mixed_hw_stats_check(flow_action, extack)) in mlxsw_sp_flower_parse_actions()
34 act = flow_action_first_entry_get(flow_action); in mlxsw_sp_flower_parse_actions()
47 flow_action_for_each(i, act, flow_action) { in mlxsw_sp_flower_parse_actions()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Dhelper.c48 u16 vlan_id, u32 flow_action) in esw_egress_acl_vlan_create() argument
67 flow_act.action = flow_action; in esw_egress_acl_vlan_create()
Dhelper.h17 u16 vlan_id, u32 flow_action);
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c1879 struct flow_action *flow_action = &rule->action; in flow_has_tc_fwd_action() local
1883 flow_action_for_each(i, act, flow_action) { in flow_has_tc_fwd_action()
3197 struct flow_action *flow_action, in modify_header_match_supported() argument
3221 flow_action_for_each(i, act, flow_action) { in modify_header_match_supported()
3261 struct flow_action *flow_action, in actions_match_supported() argument
3287 flow_action, actions, in actions_match_supported()
3432 struct flow_action *flow_action, in parse_tc_nic_actions() argument
3444 if (!flow_action_has_entries(flow_action)) in parse_tc_nic_actions()
3447 if (!flow_action_hw_stats_check(flow_action, extack, in parse_tc_nic_actions()
3455 flow_action_for_each(i, act, flow_action) { in parse_tc_nic_actions()
[all …]
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.c222 struct flow_action *flow_action = &rule->action; in mlx5_tc_ct_rule_to_tuple_nat() local
227 flow_action_for_each(i, act, flow_action) { in mlx5_tc_ct_rule_to_tuple_nat()
434 struct flow_action *flow_action = &flow_rule->action; in mlx5_tc_ct_get_ct_metadata_action() local
438 flow_action_for_each(i, act, flow_action) { in mlx5_tc_ct_get_ct_metadata_action()
567 struct flow_action *flow_action = &flow_rule->action; in mlx5_tc_ct_entry_create_nat() local
576 flow_action_for_each(i, act, flow_action) { in mlx5_tc_ct_entry_create_nat()
/Linux-v5.10/drivers/net/ethernet/qlogic/qede/
Dqede_filter.c1676 struct flow_action *flow_action, in qede_parse_actions() argument
1682 if (!flow_action_has_entries(flow_action)) { in qede_parse_actions()
1687 if (!flow_action_basic_hw_stats_check(flow_action, extack)) in qede_parse_actions()
1690 flow_action_for_each(i, act, flow_action) { in qede_parse_actions()
1948 struct flow_action *flow_action, in qede_flow_spec_validate() argument
1972 if (qede_parse_actions(edev, flow_action, NULL)) in qede_flow_spec_validate()
/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c282 struct flow_action *flow_action, in bnxt_tc_parse_actions() argument
298 if (!flow_action_has_entries(flow_action)) { in bnxt_tc_parse_actions()
303 if (!flow_action_basic_hw_stats_check(flow_action, extack)) in bnxt_tc_parse_actions()
306 flow_action_for_each(i, act, flow_action) { in bnxt_tc_parse_actions()
/Linux-v5.10/drivers/net/ethernet/netronome/nfp/flower/
Daction.c1161 static bool nfp_fl_check_mangle_start(struct flow_action *flow_act, in nfp_fl_check_mangle_start()
1179 static bool nfp_fl_check_mangle_end(struct flow_action *flow_act, in nfp_fl_check_mangle_end()
/Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_tc.c369 struct flow_action *action, in tc_parse_flow_actions()
/Linux-v5.10/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c1344 struct flow_action *action = &rule->action; in enetc_config_clsflower()
/Linux-v5.10/drivers/infiniband/core/
Duverbs_cmd.c2651 ib_spec->action.act = uobj_get_obj_read(flow_action, in kern_spec_to_ib_spec_action()