[dpdk-dev] [PATCH] net/mlx5: fix device scan within switch domain

Raslan Darawsheh rasland at mellanox.com
Tue Oct 8 11:35:02 CEST 2019


Hi,

> -----Original Message-----
> From: Viacheslav Ovsiienko <viacheslavo at mellanox.com>
> Sent: Monday, October 7, 2019 4:56 PM
> To: dev at dpdk.org
> Cc: Matan Azrad <matan at mellanox.com>; Raslan Darawsheh
> <rasland at mellanox.com>
> Subject: [PATCH] net/mlx5: fix device scan within switch domain
> 
> In LAG configuration the devices in the same switch domain might be
> spawned on the base of different PCI devices, so we should check all devices
> backed by mlx5 PMD whether they belong to specified switch domain. When
> the new devices are being created it is not possible to detect whether the
> sibling devices created in the current probe() loop belong to the driver, driver
> field is not filled yet (it will be done on returned success of current probe()).
> This patch updates the device scanning, allowing extra match on current
> backing PCI device, is being used to create siblings.
> 
> Fixes: 9f4a56d68966 ("net/mlx5: extend switch domain searching range")
> 
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at mellanox.com>

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list