bus/vmbus: add Hyper-V virtual bus support
authorStephen Hemminger <sthemmin@microsoft.com>
Fri, 13 Jul 2018 17:06:42 +0000 (10:06 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 13 Jul 2018 21:48:07 +0000 (23:48 +0200)
commit831dba47bd365b8a539dfb51fffdd01f8a436f6c
treee80e35268f8cd6468b176a889e1139b7d6bec94d
parent6bc67c497a51911bd0b1c2da9d3506c60d3a1f1b
bus/vmbus: add Hyper-V virtual bus support

This patch adds support for an additional bus type Virtual Machine BUS
(VMBUS) on Microsoft Hyper-V in Windows 10, Windows Server 2016
and Azure. Most of this code was extracted from FreeBSD and some of
this is from earlier code donated by Brocade.

Only Linux is supported at present, but the code is split
to allow future FreeBSD and Windows support.

The bus support relies on the uio_hv_generic driver from Linux
kernel 4.16. Multiple queue support requires additional sysfs
interfaces which is in kernel 5.0 (a.k.a 4.17).

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
19 files changed:
MAINTAINERS
config/common_base
doc/guides/rel_notes/release_18_08.rst
drivers/bus/Makefile
drivers/bus/meson.build
drivers/bus/vmbus/Makefile [new file with mode: 0644]
drivers/bus/vmbus/linux/Makefile [new file with mode: 0644]
drivers/bus/vmbus/linux/vmbus_bus.c [new file with mode: 0644]
drivers/bus/vmbus/linux/vmbus_uio.c [new file with mode: 0644]
drivers/bus/vmbus/meson.build [new file with mode: 0644]
drivers/bus/vmbus/private.h [new file with mode: 0644]
drivers/bus/vmbus/rte_bus_vmbus.h [new file with mode: 0644]
drivers/bus/vmbus/rte_bus_vmbus_version.map [new file with mode: 0644]
drivers/bus/vmbus/rte_vmbus_reg.h [new file with mode: 0644]
drivers/bus/vmbus/vmbus_bufring.c [new file with mode: 0644]
drivers/bus/vmbus/vmbus_channel.c [new file with mode: 0644]
drivers/bus/vmbus/vmbus_common.c [new file with mode: 0644]
drivers/bus/vmbus/vmbus_common_uio.c [new file with mode: 0644]
mk/rte.app.mk