| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
| H A D | act.c | 76 struct flow_action *flow_action, in mlx5e_tc_act_init_parse_state() argument 82 parse_state->flow_action = flow_action; in mlx5e_tc_act_init_parse_state() 87 struct flow_action *flow_action, int from, int to, in mlx5e_tc_act_post_parse() argument 98 flow_action_for_each(i, act, flow_action) { in mlx5e_tc_act_post_parse()
|
| H A D | act.h | 16 struct flow_action *flow_action; member 105 struct flow_action *flow_action, 110 struct flow_action *flow_action, int from, int to,
|
| H A D | ct.c | 15 flow_action_is_last_entry(parse_state->flow_action, act)); in tc_act_can_offload_ct()
|
| /linux/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, in cxgb4_policer_validate() 55 struct flow_action *actions = &cls->rule->action; in cxgb4_matchall_egress_validate()
|
| H A D | cxgb4_tc_flower.c | 484 struct flow_action *actions, in cxgb4_process_flow_actions() 670 struct flow_action *actions, in cxgb4_validate_flow_actions()
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_flower.c | 18 static int mlxsw_sp_policer_validate(const struct flow_action *action, in mlxsw_sp_policer_validate() 61 struct flow_action *flow_action, in mlxsw_sp_flower_parse_actions() argument 70 if (!flow_action_has_entries(flow_action)) in mlxsw_sp_flower_parse_actions() 72 if (!flow_action_mixed_hw_stats_check(flow_action, extack)) in mlxsw_sp_flower_parse_actions() 75 act = flow_action_first_entry_get(flow_action); in mlxsw_sp_flower_parse_actions() 88 flow_action_for_each(i, act, flow_action) { in mlxsw_sp_flower_parse_actions() 249 err = mlxsw_sp_policer_validate(flow_action, act, extack); in mlxsw_sp_flower_parse_actions()
|
| /linux/drivers/net/ethernet/marvell/prestera/ |
| H A D | prestera_flower.c | 63 struct flow_action *flow_action, in prestera_flower_parse_actions() argument 71 if (!flow_action_has_entries(flow_action)) in prestera_flower_parse_actions() 74 if (!flow_action_mixed_hw_stats_check(flow_action, extack)) in prestera_flower_parse_actions() 77 act = flow_action_first_entry_get(flow_action); in prestera_flower_parse_actions() 92 flow_action_for_each(i, act, flow_action) { in prestera_flower_parse_actions()
|
| /linux/net/sched/ |
| H A D | act_ct.c | 70 tcf_ct_flow_table_flow_action_get_next(struct flow_action *flow_action) in tcf_ct_flow_table_flow_action_get_next() argument 72 int i = flow_action->num_entries++; in tcf_ct_flow_table_flow_action_get_next() 74 return &flow_action->entries[i]; in tcf_ct_flow_table_flow_action_get_next() 77 static void tcf_ct_add_mangle_action(struct flow_action *action, in tcf_ct_add_mangle_action() 100 struct flow_action *action) in tcf_ct_flow_table_add_action_nat_ipv4() 115 tcf_ct_add_ipv6_addr_mangle_action(struct flow_action *action, in tcf_ct_add_ipv6_addr_mangle_action() 130 struct flow_action *action) in tcf_ct_flow_table_add_action_nat_ipv6() 145 struct flow_action *action) in tcf_ct_flow_table_add_action_nat_tcp() 163 struct flow_action *action) in tcf_ct_flow_table_add_action_nat_udp() 181 struct flow_action *action) in tcf_ct_flow_table_add_action_meta() [all …]
|
| H A D | cls_api.c | 3837 void tc_cleanup_offload_action(struct flow_action *flow_action) in tc_cleanup_offload_action() argument 3842 flow_action_for_each(i, entry, flow_action) { in tc_cleanup_offload_action() 3868 int tc_setup_action(struct flow_action *flow_action, in tc_setup_action() argument 3887 entry = &flow_action->entries[j]; in tc_setup_action() 3913 tc_cleanup_offload_action(flow_action); in tc_setup_action() 3921 int tc_setup_offload_action(struct flow_action *flow_action, in tc_setup_offload_action() argument 3933 return tc_setup_action(flow_action, exts->actions, miss_cookie_base, in tc_setup_offload_action()
|
| /linux/include/net/ |
| H A D | pkt_cls.h | 586 int tc_setup_offload_action(struct flow_action *flow_action, 589 void tc_cleanup_offload_action(struct flow_action *flow_action); 590 int tc_setup_action(struct flow_action *flow_action,
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ |
| H A D | helper.c | 52 u16 vlan_id, u32 flow_action) in esw_egress_acl_vlan_create() argument 71 flow_act.action = flow_action; in esw_egress_acl_vlan_create()
|
| H A D | helper.h | 17 u16 vlan_id, u32 flow_action);
|
| /linux/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, in ocelot_policer_validate()
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_police.c | 72 const struct flow_action *action, in lan966x_police_validate() 133 struct flow_action *action, in lan966x_police_port_add()
|
| H A D | lan966x_tc_flower.c | 266 struct flow_action *act = &rule->action; in lan966x_tc_flower_action_check()
|
| H A D | lan966x_main.h | 625 struct flow_action *action,
|
| /linux/drivers/net/ethernet/qlogic/qede/ |
| H A D | qede_filter.c | 1664 struct flow_action *flow_action, in qede_parse_actions() argument 1670 if (!flow_action_has_entries(flow_action)) { in qede_parse_actions() 1675 if (!flow_action_basic_hw_stats_check(flow_action, extack)) in qede_parse_actions() 1678 flow_action_for_each(i, act, flow_action) { in qede_parse_actions() 1955 struct flow_action *flow_action, in qede_flow_spec_validate() argument 1982 err = qede_parse_actions(edev, flow_action, extack); in qede_flow_spec_validate()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | tc_ct.c | 292 struct flow_action *flow_action = &rule->action; in mlx5_tc_ct_rule_to_tuple_nat() local 297 flow_action_for_each(i, act, flow_action) { in mlx5_tc_ct_rule_to_tuple_nat() 550 struct flow_action *flow_action = &flow_rule->action; in mlx5_tc_ct_get_ct_metadata_action() local 554 flow_action_for_each(i, act, flow_action) { in mlx5_tc_ct_get_ct_metadata_action() 683 struct flow_action *flow_action = &flow_rule->action; in mlx5_tc_ct_entry_create_nat() local 689 flow_action_for_each(i, act, flow_action) { in mlx5_tc_ct_entry_create_nat()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_tc.c | 283 struct flow_action *flow_action, in bnxt_tc_parse_actions() argument 299 if (!flow_action_has_entries(flow_action)) { in bnxt_tc_parse_actions() 304 if (!flow_action_basic_hw_stats_check(flow_action, extack)) in bnxt_tc_parse_actions() 307 flow_action_for_each(i, act, flow_action) { in bnxt_tc_parse_actions()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_tc_lib.c | 2098 struct flow_action *flow_action = &rule->action; in ice_parse_tc_flower_actions() local 2105 if (!flow_action_has_entries(flow_action)) in ice_parse_tc_flower_actions() 2108 flow_action_for_each(i, act, flow_action) { in ice_parse_tc_flower_actions()
|
| /linux/drivers/net/dsa/sja1105/ |
| H A D | sja1105_flower.c | 306 static int sja1105_policer_validate(const struct flow_action *action, in sja1105_policer_validate()
|
| /linux/drivers/net/ethernet/netronome/nfp/flower/ |
| H A D | conntrack.c | 2150 struct flow_action *flow_action = in nfp_fl_ct_offload_nft_supported() local 2155 flow_action_for_each(i, act, flow_action) { in nfp_fl_ct_offload_nft_supported()
|
| /linux/drivers/net/ethernet/freescale/enetc/ |
| H A D | enetc_qos.c | 1085 static int enetc_psfp_policer_validate(const struct flow_action *action, in enetc_psfp_policer_validate() 1399 struct flow_action *action = &rule->action; in enetc_config_clsflower()
|