Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/net/
H A 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;
H A Dpkt_cls.h539 int tc_setup_flow_action(struct flow_action *flow_action,
541 void tc_cleanup_flow_action(struct flow_action *flow_action);
/OK3568_Linux_fs/kernel/net/sched/
H A 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 …]
H A Dcls_api.c3487 void tc_cleanup_flow_action(struct flow_action *flow_action) in tc_cleanup_flow_action() argument
3492 flow_action_for_each(i, entry, flow_action) { in tc_cleanup_flow_action()
3570 int tc_setup_flow_action(struct flow_action *flow_action, in tc_setup_flow_action() argument
3587 entry = &flow_action->entries[j]; in tc_setup_flow_action()
3662 entry = &flow_action->entries[++j]; in tc_setup_flow_action()
3742 tc_cleanup_flow_action(flow_action); in tc_setup_flow_action()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_flower.h127 struct flow_action *actions,
130 struct flow_action *actions,
H A Dcxgb4_tc_flower.c492 struct flow_action *actions, in cxgb4_process_flow_actions()
683 struct flow_action *actions, in cxgb4_validate_flow_actions()
H A Dcxgb4_tc_matchall.c15 struct flow_action *actions = &cls->rule->action; in cxgb4_matchall_egress_validate()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A 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()
H A Dhelper.h17 u16 vlan_id, u32 flow_action);
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c1916 struct flow_action *flow_action = &rule->action; in flow_has_tc_fwd_action() local
1920 flow_action_for_each(i, act, flow_action) { in flow_has_tc_fwd_action()
3298 struct flow_action *flow_action, in modify_header_match_supported() argument
3322 flow_action_for_each(i, act, flow_action) { in modify_header_match_supported()
3353 struct flow_action *flow_action, in actions_match_supported() argument
3379 flow_action, actions, in actions_match_supported()
3524 struct flow_action *flow_action, in parse_tc_nic_actions() argument
3536 if (!flow_action_has_entries(flow_action)) in parse_tc_nic_actions()
3539 if (!flow_action_hw_stats_check(flow_action, extack, in parse_tc_nic_actions()
3547 flow_action_for_each(i, act, flow_action) { in parse_tc_nic_actions()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_ct.c262 struct flow_action *flow_action = &rule->action; in mlx5_tc_ct_rule_to_tuple_nat() local
267 flow_action_for_each(i, act, flow_action) { in mlx5_tc_ct_rule_to_tuple_nat()
475 struct flow_action *flow_action = &flow_rule->action; in mlx5_tc_ct_get_ct_metadata_action() local
479 flow_action_for_each(i, act, flow_action) { in mlx5_tc_ct_get_ct_metadata_action()
608 struct flow_action *flow_action = &flow_rule->action; in mlx5_tc_ct_entry_create_nat() local
617 flow_action_for_each(i, act, flow_action) { in mlx5_tc_ct_entry_create_nat()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qede/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnxt/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/flower/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_tc.c396 struct flow_action *action, in tc_parse_flow_actions()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/enetc/
H A Denetc_qos.c1353 struct flow_action *action = &rule->action; in enetc_config_clsflower()
/OK3568_Linux_fs/kernel/drivers/infiniband/core/
H A Duverbs_cmd.c2654 ib_spec->action.act = uobj_get_obj_read(flow_action, in kern_spec_to_ib_spec_action()