On Wed, Sep 16, 2026 at 12:31:43PM +0300, Artem Novikov wrote:
> The control packet filter command only fills its statistics output on
> success. The restore path ignores command failures and logs statistics
> even if no command succeeds. With an empty filter list, it reads
> uninitialized statistics.
>
> Check each restore result and log failures with the affected filter.
> Continue restoring the remaining filters after an error. Log resource
> usage once after the loop, using the last successful command's statistics,
> and skip this log if no command succeeded. The command helper leaves the
> statistics unchanged on failure.
>
> Fixes: ddcd4d4dbbe0 ("net/i40e: restore ethertype filter")
> Cc: [email protected]
> Cc: [email protected]
>
> Signed-off-by: Artem Novikov <[email protected]>
> ---
Acked-by: Bruce Richardson <[email protected]>
Applied to dpdk-next-net-intel.
Thanks,
/Bruce