| /Linux-v5.10/include/net/ |
| D | flow_offload.h | 278 struct flow_action { struct 283 static inline bool flow_action_has_entries(const struct flow_action *action) in flow_action_has_entries() argument 294 static inline bool flow_offload_has_one_action(const struct flow_action *action) in flow_offload_has_one_action() 305 flow_action_mixed_hw_stats_check(const struct flow_action *action, in flow_action_mixed_hw_stats_check() 326 flow_action_first_entry_get(const struct flow_action *action) in flow_action_first_entry_get() 333 __flow_action_hw_stats_check(const struct flow_action *action, in __flow_action_hw_stats_check() 363 flow_action_hw_stats_check(const struct flow_action *action, in flow_action_hw_stats_check() 371 flow_action_basic_hw_stats_check(const struct flow_action *action, in flow_action_basic_hw_stats_check() 379 struct flow_action action;
|
| D | pkt_cls.h | 539 int tc_setup_flow_action(struct flow_action *flow_action, 541 void tc_cleanup_flow_action(struct flow_action *flow_action);
|
| /Linux-v5.10/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.10/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 | 3474 void tc_cleanup_flow_action(struct flow_action *flow_action) in tc_cleanup_flow_action() argument 3479 flow_action_for_each(i, entry, flow_action) { in tc_cleanup_flow_action() 3557 int tc_setup_flow_action(struct flow_action *flow_action, in tc_setup_flow_action() argument 3574 entry = &flow_action->entries[j]; in tc_setup_flow_action() 3649 entry = &flow_action->entries[++j]; in tc_setup_flow_action() 3728 tc_cleanup_flow_action(flow_action); in tc_setup_flow_action()
|
| /Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_flower.c | 21 struct flow_action *flow_action, in mlxsw_sp_flower_parse_actions() argument 29 if (!flow_action_has_entries(flow_action)) in mlxsw_sp_flower_parse_actions() 31 if (!flow_action_mixed_hw_stats_check(flow_action, extack)) in mlxsw_sp_flower_parse_actions() 34 act = flow_action_first_entry_get(flow_action); in mlxsw_sp_flower_parse_actions() 47 flow_action_for_each(i, act, flow_action) { in mlxsw_sp_flower_parse_actions()
|
| /Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ |
| D | helper.c | 48 u16 vlan_id, u32 flow_action) in esw_egress_acl_vlan_create() argument 67 flow_act.action = flow_action; in esw_egress_acl_vlan_create()
|
| D | helper.h | 17 u16 vlan_id, u32 flow_action);
|
| /Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_tc.c | 1879 struct flow_action *flow_action = &rule->action; in flow_has_tc_fwd_action() local 1883 flow_action_for_each(i, act, flow_action) { in flow_has_tc_fwd_action() 3197 struct flow_action *flow_action, in modify_header_match_supported() argument 3221 flow_action_for_each(i, act, flow_action) { in modify_header_match_supported() 3261 struct flow_action *flow_action, in actions_match_supported() argument 3287 flow_action, actions, in actions_match_supported() 3432 struct flow_action *flow_action, in parse_tc_nic_actions() argument 3444 if (!flow_action_has_entries(flow_action)) in parse_tc_nic_actions() 3447 if (!flow_action_hw_stats_check(flow_action, extack, in parse_tc_nic_actions() 3455 flow_action_for_each(i, act, flow_action) { in parse_tc_nic_actions() [all …]
|
| /Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| D | tc_ct.c | 222 struct flow_action *flow_action = &rule->action; in mlx5_tc_ct_rule_to_tuple_nat() local 227 flow_action_for_each(i, act, flow_action) { in mlx5_tc_ct_rule_to_tuple_nat() 434 struct flow_action *flow_action = &flow_rule->action; in mlx5_tc_ct_get_ct_metadata_action() local 438 flow_action_for_each(i, act, flow_action) { in mlx5_tc_ct_get_ct_metadata_action() 567 struct flow_action *flow_action = &flow_rule->action; in mlx5_tc_ct_entry_create_nat() local 576 flow_action_for_each(i, act, flow_action) { in mlx5_tc_ct_entry_create_nat()
|
| /Linux-v5.10/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.10/drivers/net/ethernet/broadcom/bnxt/ |
| D | bnxt_tc.c | 282 struct flow_action *flow_action, in bnxt_tc_parse_actions() argument 298 if (!flow_action_has_entries(flow_action)) { in bnxt_tc_parse_actions() 303 if (!flow_action_basic_hw_stats_check(flow_action, extack)) in bnxt_tc_parse_actions() 306 flow_action_for_each(i, act, flow_action) { in bnxt_tc_parse_actions()
|
| /Linux-v5.10/drivers/net/ethernet/netronome/nfp/flower/ |
| D | action.c | 1161 static bool nfp_fl_check_mangle_start(struct flow_action *flow_act, in nfp_fl_check_mangle_start() 1179 static bool nfp_fl_check_mangle_end(struct flow_action *flow_act, in nfp_fl_check_mangle_end()
|
| /Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/ |
| D | stmmac_tc.c | 369 struct flow_action *action, in tc_parse_flow_actions()
|
| /Linux-v5.10/drivers/net/ethernet/freescale/enetc/ |
| D | enetc_qos.c | 1344 struct flow_action *action = &rule->action; in enetc_config_clsflower()
|
| /Linux-v5.10/drivers/infiniband/core/ |
| D | uverbs_cmd.c | 2651 ib_spec->action.act = uobj_get_obj_read(flow_action, in kern_spec_to_ib_spec_action()
|