On 11/18/2020 3:34 PM, Raslan Darawsheh wrote:
Hi,
-----Original Message-----
From: dev <dev-boun...@dpdk.org> On Behalf Of Dekel Peled
Sent: Wednesday, November 18, 2020 11:24 AM
To: Slava Ovsiienko <viachesl...@nvidia.com>; Shahaf Shuler
<shah...@nvidia.com>; Matan Azrad <ma...@nvidia.com>
Cc: dev@dpdk.org
Subject: [dpdk-dev] [PATCH] net/mlx5: fix RSS queue types validation
Recent patch fixed the RSS action validation, making sure hairpin queues
and standard queues are not used together in the same RSS action.
The variable used for comparison was declared and initialized within the
check loop, making the queue type comparison wrong.
This patch moves the variable declaration to the start of the function,
outside of the check loop.
Fixes: cb8a079aee5d ("net/mlx5: fix validate RSS queues types")
Signed-off-by: Dekel Peled <dek...@nvidia.com>
Acked-by: Ori Kam <or...@nvidia.com>
Acked-by: Jack Min <jack...@nvidia.com>
---
Patch applied to next-net-mlx,
Squashed into relevant commit in next-net, thanks.