vmbus: add per-channel sysfs info
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 22 Sep 2017 03:58:49 +0000 (20:58 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Oct 2017 08:47:18 +0000 (10:47 +0200)
commitc2e5df616e1ae6c2a074cb241ebb65a318ebaf7c
tree0cfd997e11d7123eb1fed1bfc95522976b79d6a3
parent876a1b08d0f9d7df406f702a9aba0e058500efac
vmbus: add per-channel sysfs info

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.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/stable/sysfs-bus-vmbus
drivers/hv/channel_mgmt.c
drivers/hv/hyperv_vmbus.h
drivers/hv/vmbus_drv.c
include/linux/hyperv.h