| /Linux-v5.15/include/net/ |
| D | flow_offload.h | 285 struct flow_action { struct 290 static inline bool flow_action_has_entries(const struct flow_action *action) in flow_action_has_entries() argument 301 static inline bool flow_offload_has_one_action(const struct flow_action *action) in flow_offload_has_one_action() 312 flow_action_mixed_hw_stats_check(const struct flow_action *action, in flow_action_mixed_hw_stats_check() 333 flow_action_first_entry_get(const struct flow_action *action) in flow_action_first_entry_get() 340 __flow_action_hw_stats_check(const struct flow_action *action, in __flow_action_hw_stats_check() 370 flow_action_hw_stats_check(const struct flow_action *action, in flow_action_hw_stats_check() 378 flow_action_basic_hw_stats_check(const struct flow_action *action, in flow_action_basic_hw_stats_check() 386 struct flow_action action;
|
| D | pkt_cls.h | 535 int tc_setup_flow_action(struct flow_action *flow_action, 537 void tc_cleanup_flow_action(struct flow_action *flow_action);
|
| /Linux-v5.15/drivers/net/ethernet/chelsio/cxgb4/ |
| D | cxgb4_tc_flower.h | 127 struct flow_action *actions, 130 struct flow_action *actions,
|
| D | cxgb4_tc_flower.c | 492 struct flow_action *actions, in cxgb4_process_flow_actions() 683 struct flow_action *actions, in cxgb4_validate_flow_actions()
|
| D | cxgb4_tc_matchall.c | 15 struct flow_action *actions = &cls->rule->action; in cxgb4_matchall_egress_validate()
|
| /Linux-v5.15/net/sched/ |
| D | act_ct.c | 60 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 …]
|
| D | cls_api.c | 3464 void tc_cleanup_flow_action(struct flow_action *flow_action) in tc_cleanup_flow_action() argument 3469 flow_action_for_each(i, entry, flow_action) { in tc_cleanup_flow_action() 3547 int tc_setup_flow_action(struct flow_action *flow_action, in tc_setup_flow_action() argument 3564 entry = &flow_action->entries[j]; in tc_setup_flow_action() 3639 entry = &flow_action->entries[++j]; in tc_setup_flow_action() 3721 tc_cleanup_flow_action(flow_action); in tc_setup_flow_action()
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_flower.c | 21 struct flow_action *flow_action, in mlxsw_sp_flower_parse_actions() argument 30 if (!flow_action_has_entries(flow_action)) in mlxsw_sp_flower_parse_actions() 32 if (!flow_action_mixed_hw_stats_check(flow_action, extack)) in mlxsw_sp_flower_parse_actions() 35 act = flow_action_first_entry_get(flow_action); in mlxsw_sp_flower_parse_actions() 48 flow_action_for_each(i, act, flow_action) { in mlxsw_sp_flower_parse_actions()
|
| /Linux-v5.15/drivers/net/ethernet/marvell/prestera/ |
| D | prestera_flower.c | 10 struct flow_action *flow_action, in prestera_flower_parse_actions() argument 17 if (!flow_action_has_entries(flow_action)) in prestera_flower_parse_actions() 20 flow_action_for_each(i, act, flow_action) { in prestera_flower_parse_actions()
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ |
| D | helper.h | 17 u16 vlan_id, u32 flow_action);
|
| D | helper.c | 51 u16 vlan_id, u32 flow_action) in esw_egress_acl_vlan_create() argument 70 flow_act.action = flow_action; in esw_egress_acl_vlan_create()
|
| /Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/nic/ |
| D | otx2_tc.c | 172 struct flow_action *actions, in otx2_tc_validate_flow() 197 struct flow_action *actions = &cls->rule->action; in otx2_tc_egress_matchall_install() 305 struct flow_action *flow_action, in otx2_tc_parse_actions() argument 320 if (!flow_action_has_entries(flow_action)) { in otx2_tc_parse_actions() 325 flow_action_for_each(i, act, flow_action) { in otx2_tc_parse_actions() 859 struct flow_action *actions = &cls->rule->action; in otx2_tc_ingress_matchall_install()
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_tc.c | 1652 struct flow_action *flow_action = &rule->action; in flow_requires_tunnel_mapping() local 1659 flow_action_for_each(i, act, flow_action) { in flow_requires_tunnel_mapping() 3127 struct flow_action *flow_action, in modify_header_match_supported() argument 3151 flow_action_for_each(i, act, flow_action) { in modify_header_match_supported() 3182 struct flow_action *flow_action, in actions_match_supported() argument 3209 flow_action, actions, in actions_match_supported() 3361 struct flow_action *flow_action, in parse_tc_nic_actions() argument 3373 if (!flow_action_has_entries(flow_action)) in parse_tc_nic_actions() 3376 if (!flow_action_hw_stats_check(flow_action, extack, in parse_tc_nic_actions() 3384 flow_action_for_each(i, act, flow_action) { in parse_tc_nic_actions() [all …]
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| D | tc_ct.c | 264 struct flow_action *flow_action = &rule->action; in mlx5_tc_ct_rule_to_tuple_nat() local 269 flow_action_for_each(i, act, flow_action) { in mlx5_tc_ct_rule_to_tuple_nat() 476 struct flow_action *flow_action = &flow_rule->action; in mlx5_tc_ct_get_ct_metadata_action() local 480 flow_action_for_each(i, act, flow_action) { in mlx5_tc_ct_get_ct_metadata_action() 609 struct flow_action *flow_action = &flow_rule->action; in mlx5_tc_ct_entry_create_nat() local 618 flow_action_for_each(i, act, flow_action) { in mlx5_tc_ct_entry_create_nat()
|
| /Linux-v5.15/drivers/net/ethernet/qlogic/qede/ |
| D | qede_filter.c | 1676 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()
|
| /Linux-v5.15/drivers/net/ethernet/broadcom/bnxt/ |
| 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-v5.15/drivers/net/ethernet/netronome/nfp/flower/ |
| D | action.c | 1160 static bool nfp_fl_check_mangle_start(struct flow_action *flow_act, in nfp_fl_check_mangle_start() 1178 static bool nfp_fl_check_mangle_end(struct flow_action *flow_act, in nfp_fl_check_mangle_end()
|
| /Linux-v5.15/drivers/net/ethernet/stmicro/stmmac/ |
| D | stmmac_tc.c | 401 struct flow_action *action, in tc_parse_flow_actions()
|
| /Linux-v5.15/drivers/net/ethernet/freescale/enetc/ |
| D | enetc_qos.c | 1348 struct flow_action *action = &rule->action; in enetc_config_clsflower()
|
| /Linux-v5.15/drivers/infiniband/core/ |
| D | uverbs_cmd.c | 2660 ib_spec->action.act = uobj_get_obj_read(flow_action, in kern_spec_to_ib_spec_action()
|