Lines Matching refs:acts
178 * because if the alloc had succeeded we'd've put it in acts.list and
183 /* in_hw is true iff we are on an acts.list; make sure to
207 struct efx_tc_action_set_list *acts,
212 /* Failure paths set in_hw=false, because usually the acts didn't get
217 efx_mae_free_action_set_list(efx, acts);
219 list_for_each_entry_safe(act, next, &acts->list, list)
221 /* Don't kfree, as acts is embedded inside a struct efx_tc_flow_rule */
743 efx_tc_free_action_set_list(efx, &rule->acts, true);
1486 INIT_LIST_HEAD(&rule->acts.list);
1582 list_add_tail(&act->list, &rule->acts.list);
1628 list_add_tail(&act->list, &rule->acts.list);
1638 rc = efx_mae_alloc_action_set_list(efx, &rule->acts);
1644 rule->acts.fw_id, &rule->fw_id);
1652 efx_mae_free_action_set_list(efx, &rule->acts);
1666 efx_tc_free_action_set_list(efx, &rule->acts, false);
1868 INIT_LIST_HEAD(&rule->acts.list);
1903 * append @act to the action-set list (@rule->acts); if this is a pipe
1908 * @rule->acts or pointed to by @act (and never both), and that only
1909 * those action-sets in @rule->acts exist in hardware. Consequently,
1911 * for @rule->acts we remove each action-set from hardware before
1975 list_add_tail(&act->list, &rule->acts.list);
2019 list_add_tail(&act->list, &rule->acts.list);
2020 act->user = &rule->acts;
2060 list_add_tail(&act->list, &rule->acts.list);
2170 list_add_tail(&act->list, &rule->acts.list);
2180 rc = efx_mae_alloc_action_set_list(efx, &rule->acts);
2196 acts_id = rule->acts.fw_id;
2207 efx_mae_free_action_set_list(efx, &rule->acts);
2221 efx_tc_free_action_set_list(efx, &rule->acts, false);
2343 struct efx_tc_action_set_list *acts = &rule->acts;
2358 EFX_WARN_ON_PARANOID(!list_empty(&acts->list));
2359 list_add_tail(&act->list, &acts->list);
2360 rc = efx_mae_alloc_action_set_list(efx, acts);
2364 acts->fw_id, &rule->fw_id);
2369 efx_mae_free_action_set_list(efx, acts);
2418 struct efx_tc_action_set_list *acts)
2431 EFX_WARN_ON_PARANOID(!list_empty(&acts->list));
2432 list_add_tail(&act->list, &acts->list);
2433 rc = efx_mae_alloc_action_set_list(efx, acts);
2447 struct efx_tc_action_set_list *acts = &efx->tc->facts.pf;
2451 return efx_tc_configure_fallback_acts(efx, eg_port, acts);
2456 struct efx_tc_action_set_list *acts = &efx->tc->facts.reps;
2460 return efx_tc_configure_fallback_acts(efx, eg_port, acts);
2464 struct efx_tc_action_set_list *acts)
2466 efx_tc_free_action_set_list(efx, acts, true);
2705 INIT_LIST_HEAD(&efx->tc->dflt.pf.acts.list);
2707 INIT_LIST_HEAD(&efx->tc->dflt.wire.acts.list);