Re: [PATCH] vmbus: add per-channel sysfs info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 18 Aug 2017 15:59:49 -0700
Greg KH <greg@xxxxxxxxx> wrote:

> On Fri, Aug 18, 2017 at 02:42:14PM -0700, Stephen Hemminger wrote:
> > This extends existing vmbus related sysfs structure to provide per-channel
> > state information. This is useful when diagnosing issues with multiple
> > queues in networking and storage.
> > 
> > The existing sysfs only displayed information about the primary
> > channel. The one place it reported multiple channels was the
> > channel_vp_mapping file which violated the sysfs convention
> > of one value per file.
> > 
> > Example:
> > $ tree /sys/class/net/eth1/device/channels
> > /sys/class/net/eth1/device/channels
> > ├── 15
> > │   ├── cpu
> > │   ├── in_mask
> > │   ├── lantency
> > │   ├── out_mask
> > │   ├── pending
> > │   ├── read_avail
> > │   └── write_avail
> > ├── 21
> > │   ├── cpu
> > │   ├── in_mask
> > │   ├── lantency
> > │   ├── out_mask
> > │   ├── pending
> > │   ├── read_avail
> > │   └── write_avail
> > ├── 22
> > │   ├── cpu
> > │   ├── in_mask
> > │   ├── lantency
> > │   ├── out_mask
> > │   ├── pending
> > │   ├── read_avail
> > │   └── write_avail
> > └── 23
> >     ├── cpu
> >     ├── in_mask
> >     ├── lantency
> >     ├── out_mask
> >     ├── pending
> >     ├── read_avail
> >     └── write_avail
> > 
> > 
> > Signed-off-by: Stephen Hemminger <sthemmin@xxxxxxxxxxxxx>  
> 
> Does Documentation/ABI need to be updated?

There is no ABI documentation for vmbus now. There should be but
that can come later.
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux