Hi, > -----Original Message----- > From: Haifei Luo <[email protected]> > Sent: Monday, February 26, 2024 2:04 PM > To: Ori Kam <[email protected]>; Slava Ovsiienko <[email protected]>; > Matan Azrad <[email protected]>; Shahaf Shuler <[email protected]>; > Dariusz Sosnowski <[email protected]>; Suanming Mou > <[email protected]> > Cc: [email protected]; NBU-Contact-Thomas Monjalon (EXTERNAL) > <[email protected]>; Wisam Jaddo <[email protected]>; Raslan > Darawsheh <[email protected]>; Roni Bar Yanai <[email protected]> > Subject: [PATCH] net/mlx5: link status change for bonding cases > > The current implementation of mlx5_dev_interrupt_nl_cb routine first > compares if event netlink if_index belongs to the same device. > This is not fully correct for the bonding device since the bonding > master and slave interface netlink events indicate the bonding link > status change as well. Add check for if_index is related to the > bonding's master/slave. > > The following step is that it compares the device link status before > and after the netlink event handling. There are also the bonding specifics > and it should compare the link status of the bonding master to detect > the actual status change. > > Signed-off-by: Haifei Luo <[email protected]>
Patch applied to next-net-mlx, Kindest regards Raslan Darawsheh

