From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1CBC5A034C for ; Fri, 11 Mar 2022 13:19:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DCEF640042; Fri, 11 Mar 2022 13:19:35 +0100 (CET) Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50]) by mails.dpdk.org (Postfix) with ESMTP id 9D10440042 for ; Fri, 11 Mar 2022 13:19:34 +0100 (CET) Received: by mail-ej1-f50.google.com with SMTP id qa43so18568470ejc.12 for ; Fri, 11 Mar 2022 04:19:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version; bh=kp1wRdVHo9xJQASmU6reU+6IF9twGeginGnKNgz9l3c=; b=ku13ZOdSUqYO9p5Z67S8jfWSKv57yNLcusjU3+emKfLEqgUKhCunoSlIheeDMAz1iD nUh/yn3jONT4/0lQMlKf82wqTEDnuQJyWXZMtmA89A2dDa0912aR5mOdZovofIuiOy/7 8TC9YQVb03wkfuEyrWmJ4AkqOI2fNfpamOVlermzr6pAJAx4P2kQejvALSCwcDtoh3K0 Q2pPsmMC3ONdOm0zq2La9rne14UKG7EZw9ZEV3ab1qwNQ72r8x1uMEKN+eukyWcYG7hn UR9mnPpF0FPnE4BmHjlbRuGZOv9SpmvUzO26Az57V0Jjs+DBr4R1VFj/dG43a+Lh2b46 b2ow== X-Gm-Message-State: AOAM532WM7vlFKmBF9rWq4IGHcLlZR3pNJV6+L3Xmevlo9uf/5c8dqwh ho69r0m/aUMZNDHLn/tHxG0= X-Google-Smtp-Source: ABdhPJyrqKxdhxtmmLik0KQqBef85fjTrm9cK8SOqZXLtZpvDw6kTTJWdUQwbDI/hUS/ReyLj7MJ2w== X-Received: by 2002:a17:906:7953:b0:6da:951c:1173 with SMTP id l19-20020a170906795300b006da951c1173mr8388483ejo.465.1647001174021; Fri, 11 Mar 2022 04:19:34 -0800 (PST) Received: from localhost ([137.220.125.106]) by smtp.gmail.com with ESMTPSA id y18-20020a170906471200b006da8a883b5fsm2861688ejq.54.2022.03.11.04.19.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 04:19:32 -0800 (PST) Message-ID: <82788a33142c4b7a1f78c2c2f642ab607c582487.camel@debian.org> Subject: Re: [PATCH 20.11 0/3] net/mlx5: fix link state detection From: Luca Boccassi To: Dmitry Kozlyuk , stable@dpdk.org Date: Fri, 11 Mar 2022 12:19:31 +0000 In-Reply-To: <20220311074933.1194679-1-dkozlyuk@nvidia.com> References: <20220311074933.1194679-1-dkozlyuk@nvidia.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-PVEh1G/oN9lBwzmcW92A" User-Agent: Evolution 3.38.3-1+plugin MIME-Version: 1.0 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org --=-PVEh1G/oN9lBwzmcW92A Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 ] >=20 > 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, > =C2=A0=C2=A0but appear DOWN in DPDK (especially probable with ConnectX-4)= . >=20 > Dmitry Kozlyuk (3): > =C2=A0=C2=A0common/mlx5: add Netlink event helpers > =C2=A0=C2=A0net/mlx5: fix link status change detection > =C2=A0=C2=A0net/mlx5: fix initial link status detection >=20 > =C2=A0drivers/common/mlx5/linux/mlx5_nl.c | 105 +++++++++++++++++++++= ++- > =C2=A0drivers/common/mlx5/linux/mlx5_nl.h | 8 +- > =C2=A0drivers/common/mlx5/version.map | 3 + > =C2=A0drivers/net/mlx5/linux/mlx5_ethdev_os.c | 64 ++++++++++++--- > =C2=A0drivers/net/mlx5/linux/mlx5_os.c | 66 ++++++++++++--- > =C2=A0drivers/net/mlx5/linux/mlx5_vlan_os.c | 2 +- > =C2=A0drivers/net/mlx5/mlx5.c | 1 + > =C2=A0drivers/net/mlx5/mlx5.h | 3 + > =C2=A0drivers/net/mlx5/mlx5_trigger.c | 12 ++- > =C2=A0drivers/vdpa/mlx5/mlx5_vdpa.c | 2 +- > =C2=A010 files changed, 238 insertions(+), 28 deletions(-) Thanks, applied and pushed. --=20 Kind regards, Luca Boccassi --=-PVEh1G/oN9lBwzmcW92A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEErCSqx93EIPGOymuRKGv37813JB4FAmIrPlMACgkQKGv37813 JB4wlRAAl9PMlxzk1+2i9MXc1tgnlCRbhVhsNzgVczBwLPE6CoCExKiojPGSIyic WK/3ZkPqf9nTuCPek1A2oadajdmMyoYQ9Ysoo8RU9izMzpceUY5JKeG/1sLdrFI6 1QJEeFFg1nFR6zLRV5NBBvrblASu8MAUeVxbvhBCEwWJfVD//weubZI+lBBXpw7N ry+COTXYIaNcMdJxo6JodMCSMG9TPNi6VhZRzjg0Fn2RYgWCTgBEGaaDNSytt2Xe 4wSwjpsTlubyg0kEI4SDFIZjn7pw09vwjPEBBY7T8UMYD6jGWADZ9skKd2gWlH3R W1lwcfjkpUKzplkJWcxCUZF9aUPyqNgbfdc1+EXgzbtAbn9ET+T4amg/noLs21nt zZWTdqZCrxMdNntMbgFmXq9HOl4x4PIufevX3vCsXJk2+QIn67NsAoDJHbJigXiN llHxvfSSkQ0W/Ho6RNYI4E4xEZa5A8EymlH0I34eEHXNNKrbJ/aiJlmOM/WwzSgM PjCtuOnrNqFzyX3mJ1BdYMU14vnp6YeIHSDN1WNhv0/qawjitmtPwA/DEM49aJGM xjhw2I1YMp8DSI3rKGLzrOVlUHFjU08dKBtpU7NnEW3Lo1FoJG6GcYpL3Ni/0FQX 5q2vwdK7AFy6YOqzDE2PCMguw9D7VbrXWYq6gBnzfxJfMAOddqc= =UA8z -----END PGP SIGNATURE----- --=-PVEh1G/oN9lBwzmcW92A--