Hi, > -----Original Message----- > From: Dmitry Kozlyuk <dkozl...@nvidia.com> > Sent: Tuesday, March 1, 2022 2:15 PM > To: dev@dpdk.org > Subject: [PATCH v2 0/3] net/mlx5: fix link state detection > > This patchset fixes two related issues: > * In rare occasions with any HW link state change to UP was missed. > * If a port was DOWN before startup, its netdev would come UP, > but appear DOWN in DPDK (especially probable with ConnectX-4). > > v2: fix not detecting the link up when it was up before the app start. > > Dmitry Kozlyuk (3): > common/mlx5: add Netlink event helpers > net/mlx5: fix link status change detection > net/mlx5: fix initial link status detection > > drivers/common/mlx5/linux/mlx5_common_os.c | 2 +- > drivers/common/mlx5/linux/mlx5_nl.c | 102 ++++++++++++++++++++- > drivers/common/mlx5/linux/mlx5_nl.h | 8 +- > drivers/common/mlx5/version.map | 2 + > drivers/net/mlx5/linux/mlx5_ethdev_os.c | 63 ++++++++++--- > drivers/net/mlx5/linux/mlx5_os.c | 74 +++++++++++++-- > drivers/net/mlx5/linux/mlx5_vlan_os.c | 2 +- > drivers/net/mlx5/mlx5.c | 1 + > drivers/net/mlx5/mlx5.h | 3 + > drivers/net/mlx5/mlx5_trigger.c | 12 ++- > 10 files changed, 241 insertions(+), 28 deletions(-) > > -- > 2.25.1
Series applied to next-net-mlx, Kindest regards, Raslan Darawsheh