OSDN Git Service

Drivers: hv: vmbus: add numa_node to sysfs
authorStephen Hemminger <stephen@networkplumber.org>
Sat, 28 Jul 2018 21:58:48 +0000 (21:58 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 29 Jul 2018 06:09:56 +0000 (08:09 +0200)
commit7ceb1c37533e2298797188087796dd44931d86af
tree47884db68d2b080bf3bfb87c33b10ec6809a6af3
parent9d9c9656871cd9fc1d03a2b4f47a278d54c6d03d
Drivers: hv: vmbus: add numa_node to sysfs

Being able to find the numa_node for a device is useful for userspace
drivers (DPDK) and also for diagnosing performance issues.  This makes
vmbus similar to pci.

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/vmbus_drv.c