Re: [PATCH v5 04/27] net/i40e: get rid of global filter variables

Medvedkin, Vladimir
2026-02-17T17:00:07Z

Acked-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>

On 2/17/2026 12:13 PM, Anatoly Burakov wrote:
> Currently, i40e driver relies on global state to work around the fact that
> `rte_flow_validate()` is being called directly from `rte_flow_create()`,
> and it not being possible to pass state between two functions. Fix that by
> making a small wrapper around validation that will create a dummy context.
>
> Additionally, tunnel filter doesn't appear to be used by anything and so is
> omitted from the structure.
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
> ---
> drivers/net/intel/i40e/i40e_ethdev.h | 16 ++--
> drivers/net/intel/i40e/i40e_flow.c | 117 ++++++++++++++-------------
> 2 files changed, 68 insertions(+), 65 deletions(-)
>
<snip>

--
Regards,
Vladimir