patch 'net/netvsc: update link speed when status is unchanged' has been queued to stable release 25.11.5
Kevin Traynor
ktraynor at redhat.com
Thu Dec 3 14:03:40 CET 2026
Hi,
FYI, your patch has been queued to stable release 25.11.5
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 12/08/26. So please
shout if anyone has objections.
Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.
Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable
This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/080173b6a60f10675b2081d2082b313144e41113
Thanks.
Kevin
---
>From 080173b6a60f10675b2081d2082b313144e41113 Mon Sep 17 00:00:00 2001
From: Shrey Khandelwal <s.khandelwal at f5.com>
Date: Tue, 13 Oct 2026 19:07:43 -0700
Subject: [PATCH] net/netvsc: update link speed when status is unchanged
[ upstream commit 1e5abae3e8d6d45a70bda0475365827a7d639f85 ]
hn_dev_link_update() returns without updating the cached link when
the link status has not changed. A speed change alone is never
reported, and if the link is down at port start, the cached speed
and duplex stay zero.
Always update the cached link, and only log when the status changes.
Fixes: 4e9c73e96e83 ("net/netvsc: add Hyper-V network device")
Signed-off-by: Shrey Khandelwal <s.khandelwal at f5.com>
---
.mailmap | 1 +
drivers/net/netvsc/hn_ethdev.c | 8 +++-----
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/.mailmap b/.mailmap
index 9dd1ff2bee..b501ee2b17 100644
--- a/.mailmap
+++ b/.mailmap
@@ -1553,4 +1553,5 @@ Shougang Wang <shougangx.wang at intel.com>
Shraddha Joshi <jshraddha at vmware.com>
Shreesh Adiga <16567adigashreesh at gmail.com>
+Shrey Khandelwal <s.khandelwal at f5.com>
Shreyansh Jain <shreyansh.jain at nxp.com>
Shrikrishna Khare <skhare at vmware.com>
diff --git a/drivers/net/netvsc/hn_ethdev.c b/drivers/net/netvsc/hn_ethdev.c
index 923753916d..00cde569a4 100644
--- a/drivers/net/netvsc/hn_ethdev.c
+++ b/drivers/net/netvsc/hn_ethdev.c
@@ -299,9 +299,7 @@ hn_dev_link_update(struct rte_eth_dev *dev,
link.link_status = RTE_ETH_LINK_DOWN;
- if (old.link_status == link.link_status)
- return 0;
-
- PMD_INIT_LOG(DEBUG, "Port %d is %s", dev->data->port_id,
- (link.link_status == RTE_ETH_LINK_UP) ? "up" : "down");
+ if (old.link_status != link.link_status)
+ PMD_INIT_LOG(DEBUG, "Port %d is %s", dev->data->port_id,
+ (link.link_status == RTE_ETH_LINK_UP) ? "up" : "down");
return rte_eth_linkstatus_set(dev, &link);
--
2.56.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-12-03 12:52:47.554682421 +0000
+++ 0294-net-netvsc-update-link-speed-when-status-is-unchange.patch 2026-12-03 12:52:39.236989525 +0000
@@ -1 +1 @@
-From 1e5abae3e8d6d45a70bda0475365827a7d639f85 Mon Sep 17 00:00:00 2001
+From 080173b6a60f10675b2081d2082b313144e41113 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 1e5abae3e8d6d45a70bda0475365827a7d639f85 ]
+
@@ -14 +15,0 @@
-Cc: stable at dpdk.org
@@ -23 +24 @@
-index 492bb56acb..53fd519df1 100644
+index 9dd1ff2bee..b501ee2b17 100644
@@ -26 +27 @@
-@@ -1577,4 +1577,5 @@ Shougang Wang <shougangx.wang at intel.com>
+@@ -1553,4 +1553,5 @@ Shougang Wang <shougangx.wang at intel.com>
@@ -33 +34 @@
-index e4fdf89873..5dc91f9503 100644
+index 923753916d..00cde569a4 100644
More information about the stable
mailing list