Lines Matching full:acts

178 	 * because if the alloc had succeeded we'd've put it in acts.list and  in efx_tc_free_action_set()
183 /* in_hw is true iff we are on an acts.list; make sure to in efx_tc_free_action_set()
207 struct efx_tc_action_set_list *acts, in efx_tc_free_action_set_list() argument
212 /* Failure paths set in_hw=false, because usually the acts didn't get in efx_tc_free_action_set_list()
217 efx_mae_free_action_set_list(efx, acts); in efx_tc_free_action_set_list()
219 list_for_each_entry_safe(act, next, &acts->list, list) in efx_tc_free_action_set_list()
221 /* Don't kfree, as acts is embedded inside a struct efx_tc_flow_rule */ in efx_tc_free_action_set_list()
752 efx_tc_free_action_set_list(efx, &rule->acts, true); in efx_tc_delete_rule()
1806 INIT_LIST_HEAD(&rule->acts.list); in efx_tc_flower_replace_foreign()
1903 list_add_tail(&act->list, &rule->acts.list); in efx_tc_flower_replace_foreign()
1949 list_add_tail(&act->list, &rule->acts.list); in efx_tc_flower_replace_foreign()
1959 rc = efx_mae_alloc_action_set_list(efx, &rule->acts); in efx_tc_flower_replace_foreign()
1965 rule->acts.fw_id, &rule->fw_id); in efx_tc_flower_replace_foreign()
1973 efx_mae_free_action_set_list(efx, &rule->acts); in efx_tc_flower_replace_foreign()
1987 efx_tc_free_action_set_list(efx, &rule->acts, false); in efx_tc_flower_replace_foreign()
2189 INIT_LIST_HEAD(&rule->acts.list); in efx_tc_flower_replace()
2224 * append @act to the action-set list (@rule->acts); if this is a pipe in efx_tc_flower_replace()
2229 * @rule->acts or pointed to by @act (and never both), and that only in efx_tc_flower_replace()
2230 * those action-sets in @rule->acts exist in hardware. Consequently, in efx_tc_flower_replace()
2232 * for @rule->acts we remove each action-set from hardware before in efx_tc_flower_replace()
2296 list_add_tail(&act->list, &rule->acts.list); in efx_tc_flower_replace()
2340 list_add_tail(&act->list, &rule->acts.list); in efx_tc_flower_replace()
2341 act->user = &rule->acts; in efx_tc_flower_replace()
2381 list_add_tail(&act->list, &rule->acts.list); in efx_tc_flower_replace()
2499 list_add_tail(&act->list, &rule->acts.list); in efx_tc_flower_replace()
2509 rc = efx_mae_alloc_action_set_list(efx, &rule->acts); in efx_tc_flower_replace()
2525 acts_id = rule->acts.fw_id; in efx_tc_flower_replace()
2536 efx_mae_free_action_set_list(efx, &rule->acts); in efx_tc_flower_replace()
2550 efx_tc_free_action_set_list(efx, &rule->acts, false); in efx_tc_flower_replace()
2672 struct efx_tc_action_set_list *acts = &rule->acts; in efx_tc_configure_default_rule() local
2687 EFX_WARN_ON_PARANOID(!list_empty(&acts->list)); in efx_tc_configure_default_rule()
2688 list_add_tail(&act->list, &acts->list); in efx_tc_configure_default_rule()
2689 rc = efx_mae_alloc_action_set_list(efx, acts); in efx_tc_configure_default_rule()
2693 acts->fw_id, &rule->fw_id); in efx_tc_configure_default_rule()
2698 efx_mae_free_action_set_list(efx, acts); in efx_tc_configure_default_rule()
2747 struct efx_tc_action_set_list *acts) in efx_tc_configure_fallback_acts() argument
2760 EFX_WARN_ON_PARANOID(!list_empty(&acts->list)); in efx_tc_configure_fallback_acts()
2761 list_add_tail(&act->list, &acts->list); in efx_tc_configure_fallback_acts()
2762 rc = efx_mae_alloc_action_set_list(efx, acts); in efx_tc_configure_fallback_acts()
2776 struct efx_tc_action_set_list *acts = &efx->tc->facts.pf; in efx_tc_configure_fallback_acts_pf() local
2780 return efx_tc_configure_fallback_acts(efx, eg_port, acts); in efx_tc_configure_fallback_acts_pf()
2785 struct efx_tc_action_set_list *acts = &efx->tc->facts.reps; in efx_tc_configure_fallback_acts_reps() local
2789 return efx_tc_configure_fallback_acts(efx, eg_port, acts); in efx_tc_configure_fallback_acts_reps()
2793 struct efx_tc_action_set_list *acts) in efx_tc_deconfigure_fallback_acts() argument
2795 efx_tc_free_action_set_list(efx, acts, true); in efx_tc_deconfigure_fallback_acts()
3034 INIT_LIST_HEAD(&efx->tc->dflt.pf.acts.list); in efx_init_struct_tc()
3036 INIT_LIST_HEAD(&efx->tc->dflt.wire.acts.list); in efx_init_struct_tc()