Hi, > -----Original Message----- > From: dev <[email protected]> On Behalf Of Xueming Li > Sent: Tuesday, November 17, 2020 1:02 PM > To: Matan Azrad <[email protected]>; Slava Ovsiienko > <[email protected]> > Cc: [email protected]; Xueming(Steven) Li <[email protected]>; Asaf Penso > <[email protected]> > 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 <[email protected]> > Reviewed-by: Slava Ovsiienko <[email protected]> > --- > 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

