[dpdk-dev] [PATCH] net/mlx5: set representor device to first PF in bonding mode

Raslan Darawsheh rasland at nvidia.com
Tue Nov 17 21:53:10 CET 2020


Hi,

> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Xueming Li
> Sent: Tuesday, November 17, 2020 1:02 PM
> To: Matan Azrad <matan at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>
> Cc: dev at dpdk.org; Xueming(Steven) Li <xuemingl at nvidia.com>; Asaf Penso
> <asafp at nvidia.com>
> Subject: [dpdk-dev] [PATCH] net/mlx5: set representor device to first PF in
> bonding mode
> 
> When the representor device was set to PF1 in bonding mode, iterating
> device iterator that looking for representors by bonding device failed
> to match PF0 pci address with PF1 address. So detaching PF bonding
> device only detached all representors on PF0.
> 
> This patch registers all representors of PF1 with PF0 as PCI device.
> 
> Signed-off-by: Xueming Li <xuemingl at nvidia.com>
> Reviewed-by: Slava Ovsiienko <viacheslavo at nvidia.com>
> ---
>  drivers/net/mlx5/linux/mlx5_os.c | 20 ++++++++++++++++++--
>  drivers/net/mlx5/mlx5.c          |  1 +
>  drivers/net/mlx5/mlx5.h          |  1 +
>  3 files changed, 20 insertions(+), 2 deletions(-)

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list