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

From: Haiyang Zhang
Date: Tue Dec 31 2019 - 10:51:20 EST




> -----Original Message-----
> From: Michael Kelley <mikelley@xxxxxxxxxxxxx>
> Sent: Monday, December 30, 2019 8:35 PM
> To: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>; sashal@xxxxxxxxxx; linux-
> hyperv@xxxxxxxxxxxxxxx; netdev@xxxxxxxxxxxxxxx
> Cc: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>; KY Srinivasan
> <kys@xxxxxxxxxxxxx>; Stephen Hemminger <sthemmin@xxxxxxxxxxxxx>;
> olaf@xxxxxxxxx; vkuznets <vkuznets@xxxxxxxxxx>; davem@xxxxxxxxxxxxx;
> linux-kernel@xxxxxxxxxxxxxxx
> Subject: RE: [PATCH V2,net-next, 2/3] Drivers: hv: vmbus: Add dev_num to sysfs
>
> From: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx> Sent: Monday, December 30,
> 2019 12:14 PM
> >
> > It's a number based on the vmbus device offer sequence.
>
> Let's use "VMBus" as the capitalization.
I will.

>
> > Useful for device naming when using Async probing.
> >
> > Signed-off-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
> > ---
> > 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
> <sthemmin@xxxxxxxxxxxxx>
> > 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 <haiyangz@xxxxxxxxxxxxx>
> > +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