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

Luca Boccassi bluca at debian.org
Fri Mar 11 13:19:31 CET 2022


On Fri, 2022-03-11 at 09:49 +0200, Dmitry Kozlyuk wrote:
> [ 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(-)

Thanks, applied and pushed.

-- 
Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://mails.dpdk.org/archives/stable/attachments/20220311/bca3a62b/attachment.sig>


More information about the stable mailing list