[PATCH 0/2] net/netvsc: fix stale link status and speed
Stephen Hemminger
stephen at networkplumber.org
Wed Oct 14 19:33:13 CEST 2026
On Tue, 13 Oct 2026 19:07:42 -0700
Shrey Khandelwal <s.khandelwal at f5.com> wrote:
> With LSC enabled, the link status and speed seen by the application
> are not updated after the host reports a link change.
>
> Patch 1 makes sure the cached link always has the current speed.
> Patch 2 updates the cached link from the host indication.
>
> Tested on Azure with testpmd, by injecting media disconnect, media
> connect and link speed change indications. Without the patches, the
> link read in the LSC callback stays up at the old speed. With them,
> it goes down, up, then shows the new speed.
>
> Shrey Khandelwal (2):
> net/netvsc: fix link speed not updated
> net/netvsc: fix link status not updated on host indication
>
> .mailmap | 1 +
> drivers/net/netvsc/hn_ethdev.c | 8 ++-
> drivers/net/netvsc/hn_rndis.c | 90 ++++++++++++++++++++++++++++++++--
> drivers/net/netvsc/hn_rndis.h | 3 +-
> drivers/net/netvsc/hn_rxtx.c | 2 +-
> drivers/net/netvsc/hn_var.h | 4 ++
> 6 files changed, 97 insertions(+), 11 deletions(-)
>
Looks correct and review was clean. applied to next-net
More information about the dev
mailing list