Home
last modified time | relevance | path

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

/Linux-v5.4/include/net/
Dflow_offload.h219 struct flow_action { struct
224 static inline bool flow_action_has_entries(const struct flow_action *action) in flow_action_has_entries() argument
235 static inline bool flow_offload_has_one_action(const struct flow_action *action) in flow_offload_has_one_action()
245 struct flow_action action;
Dpkt_cls.h506 int tc_setup_flow_action(struct flow_action *flow_action,
508 void tc_cleanup_flow_action(struct flow_action *flow_action);
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_flower.c20 struct flow_action *flow_action, in mlxsw_sp_flower_parse_actions() argument
27 if (!flow_action_has_entries(flow_action)) in mlxsw_sp_flower_parse_actions()
35 flow_action_for_each(i, act, flow_action) { in mlxsw_sp_flower_parse_actions()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c2657 struct flow_action *flow_action, in modify_header_match_supported() argument
2676 flow_action_for_each(i, act, flow_action) { in modify_header_match_supported()
2701 struct flow_action *flow_action, in actions_match_supported() argument
2721 flow_action, actions, in actions_match_supported()
2810 struct flow_action *flow_action, in parse_tc_nic_actions() argument
2821 if (!flow_action_has_entries(flow_action)) in parse_tc_nic_actions()
2826 flow_action_for_each(i, act, flow_action) { in parse_tc_nic_actions()
2913 if (!actions_match_supported(priv, flow_action, parse_attr, flow, extack)) in parse_tc_nic_actions()
3207 struct flow_action *flow_action, in parse_tc_fdb_actions() argument
3222 if (!flow_action_has_entries(flow_action)) in parse_tc_fdb_actions()
[all …]
/Linux-v5.4/drivers/net/ethernet/qlogic/qede/
Dqede_filter.c1749 struct flow_action *flow_action) in qede_parse_actions() argument
1754 if (!flow_action_has_entries(flow_action)) { in qede_parse_actions()
1759 flow_action_for_each(i, act, flow_action) { in qede_parse_actions()
2017 struct flow_action *flow_action, in qede_flow_spec_validate() argument
2041 if (qede_parse_actions(edev, flow_action)) in qede_flow_spec_validate()
/Linux-v5.4/net/sched/
Dcls_api.c3387 void tc_cleanup_flow_action(struct flow_action *flow_action) in tc_cleanup_flow_action() argument
3392 flow_action_for_each(i, entry, flow_action) in tc_cleanup_flow_action()
3437 int tc_setup_flow_action(struct flow_action *flow_action, in tc_setup_flow_action() argument
3453 entry = &flow_action->entries[j]; in tc_setup_flow_action()
3520 entry = &flow_action->entries[++j]; in tc_setup_flow_action()
3584 tc_cleanup_flow_action(flow_action); in tc_setup_flow_action()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c116 struct flow_action *flow_action) in bnxt_tc_parse_actions() argument
121 if (!flow_action_has_entries(flow_action)) { in bnxt_tc_parse_actions()
126 flow_action_for_each(i, act, flow_action) { in bnxt_tc_parse_actions()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/
Daction.c1132 static bool nfp_fl_check_mangle_start(struct flow_action *flow_act, in nfp_fl_check_mangle_start()
1150 static bool nfp_fl_check_mangle_end(struct flow_action *flow_act, in nfp_fl_check_mangle_end()
/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_tc.c371 struct flow_action *action, in tc_parse_flow_actions()
/Linux-v5.4/drivers/infiniband/core/
Duverbs_cmd.c2684 ib_spec->action.act = uobj_get_obj_read(flow_action, in kern_spec_to_ib_spec_action()