Searched refs:flow_action (Results 1 - 25 of 36) sorted by relevance

12

/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dact.c67 * @flow_action: flow action to parse.
76 struct flow_action *flow_action,
82 parse_state->flow_action = flow_action;
87 struct flow_action *flow_action, int from, int to,
98 flow_action_for_each(i, act, flow_action) {
74 mlx5e_tc_act_init_parse_state(struct mlx5e_tc_act_parse_state *parse_state, struct mlx5e_tc_flow *flow, struct flow_action *flow_action, struct netlink_ext_ack *extack) argument
86 mlx5e_tc_act_post_parse(struct mlx5e_tc_act_parse_state *parse_state, struct flow_action *flow_action, int from, int to, struct mlx5_flow_attr *attr, enum mlx5_flow_namespace_type ns_type) argument
H A Dact.h16 struct flow_action *flow_action; member in struct:mlx5e_tc_act_parse_state
110 struct flow_action *flow_action,
115 struct flow_action *flow_action, int from, int to,
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Dhelper.h17 u16 vlan_id, u32 flow_action);
H A Dhelper.c52 u16 vlan_id, u32 flow_action)
71 flow_act.action = flow_action;
49 esw_egress_acl_vlan_create(struct mlx5_eswitch *esw, struct mlx5_vport *vport, struct mlx5_flow_destination *fwd_dest, u16 vlan_id, u32 flow_action) argument
/linux-master/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,
/linux-master/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,
55 struct flow_action *actions = &cls->rule->action;
H A Dcxgb4_tc_flower.c492 struct flow_action *actions,
683 struct flow_action *actions,
/linux-master/include/net/
H A Dflow_offload.h334 struct flow_action { struct
339 static inline bool flow_action_has_entries(const struct flow_action *action)
350 static inline bool flow_offload_has_one_action(const struct flow_action *action)
355 static inline bool flow_action_is_last_entry(const struct flow_action *action,
367 flow_action_mixed_hw_stats_check(const struct flow_action *action,
388 flow_action_first_entry_get(const struct flow_action *action)
395 __flow_action_hw_stats_check(const struct flow_action *action,
425 flow_action_hw_stats_check(const struct flow_action *action,
433 flow_action_basic_hw_stats_check(const struct flow_action *action,
441 struct flow_action actio
[all...]
H A Dpkt_cls.h575 int tc_setup_offload_action(struct flow_action *flow_action,
578 void tc_cleanup_offload_action(struct flow_action *flow_action);
579 int tc_setup_action(struct flow_action *flow_action,
/linux-master/drivers/net/ethernet/marvell/prestera/
H A Dprestera_flower.c63 struct flow_action *flow_action,
71 if (!flow_action_has_entries(flow_action))
74 if (!flow_action_mixed_hw_stats_check(flow_action, extack))
77 act = flow_action_first_entry_get(flow_action);
92 flow_action_for_each(i, act, flow_action) {
61 prestera_flower_parse_actions(struct prestera_flow_block *block, struct prestera_acl_rule *rule, struct flow_action *flow_action, u32 chain_index, struct netlink_ext_ack *extack) argument
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c2062 struct flow_action *flow_action = &rule->action; local
2069 flow_action_for_each(i, act, flow_action) {
3375 is_flow_action_modify_ip_header(struct flow_action *flow_action) argument
3386 flow_action_for_each(i, act, flow_action) {
3419 struct flow_action *flow_action,
3438 modify_ip_header = is_flow_action_modify_ip_header(flow_action);
3473 struct flow_action *flow_actio
3417 modify_header_match_supported(struct mlx5e_priv *priv, struct mlx5_flow_spec *spec, struct flow_action *flow_action, u32 actions, struct netlink_ext_ack *extack) argument
3472 actions_match_supported(struct mlx5e_priv *priv, struct flow_action *flow_action, u32 actions, struct mlx5e_tc_flow_parse_attr *parse_attr, struct mlx5e_tc_flow *flow, struct netlink_ext_ack *extack) argument
3899 parse_tc_actions(struct mlx5e_tc_act_parse_state *parse_state, struct flow_action *flow_action) argument
3997 flow_action_supported(struct flow_action *flow_action, struct netlink_ext_ack *extack) argument
4015 parse_tc_nic_actions(struct mlx5e_priv *priv, struct flow_action *flow_action, struct mlx5e_tc_flow *flow, struct netlink_ext_ack *extack) argument
4149 parse_tc_fdb_actions(struct mlx5e_priv *priv, struct flow_action *flow_action, struct mlx5e_tc_flow *flow, struct netlink_ext_ack *extack) argument
4966 scan_tc_matchall_fdb_actions(struct mlx5e_priv *priv, struct flow_action *flow_action, struct netlink_ext_ack *extack) argument
[all...]
/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_police.c72 const struct flow_action *action,
133 struct flow_action *action,
H A Dlan966x_tc_flower.c260 struct flow_action *act = &rule->action;
H A Dlan966x_main.h671 struct flow_action *action,
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_flower.c18 static int mlxsw_sp_policer_validate(const struct flow_action *action,
61 struct flow_action *flow_action,
70 if (!flow_action_has_entries(flow_action))
72 if (!flow_action_mixed_hw_stats_check(flow_action, extack))
75 act = flow_action_first_entry_get(flow_action);
88 flow_action_for_each(i, act, flow_action) {
244 err = mlxsw_sp_policer_validate(flow_action, act, extack);
58 mlxsw_sp_flower_parse_actions(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_flow_block *block, struct mlxsw_sp_acl_rule_info *rulei, struct flow_action *flow_action, struct netlink_ext_ack *extack) argument
/linux-master/net/sched/
H A Dact_ct.c63 tcf_ct_flow_table_flow_action_get_next(struct flow_action *flow_action) argument
65 int i = flow_action->num_entries++;
67 return &flow_action->entries[i];
70 static void tcf_ct_add_mangle_action(struct flow_action *action,
93 struct flow_action *action)
108 tcf_ct_add_ipv6_addr_mangle_action(struct flow_action *action,
123 struct flow_action *action)
138 struct flow_action *action)
156 struct flow_action *actio
[all...]
H A Dcls_api.c3764 void tc_cleanup_offload_action(struct flow_action *flow_action) argument
3769 flow_action_for_each(i, entry, flow_action) {
3795 int tc_setup_action(struct flow_action *flow_action, argument
3814 entry = &flow_action->entries[j];
3840 tc_cleanup_offload_action(flow_action);
3848 int tc_setup_offload_action(struct flow_action *flow_action, argument
3860 return tc_setup_action(flow_action, ext
[all...]
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_tc.c178 struct flow_action *actions,
199 static int otx2_policer_validate(const struct flow_action *action,
237 struct flow_action *actions = &cls->rule->action;
435 struct flow_action *flow_action,
452 if (!flow_action_has_entries(flow_action)) {
457 flow_action_for_each(i, act, flow_action) {
494 err = otx2_policer_validate(flow_action, act, extack);
1409 struct flow_action *actions = &cls->rule->action;
434 otx2_tc_parse_actions(struct otx2_nic *nic, struct flow_action *flow_action, struct npc_install_flow_req *req, struct flow_cls_offload *f, struct otx2_tc_flow *node) argument
/linux-master/drivers/net/ethernet/qlogic/qede/
H A Dqede_filter.c1667 struct flow_action *flow_action,
1673 if (!flow_action_has_entries(flow_action)) {
1678 if (!flow_action_basic_hw_stats_check(flow_action, extack))
1681 flow_action_for_each(i, act, flow_action) {
1942 struct flow_action *flow_action,
1966 if (qede_parse_actions(edev, flow_action, NULL))
1666 qede_parse_actions(struct qede_dev *edev, struct flow_action *flow_action, struct netlink_ext_ack *extack) argument
1941 qede_flow_spec_validate(struct qede_dev *edev, struct flow_action *flow_action, struct qede_arfs_tuple *t, __u32 location) argument
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_ct.c282 struct flow_action *flow_action = &rule->action; local
287 flow_action_for_each(i, act, flow_action) {
538 struct flow_action *flow_action = &flow_rule->action; local
542 flow_action_for_each(i, act, flow_action) {
671 struct flow_action *flow_action = &flow_rule->action; local
677 flow_action_for_each(i, act, flow_action) {
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_tc_lib.c1868 struct flow_action *flow_action = &rule->action; local
1875 if (!flow_action_has_entries(flow_action))
1878 flow_action_for_each(i, act, flow_action) {
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_tc.c283 struct flow_action *flow_action,
299 if (!flow_action_has_entries(flow_action)) {
304 if (!flow_action_basic_hw_stats_check(flow_action, extack))
307 flow_action_for_each(i, act, flow_action) {
281 bnxt_tc_parse_actions(struct bnxt *bp, struct bnxt_tc_actions *actions, struct flow_action *flow_action, struct netlink_ext_ack *extack) argument
/linux-master/drivers/net/dsa/sja1105/
H A Dsja1105_flower.c303 static int sja1105_policer_validate(const struct flow_action *action,

Completed in 279 milliseconds

12