vmxnet3: enable for FreeBSD
authorMaciej Gajdzica <maciejx.t.gajdzica@intel.com>
Thu, 3 Jul 2014 09:32:30 +0000 (10:32 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 22 Jul 2014 14:38:01 +0000 (16:38 +0200)
Remove useless include that broke compilation and
allow to use it with nic_uio in FreeBSD.

Signed-off-by: Maciej Gajdzica <maciejx.t.gajdzica@intel.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
config/common_bsdapp
lib/librte_eal/bsdapp/nic_uio/nic_uio.c
lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c

index 23d3ddd..bf6d8a0 100644 (file)
@@ -201,7 +201,7 @@ CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DUMP=n
 #
 # Compile burst-oriented VMXNET3 PMD driver
 #
-CONFIG_RTE_LIBRTE_VMXNET3_PMD=n
+CONFIG_RTE_LIBRTE_VMXNET3_PMD=y
 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_INIT=n
 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_RX=n
 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX=n
index 8ba7f1b..ed11d84 100644 (file)
@@ -112,6 +112,7 @@ struct pci_bdf {
 #define RTE_PCI_DEV_ID_DECL_I40E(vend, dev)    {vend, dev},
 #define RTE_PCI_DEV_ID_DECL_I40EVF(vend, dev)  {vend, dev},
 #define RTE_PCI_DEV_ID_DECL_VIRTIO(vend, dev)  {vend, dev},
+#define RTE_PCI_DEV_ID_DECL_VMXNET3(vend, dev) {vend, dev},
 
 const struct device devices[] = {
 #include <rte_pci_dev_ids.h>
index 13960fa..69ba30b 100644 (file)
@@ -33,7 +33,6 @@
 
 #include <sys/queue.h>
 
-#include <endian.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>