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

Medvedkin, Vladimir vladimir.medvedkin at intel.com
Tue Feb 17 17:59:55 CET 2026


Acked-by: Vladimir Medvedkin <vladimir.medvedkin at 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 at 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



More information about the dev mailing list