patches for DPDK stable branches
 help / color / mirror / Atom feed
* [PATCH 20.11 0/3] net/mlx5: fix link state detection
@ 2022-03-11  7:49 Dmitry Kozlyuk
  2022-03-11  7:49 ` [PATCH 20.11 1/3] common/mlx5: add Netlink event helpers Dmitry Kozlyuk
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Dmitry Kozlyuk @ 2022-03-11  7:49 UTC (permalink / raw)
  To: stable; +Cc: Luca Boccassi

[ backport of https://inbox.dpdk.org/dev/20220301121514.41497-1-dkozlyuk@nvidia.com ]

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).

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_nl.c     | 105 +++++++++++++++++++++++-
 drivers/common/mlx5/linux/mlx5_nl.h     |   8 +-
 drivers/common/mlx5/version.map         |   3 +
 drivers/net/mlx5/linux/mlx5_ethdev_os.c |  64 ++++++++++++---
 drivers/net/mlx5/linux/mlx5_os.c        |  66 ++++++++++++---
 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 ++-
 drivers/vdpa/mlx5/mlx5_vdpa.c           |   2 +-
 10 files changed, 238 insertions(+), 28 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-03-11 12:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-11  7:49 [PATCH 20.11 0/3] net/mlx5: fix link state detection Dmitry Kozlyuk
2022-03-11  7:49 ` [PATCH 20.11 1/3] common/mlx5: add Netlink event helpers Dmitry Kozlyuk
2022-03-11  7:49 ` [PATCH 20.11 2/3] net/mlx5: fix link status change detection Dmitry Kozlyuk
2022-03-11  7:49 ` [PATCH 20.11 3/3] net/mlx5: fix initial link status detection Dmitry Kozlyuk
2022-03-11 12:19 ` [PATCH 20.11 0/3] net/mlx5: fix link state detection Luca Boccassi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).