From: Richardson, Bruce Date: Fri, 11 Jul 2014 00:12:37 +0000 (+0000) Subject: nic_uio: add i40e device ids X-Git-Tag: spdx-start~10535 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=29773abd62eb4b7495ae996473c961f72c8dc61a;p=dpdk.git nic_uio: add i40e device ids The FreeBSD nic_uio driver was missing the #defines to include the device ids for devices using the i40e driver. This change adds in the missing defines. Signed-off-by: Bruce Richardson Acked-by: Helin Zhang --- diff --git a/lib/librte_eal/bsdapp/nic_uio/nic_uio.c b/lib/librte_eal/bsdapp/nic_uio/nic_uio.c index 3fe6f1c33f..8ba7f1be41 100644 --- a/lib/librte_eal/bsdapp/nic_uio/nic_uio.c +++ b/lib/librte_eal/bsdapp/nic_uio/nic_uio.c @@ -109,6 +109,8 @@ struct pci_bdf { #define RTE_PCI_DEV_ID_DECL_IGBVF(vend, dev) {vend, dev}, #define RTE_PCI_DEV_ID_DECL_IXGBE(vend, dev) {vend, dev}, #define RTE_PCI_DEV_ID_DECL_IXGBEVF(vend, dev) {vend, dev}, +#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}, const struct device devices[] = {