[dpdk-dev] [PATCH] net/mlx5: fix probing the device in legacy bonding mode

Raslan Darawsheh rasland at nvidia.com
Wed Apr 28 11:16:20 CEST 2021


Hi,

> -----Original Message-----
> From: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
> Sent: Wednesday, April 21, 2021 11:10 AM
> To: dev at dpdk.org
> Cc: Raslan Darawsheh <rasland at nvidia.com>; Matan Azrad
> <matan at nvidia.com>; Ori Kam <orika at nvidia.com>; stable at dpdk.org
> Subject: [PATCH] net/mlx5: fix probing the device in legacy bonding mode
> 
> If the device was configured as legacy bond one (without involving E-Switch),
> the mlx5 PMD erroneously tried to deduce the vport index raising the fatal
> error and preventing device from being used.
> 
> The patch checks whether there is E-Switch present and we should use vport
> index indeed.
> 
> Fixes: 2eb4d0107acc ("net/mlx5: refactor PCI probing on Linux")
> Fixes: d5c06b1b10ae ("net/mlx5: query vport index match mode and
> parameters")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list