Thread (14 messages) 14 messages, 4 authors, 2019-12-31

RE: [PATCH V2,net-next, 2/3] Drivers: hv: vmbus: Add dev_num to sysfs

From: Haiyang Zhang <haiyangz@microsoft.com>
Date: 2019-12-31 15:51:18
Also in: linux-hyperv, lkml

-----Original Message-----
From: Michael Kelley <redacted>
Sent: Monday, December 30, 2019 8:35 PM
To: Haiyang Zhang <haiyangz@microsoft.com>; sashal@kernel.org; linux-
hyperv@vger.kernel.org; netdev@vger.kernel.org
Cc: Haiyang Zhang <haiyangz@microsoft.com>; KY Srinivasan
[off-list ref]; Stephen Hemminger [off-list ref];
olaf@aepfle.de; vkuznets [off-list ref]; davem@davemloft.net;
linux-kernel@vger.kernel.org
Subject: RE: [PATCH V2,net-next, 2/3] Drivers: hv: vmbus: Add dev_num to sysfs

From: Haiyang Zhang <haiyangz@microsoft.com> Sent: Monday, December 30,
2019 12:14 PM
quoted
It's a number based on the vmbus device offer sequence.
Let's use "VMBus" as the capitalization.
I will.
quoted
Useful for device naming when using Async probing.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
---
 Documentation/ABI/stable/sysfs-bus-vmbus |  8 ++++++++
 drivers/hv/vmbus_drv.c                   | 13 +++++++++++++
 2 files changed, 21 insertions(+)
diff --git a/Documentation/ABI/stable/sysfs-bus-vmbus
b/Documentation/ABI/stable/sysfs-bus-vmbus
index 8e8d167..a42225d 100644
--- a/Documentation/ABI/stable/sysfs-bus-vmbus
+++ b/Documentation/ABI/stable/sysfs-bus-vmbus
@@ -49,6 +49,14 @@ Contact:	Stephen Hemminger
[off-list ref]
quoted
 Description:	This NUMA node to which the VMBUS device is
 		attached, or -1 if the node is unknown.

+What:           /sys/bus/vmbus/devices/<UUID>/dev_num
+Date:		Dec 2019
+KernelVersion:	5.5
+Contact:	Haiyang Zhang [off-list ref]
+Description:	A number based on the vmbus device offer sequence.
The capitalization of "VMBus" is already inconsistent in this file in that
we have "VMBus" and "VMBUS" in the text.  Let's not introduce another
capitalization -- use "VMBus".
I will use "VMBus". 
Thanks,
- Haiyang
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help