vmxnet3: enable for FreeBSD

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>
This commit is contained in:
Maciej Gajdzica 2014-07-03 10:32:30 +01:00 committed by Thomas Monjalon
parent ce65e697c6
commit 0c19181157
3 changed files with 2 additions and 2 deletions

View 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

View 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>

View File

@ -33,7 +33,6 @@
#include <sys/queue.h>
#include <endian.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>