Hi, > -----Original Message----- > From: dev <dev-boun...@dpdk.org> On Behalf Of Xueming Li > Sent: Tuesday, November 17, 2020 1:02 PM > To: Matan Azrad <ma...@nvidia.com>; Slava Ovsiienko > <viachesl...@nvidia.com> > Cc: dev@dpdk.org; Xueming(Steven) Li <xuemi...@nvidia.com>; Asaf Penso > <as...@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 <xuemi...@nvidia.com> > Reviewed-by: Slava Ovsiienko <viachesl...@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