Skip to contentSkip to conversation

hv_netvsc: Set probe mode to sync

PATCH In review Haiyang Zhang 2 participants 2 messages Jun 13, 2019 – Jun 15, 2019

Subsystems (4)
lore
Share & tools
lore

Haiyang Zhang

author maintainer
#0 lore raw

PATCH 1/1 hv_netvsc: Set probe mode to sync

For better consistency of synthetic NIC names, we set the probe mode to PROBE_FORCE_SYNCHRONOUS. So the names can be aligned with the vmbus channel offer sequence.

Fixes af0a5646cb8d ("use the new async probing feature for the hyperv drivers")
---
 drivers/net/hyperv/netvsc_drv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/hyperv/netvsc_drv.c +1 -1
index 03ea5a7..afdcc56 100644
@@ -2407,7 +2407,7 @@ static int netvsc_remove(struct hv_device *dev)
 	.probe = netvsc_probe,
 	.remove = netvsc_remove,
 	.driver = {
-		.probe_type = PROBE_PREFER_ASYNCHRONOUS,
+		.probe_type = PROBE_FORCE_SYNCHRONOUS,
 	},
 };
 
Signature · 1 line
1.8.3.1
maintainer
#1 lore raw

From: Haiyang Zhang <[email protected]>
Date: Thu, 13 Jun 2019 21:06:53 +0000

Quoted 6 lines

For better consistency of synthetic NIC names, we set the probe mode to PROBE_FORCE_SYNCHRONOUS. So the names can be aligned with the vmbus channel offer sequence.

Fixes af0a5646cb8d ("use the new async probing feature for the hyperv drivers")

Applied and queued up for -stable.