]> git.baikalelectronics.ru Git - kernel.git/commit
uio_hv_generic: support sub-channels
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 5 Feb 2018 18:40:27 +0000 (10:40 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Mar 2018 17:57:17 +0000 (09:57 -0800)
commitbc27b5935a5dee8d16ae3e4cc1e9c35b98efa422
tree865b31a14739197399ccc79d62d9e5ad555dbca6
parentff638466eaf6c230e1024f9950afc146910f42a5
uio_hv_generic: support sub-channels

Use sysfs to allow supporting sub-channels. The userspace application
makes request to host to create sub-channels and the UIO kernel
driver populates the sysfs per-channel directory with a binary
attribute file that can be used to read/write ring.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/stable/sysfs-bus-vmbus
Documentation/driver-api/uio-howto.rst
drivers/uio/uio_hv_generic.c