/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
H A D | act.c | 67 * @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 D | act.h | 16 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 D | helper.h | 17 u16 vlan_id, u32 flow_action);
|
H A D | helper.c | 52 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 D | ocelot_police.h | 37 int ocelot_policer_validate(const struct flow_action *action,
|
H A D | ocelot_police.c | 161 int ocelot_policer_validate(const struct flow_action *action,
|
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_tc_flower.h | 127 struct flow_action *actions, 130 struct flow_action *actions,
|
H A D | cxgb4_tc_matchall.c | 11 static int cxgb4_policer_validate(const struct flow_action *action, 55 struct flow_action *actions = &cls->rule->action;
|
H A D | cxgb4_tc_flower.c | 492 struct flow_action *actions, 683 struct flow_action *actions,
|
/linux-master/include/net/ |
H A D | flow_offload.h | 334 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 D | pkt_cls.h | 575 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 D | prestera_flower.c | 63 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 D | en_tc.c | 2062 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 D | lan966x_police.c | 72 const struct flow_action *action, 133 struct flow_action *action,
|
H A D | lan966x_tc_flower.c | 260 struct flow_action *act = &rule->action;
|
H A D | lan966x_main.h | 671 struct flow_action *action,
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_flower.c | 18 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 D | act_ct.c | 63 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 D | cls_api.c | 3764 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 D | otx2_tc.c | 178 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 D | qede_filter.c | 1667 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 D | tc_ct.c | 282 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 D | ice_tc_lib.c | 1868 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 D | bnxt_tc.c | 283 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 D | sja1105_flower.c | 303 static int sja1105_policer_validate(const struct flow_action *action,
|