On Thu, Nov 12, 2026 at 02:41:00PM +0300, Artem Novikov wrote:
> After checking the RSS, distribution and IPsec crypto parser lists,
> iavf_flow_process_filter() returns success as soon as it finds an
> engine. If all three searches fail, *engine is NULL, so the final
> return 0 is unreachable and the preceding NULL check is redundant.
>
> Report the error unconditionally after the searches and remove the
> unreachable success return. No functional change.
>
> Fixes: 6bc987ecb860 ("net/iavf: support IPsec inline crypto")
> Cc: [email protected]
>
> Signed-off-by: Artem Novikov <[email protected]>
> ---
> Cc: Radu Nicolau <[email protected]>
>
> drivers/net/intel/iavf/iavf_generic_flow.c | 12 ++++--------
> 1 file changed, 4 insertions(+), 8 deletions(-)
>
Acked-by: Bruce Richardson <[email protected]>
Applied to dpdk-next-net-intel.