[PATCH v1] net/mlx5: fix probe failure with secondary bonding member

Raslan Darawsheh rasland at nvidia.com
Thu Apr 14 09:19:15 CEST 2022


Hi,

> -----Original Message-----
> From: Rongwei Liu <rongweil at nvidia.com>
> Sent: Wednesday, April 6, 2022 10:12 AM
> To: Matan Azrad <matan at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>; Ori Kam <orika at nvidia.com>; NBU-Contact-
> Thomas Monjalon (EXTERNAL) <thomas at monjalon.net>; Michael Baum
> <michaelba at nvidia.com>
> Cc: dev at dpdk.org; Raslan Darawsheh <rasland at nvidia.com>;
> stable at dpdk.org
> Subject: [PATCH v1] net/mlx5: fix probe failure with secondary bonding
> member
> 
> Users can probe primary or secondary PCIe id when bonding is
> configured.
> 1. -a 0a:00.0,representor=pf[0-1]vf[0-1], PMD probes 5 ports
> totally: bonding device plus 4 representor ports.
> 2. -a 0a:00.1,representor=pf[0-1]vf[0-1], PMD only probes 2
> representor ports.
> 
> Under the 2nd condition, bonding IB device doesn't have the same
> PCIe id and PMD needs to check bonding relationship otherwise
> probe failure.
> 
> Fixes: 6856efa54eea ("net/mlx5: fix PF leak on PCI probing failure")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Rongwei Liu <rongweil at nvidia.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list