summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorStephen Hemminger <sthemmin@microsoft.com>2018-07-13 10:06:43 -0700
committerThomas Monjalon <thomas@monjalon.net>2018-07-13 23:48:07 +0200
commit4e9c73e96e834dbfaa51ada48ad11e7873556808 (patch)
tree21758ca47cf3a58c3386a2b7989a47f0a665d8ce /config
parent831dba47bd365b8a539dfb51fffdd01f8a436f6c (diff)
downloaddpdk-4e9c73e96e834dbfaa51ada48ad11e7873556808.zip
dpdk-4e9c73e96e834dbfaa51ada48ad11e7873556808.tar.gz
dpdk-4e9c73e96e834dbfaa51ada48ad11e7873556808.tar.xz
net/netvsc: add Hyper-V network device
The driver supports Hyper-V networking directly like virtio for KVM or vmxnet3 for VMware. This code is based off of the FreeBSD driver. The file and variable names are kept the same to help with understanding (with most of the BSD style warts removed). This version supports the latest NetVSP 6.1 version and older versions. Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Diffstat (limited to 'config')
-rw-r--r--config/common_base9
-rw-r--r--config/common_linuxapp3
2 files changed, 12 insertions, 0 deletions
diff --git a/config/common_base b/config/common_base
index 8f8190a..201cdf6 100644
--- a/config/common_base
+++ b/config/common_base
@@ -404,6 +404,15 @@ CONFIG_RTE_LIBRTE_MVPP2_PMD=n
#
CONFIG_RTE_LIBRTE_VMBUS=n
+#
+# Compile native PMD for Hyper-V/Azure
+#
+CONFIG_RTE_LIBRTE_NETVSC_PMD=n
+CONFIG_RTE_LIBRTE_NETVSC_DEBUG_RX=n
+CONFIG_RTE_LIBRTE_NETVSC_DEBUG_TX=n
+CONFIG_RTE_LIBRTE_NETVSC_DEBUG_DUMP=n
+
+#
# Compile virtual device driver for NetVSC on Hyper-V/Azure
#
CONFIG_RTE_LIBRTE_VDEV_NETVSC_PMD=n
diff --git a/config/common_linuxapp b/config/common_linuxapp
index 37e8f69..9c5ea9d 100644
--- a/config/common_linuxapp
+++ b/config/common_linuxapp
@@ -26,6 +26,9 @@ CONFIG_RTE_LIBRTE_POWER=y
CONFIG_RTE_VIRTIO_USER=y
CONFIG_RTE_PROC_INFO=y
+CONFIG_RTE_LIBRTE_VMBUS=y
+CONFIG_RTE_LIBRTE_NETVSC_PMD=y
+
# NXP DPAA BUS and drivers
CONFIG_RTE_LIBRTE_DPAA_BUS=y
CONFIG_RTE_LIBRTE_DPAA_MEMPOOL=y