| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
| 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()
|
| A D | act.h | 16 struct flow_action *flow_action; member 110 struct flow_action *flow_action, 115 struct flow_action *flow_action, int from, int to,
|
| /linux/include/net/ |
| A D | flow_offload.h | 334 struct flow_action { struct 339 static inline bool flow_action_has_entries(const struct flow_action *action) in flow_action_has_entries() argument 350 static inline bool flow_offload_has_one_action(const struct flow_action *action) in flow_offload_has_one_action() 355 static inline bool flow_action_is_last_entry(const struct flow_action *action, in flow_action_is_last_entry() 367 flow_action_mixed_hw_stats_check(const struct flow_action *action, in flow_action_mixed_hw_stats_check() 388 flow_action_first_entry_get(const struct flow_action *action) in flow_action_first_entry_get() 395 __flow_action_hw_stats_check(const struct flow_action *action, in __flow_action_hw_stats_check() 425 flow_action_hw_stats_check(const struct flow_action *action, in flow_action_hw_stats_check() 433 flow_action_basic_hw_stats_check(const struct flow_action *action, in flow_action_basic_hw_stats_check() 441 struct flow_action action; [all …]
|
| A D | pkt_cls.h | 584 int tc_setup_offload_action(struct flow_action *flow_action, 587 void tc_cleanup_offload_action(struct flow_action *flow_action); 588 int tc_setup_action(struct flow_action *flow_action,
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| A D | cxgb4_tc_flower.h | 127 struct flow_action *actions, 130 struct flow_action *actions,
|
| 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()
|
| A D | cxgb4_tc_flower.c | 498 struct flow_action *actions, in cxgb4_process_flow_actions() 684 struct flow_action *actions, in cxgb4_validate_flow_actions()
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| 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() 244 err = mlxsw_sp_policer_validate(flow_action, act, extack); in mlxsw_sp_flower_parse_actions()
|
| /linux/drivers/net/ethernet/marvell/prestera/ |
| 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/ |
| A D | act_ct.c | 68 tcf_ct_flow_table_flow_action_get_next(struct flow_action *flow_action) in tcf_ct_flow_table_flow_action_get_next() argument 70 int i = flow_action->num_entries++; in tcf_ct_flow_table_flow_action_get_next() 72 return &flow_action->entries[i]; in tcf_ct_flow_table_flow_action_get_next() 98 struct flow_action *action) in tcf_ct_flow_table_add_action_nat_ipv4() 113 tcf_ct_add_ipv6_addr_mangle_action(struct flow_action *action, in tcf_ct_add_ipv6_addr_mangle_action() 128 struct flow_action *action) in tcf_ct_flow_table_add_action_nat_ipv6() 143 struct flow_action *action) in tcf_ct_flow_table_add_action_nat_tcp() 161 struct flow_action *action) in tcf_ct_flow_table_add_action_nat_udp() 179 struct flow_action *action) in tcf_ct_flow_table_add_action_meta() 205 struct flow_action *action) in tcf_ct_flow_table_add_action_nat() [all …]
|
| A D | cls_api.c | 3806 void tc_cleanup_offload_action(struct flow_action *flow_action) in tc_cleanup_offload_action() argument 3811 flow_action_for_each(i, entry, flow_action) { in tc_cleanup_offload_action() 3837 int tc_setup_action(struct flow_action *flow_action, in tc_setup_action() argument 3856 entry = &flow_action->entries[j]; in tc_setup_action() 3882 tc_cleanup_offload_action(flow_action); in tc_setup_action() 3890 int tc_setup_offload_action(struct flow_action *flow_action, in tc_setup_offload_action() argument 3902 return tc_setup_action(flow_action, exts->actions, miss_cookie_base, in tc_setup_offload_action()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | en_tc.c | 2181 struct flow_action *flow_action = &rule->action; in flow_requires_tunnel_mapping() local 2188 flow_action_for_each(i, act, flow_action) { in flow_requires_tunnel_mapping() 3492 is_flow_action_modify_ip_header(struct flow_action *flow_action) in is_flow_action_modify_ip_header() argument 3536 struct flow_action *flow_action, in modify_header_match_supported() argument 3590 struct flow_action *flow_action, in actions_match_supported() argument 4017 struct flow_action *flow_action) in parse_tc_actions() argument 4067 i < flow_action->num_entries - 1)) { in parse_tc_actions() 4114 flow_action_supported(struct flow_action *flow_action, in flow_action_supported() argument 4133 struct flow_action *flow_action, in parse_tc_nic_actions() argument 4267 struct flow_action *flow_action, in parse_tc_fdb_actions() argument [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ |
| A D | helper.h | 17 u16 vlan_id, u32 flow_action);
|
| 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()
|
| /linux/drivers/net/ethernet/mscc/ |
| A D | ocelot_police.h | 37 int ocelot_policer_validate(const struct flow_action *action,
|
| 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/ |
| 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()
|
| A D | lan966x_tc_flower.c | 266 struct flow_action *act = &rule->action; in lan966x_tc_flower_action_check()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| A D | otx2_tc.c | 178 struct flow_action *actions, in otx2_tc_validate_flow() 199 static int otx2_policer_validate(const struct flow_action *action, in otx2_policer_validate() 237 struct flow_action *actions = &cls->rule->action; in otx2_tc_egress_matchall_install() 435 struct flow_action *flow_action, in otx2_tc_parse_actions() argument 452 if (!flow_action_has_entries(flow_action)) { in otx2_tc_parse_actions() 457 flow_action_for_each(i, act, flow_action) { in otx2_tc_parse_actions() 494 err = otx2_policer_validate(flow_action, act, extack); in otx2_tc_parse_actions() 1422 struct flow_action *actions = &cls->rule->action; in otx2_tc_ingress_matchall_install()
|
| /linux/drivers/net/ethernet/qlogic/qede/ |
| A D | qede_filter.c | 1667 struct flow_action *flow_action, in qede_parse_actions() argument 1673 if (!flow_action_has_entries(flow_action)) { in qede_parse_actions() 1678 if (!flow_action_basic_hw_stats_check(flow_action, extack)) in qede_parse_actions() 1681 flow_action_for_each(i, act, flow_action) { in qede_parse_actions() 1958 struct flow_action *flow_action, in qede_flow_spec_validate() argument 1985 err = qede_parse_actions(edev, flow_action, extack); in qede_flow_spec_validate()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| 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/mellanox/mlx5/core/steering/hws/ |
| A D | mlx5hws_action.h | 193 struct ibv_flow_action *flow_action; member
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| 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/ |
| A D | ice_tc_lib.c | 1907 struct flow_action *flow_action = &rule->action; in ice_parse_tc_flower_actions() local 1914 if (!flow_action_has_entries(flow_action)) in ice_parse_tc_flower_actions() 1917 flow_action_for_each(i, act, flow_action) { in ice_parse_tc_flower_actions()
|
| /linux/drivers/net/dsa/sja1105/ |
| A D | sja1105_flower.c | 306 static int sja1105_policer_validate(const struct flow_action *action, in sja1105_policer_validate()
|