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()
743 efx_tc_free_action_set_list(efx, &rule->acts, true); in efx_tc_delete_rule()
1486 INIT_LIST_HEAD(&rule->acts.list); in efx_tc_flower_replace_foreign()
1582 list_add_tail(&act->list, &rule->acts.list); in efx_tc_flower_replace_foreign()
1628 list_add_tail(&act->list, &rule->acts.list); in efx_tc_flower_replace_foreign()
1638 rc = efx_mae_alloc_action_set_list(efx, &rule->acts); in efx_tc_flower_replace_foreign()
1644 rule->acts.fw_id, &rule->fw_id); in efx_tc_flower_replace_foreign()
1652 efx_mae_free_action_set_list(efx, &rule->acts); in efx_tc_flower_replace_foreign()
1666 efx_tc_free_action_set_list(efx, &rule->acts, false); in efx_tc_flower_replace_foreign()
1868 INIT_LIST_HEAD(&rule->acts.list); in efx_tc_flower_replace()
1903 * append @act to the action-set list (@rule->acts); if this is a pipe in efx_tc_flower_replace()
1908 * @rule->acts or pointed to by @act (and never both), and that only in efx_tc_flower_replace()
1909 * those action-sets in @rule->acts exist in hardware. Consequently, in efx_tc_flower_replace()
1911 * for @rule->acts we remove each action-set from hardware before in efx_tc_flower_replace()
1975 list_add_tail(&act->list, &rule->acts.list); in efx_tc_flower_replace()
2019 list_add_tail(&act->list, &rule->acts.list); in efx_tc_flower_replace()
2020 act->user = &rule->acts; in efx_tc_flower_replace()
2060 list_add_tail(&act->list, &rule->acts.list); in efx_tc_flower_replace()
2170 list_add_tail(&act->list, &rule->acts.list); in efx_tc_flower_replace()
2180 rc = efx_mae_alloc_action_set_list(efx, &rule->acts); in efx_tc_flower_replace()
2196 acts_id = rule->acts.fw_id; in efx_tc_flower_replace()
2207 efx_mae_free_action_set_list(efx, &rule->acts); in efx_tc_flower_replace()
2221 efx_tc_free_action_set_list(efx, &rule->acts, false); in efx_tc_flower_replace()
2343 struct efx_tc_action_set_list *acts = &rule->acts; in efx_tc_configure_default_rule() local
2358 EFX_WARN_ON_PARANOID(!list_empty(&acts->list)); in efx_tc_configure_default_rule()
2359 list_add_tail(&act->list, &acts->list); in efx_tc_configure_default_rule()
2360 rc = efx_mae_alloc_action_set_list(efx, acts); in efx_tc_configure_default_rule()
2364 acts->fw_id, &rule->fw_id); in efx_tc_configure_default_rule()
2369 efx_mae_free_action_set_list(efx, acts); in efx_tc_configure_default_rule()
2418 struct efx_tc_action_set_list *acts) in efx_tc_configure_fallback_acts() argument
2431 EFX_WARN_ON_PARANOID(!list_empty(&acts->list)); in efx_tc_configure_fallback_acts()
2432 list_add_tail(&act->list, &acts->list); in efx_tc_configure_fallback_acts()
2433 rc = efx_mae_alloc_action_set_list(efx, acts); in efx_tc_configure_fallback_acts()
2447 struct efx_tc_action_set_list *acts = &efx->tc->facts.pf; in efx_tc_configure_fallback_acts_pf() local
2451 return efx_tc_configure_fallback_acts(efx, eg_port, acts); in efx_tc_configure_fallback_acts_pf()
2456 struct efx_tc_action_set_list *acts = &efx->tc->facts.reps; in efx_tc_configure_fallback_acts_reps() local
2460 return efx_tc_configure_fallback_acts(efx, eg_port, acts); in efx_tc_configure_fallback_acts_reps()
2464 struct efx_tc_action_set_list *acts) in efx_tc_deconfigure_fallback_acts() argument
2466 efx_tc_free_action_set_list(efx, acts, true); in efx_tc_deconfigure_fallback_acts()
2705 INIT_LIST_HEAD(&efx->tc->dflt.pf.acts.list); in efx_init_struct_tc()
2707 INIT_LIST_HEAD(&efx->tc->dflt.wire.acts.list); in efx_init_struct_tc()