All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] net/netvsc: fix stale link status and speed
@ 2026-10-14  2:07 Shrey Khandelwal
  2026-10-14  2:07 ` [PATCH 1/2] net/netvsc: fix link speed not updated Shrey Khandelwal
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Shrey Khandelwal @ 2026-10-14  2:07 UTC (permalink / raw)
  To: weh; +Cc: longli, stephen, dev

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(-)

-- 
2.55.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-10-14 17:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-14  2:07 [PATCH 0/2] net/netvsc: fix stale link status and speed Shrey Khandelwal
2026-10-14  2:07 ` [PATCH 1/2] net/netvsc: fix link speed not updated Shrey Khandelwal
2026-10-14  2:07 ` [PATCH 2/2] net/netvsc: fix link status not updated on host indication Shrey Khandelwal
2026-10-14 17:33 ` [PATCH 0/2] net/netvsc: fix stale link status and speed Stephen Hemminger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.