Hi,

> -----Original Message-----
> From: Haifei Luo <haif...@nvidia.com>
> Sent: Monday, February 26, 2024 2:04 PM
> To: Ori Kam <or...@nvidia.com>; Slava Ovsiienko <viachesl...@nvidia.com>;
> Matan Azrad <ma...@nvidia.com>; Shahaf Shuler <shah...@nvidia.com>;
> Dariusz Sosnowski <dsosnow...@nvidia.com>; Suanming Mou
> <suanmi...@nvidia.com>
> Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon (EXTERNAL)
> <tho...@monjalon.net>; Wisam Jaddo <wis...@nvidia.com>; Raslan
> Darawsheh <rasl...@nvidia.com>; Roni Bar Yanai <ron...@nvidia.com>
> 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 <haif...@nvidia.com>

Patch applied to next-net-mlx,
Kindest regards
Raslan Darawsheh

Reply via email to