summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorStephen Hemminger <sthemmin@microsoft.com>2018-07-13 10:06:42 -0700
committerThomas Monjalon <thomas@monjalon.net>2018-07-13 23:48:07 +0200
commit831dba47bd365b8a539dfb51fffdd01f8a436f6c (patch)
treee80e35268f8cd6468b176a889e1139b7d6bec94d /mk
parent6bc67c497a51911bd0b1c2da9d3506c60d3a1f1b (diff)
downloaddpdk-next-eventdev-831dba47bd365b8a539dfb51fffdd01f8a436f6c.zip
dpdk-next-eventdev-831dba47bd365b8a539dfb51fffdd01f8a436f6c.tar.gz
dpdk-next-eventdev-831dba47bd365b8a539dfb51fffdd01f8a436f6c.tar.xz
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>
Diffstat (limited to 'mk')
-rw-r--r--mk/rte.app.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/mk/rte.app.mk b/mk/rte.app.mk
index f31ebe1..3e74768 100644
--- a/mk/rte.app.mk
+++ b/mk/rte.app.mk
@@ -176,6 +176,8 @@ endif # $(CONFIG_RTE_EAL_VFIO)
endif # $(CONFIG_RTE_LIBRTE_VHOST)
_LDLIBS-$(CONFIG_RTE_LIBRTE_VMXNET3_PMD) += -lrte_pmd_vmxnet3_uio
+_LDLIBS-$(CONFIG_RTE_LIBRTE_VMBUS) += -lrte_bus_vmbus
+
ifeq ($(CONFIG_RTE_LIBRTE_BBDEV),y)
_LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_BBDEV_NULL) += -lrte_pmd_bbdev_null