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

Kevin Traynor ktraynor at redhat.com
Thu Mar 10 13:19:12 CET 2022


On 08/03/2022 15:10, 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_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(-)
> 

Thanks. Applied to queue, will push to dpdk.org as part of batch next week.



More information about the stable mailing list