[PATCH 19.11 0/3] net/mlx5: fix link state detection

Dmitry Kozlyuk dkozlyuk at nvidia.com
Fri Mar 11 09:06:24 CET 2022


[ 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/net/mlx5/mlx5.c         |  59 +++++++++++++++---
 drivers/net/mlx5/mlx5.h         |  10 ++-
 drivers/net/mlx5/mlx5_ethdev.c  |  63 +++++++++++++++----
 drivers/net/mlx5/mlx5_nl.c      | 107 +++++++++++++++++++++++++++++++-
 drivers/net/mlx5/mlx5_trigger.c |  12 +++-
 5 files changed, 224 insertions(+), 27 deletions(-)

-- 
2.25.1



More information about the stable mailing list