> -----Original Message----- > From: Xueming Li <[email protected]> > Sent: Tuesday, September 15, 2020 6:06 > To: Matan Azrad <[email protected]>; Slava Ovsiienko > <[email protected]> > Cc: [email protected]; Asaf Penso <[email protected]>; Xueming(Steven) Li > <[email protected]>; [email protected] > Subject: [PATCH] net/mlx5: use bond index for netdev operations > > In case of bonding, device ifindex was detected as the PF ifindex, so any > operation using ifindex applied to PF instead of the bond device. > These operations includes MTU get/set, up/down and mac address > manipulation, etc. > > This patch detects bond interface ifindex and name for PF that join a bond > interface, uses it by default for netdev operations. > > Cc: [email protected] > Signed-off-by: Xueming Li <[email protected]>
Acked-by: Viacheslav Ovsiienko <[email protected]>

