Re: [dpdk-dev] [PATCH] net/mlx5: fix the wrong representor ID checking for sample
From: Raslan Darawsheh <hidden>
Date: 2021-06-30 07:45:24
From: Raslan Darawsheh <hidden>
Date: 2021-06-30 07:45:24
Hi,
-----Original Message-----
From: Jiawei(Jonny) Wang <redacted>
Sent: Tuesday, June 29, 2021 10:00 AM
To: Slava Ovsiienko <redacted>; Matan Azrad
[off-list ref]; Ori Kam [off-list ref]; NBU-Contact-Thomas
Monjalon [off-list ref]; Shahaf Shuler [off-list ref];
Xueming(Steven) Li [off-list ref]
Cc: dev@dpdk.org; Raslan Darawsheh <redacted>;
stable@dpdk.org
Subject: [PATCH] net/mlx5: fix the wrong representor ID checking for sample
The representor definition was introduced in the latest code.
For non-representor port, like PF port, use the 0xffff instead of -1.
This patch updates the representor id checking during splitting sample flow.
Fixes: cb95feefdd03 ("net/mlx5: support sub-function representor")
Cc: stable@dpdk.org
Signed-off-by: Jiawei Wang <redacted>
Acked-by: Xueming Li <redacted>Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh