[PATCH v7 19/25] net/i40e: add support for common flow parsing
Bruce Richardson
bruce.richardson at intel.com
Tue Oct 13 17:01:18 CEST 2026
On Tue, Oct 13, 2026 at 01:03:17PM +0100, Anatoly Burakov wrote:
> Implement support for common flow parsing infrastructure in preparation for
> migration of flow engines. The following features are enabled:
>
> - Conf init on dev_init
> - Conf uninit on dev_close
> - Flow replay on dev_start
>
> Currently, i40e explicitly clears KEEP_FLOW capability flag, meaning that
> it advertises that all flows are flushed on dev stop. However, in
> practice i40e actually restores all flows on dev start, so while we will
> not (yet) advertise the KEEP_FLOW capability flag, we will also not flush
> the flows on dev stop with the new engines, and instead replay them.
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> Acked-by: Vladimir Medvedkin <vladimir.medvedkin at intel.com>
> Acked-by: Vladimir Medvedkin <vladimir.medvedkin at intel.com>
> ---
> drivers/net/intel/i40e/i40e_ethdev.c | 21 +++++++++++
> drivers/net/intel/i40e/i40e_ethdev.h | 5 +++
> drivers/net/intel/i40e/i40e_flow.c | 53 +++++++++++++++++++++++++++-
> drivers/net/intel/i40e/i40e_flow.h | 12 +++++++
> 4 files changed, 90 insertions(+), 1 deletion(-)
> create mode 100644 drivers/net/intel/i40e/i40e_flow.h
>
This fails to build for arm, due to missing include of stdlib.h for
calloc() and free().
Will fix on apply.
More information about the dev
mailing list