From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 99D9BB372 for ; Fri, 11 Jul 2014 02:12:25 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 10 Jul 2014 17:12:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,640,1400050800"; d="scan'208";a="571443902" Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by orsmga002.jf.intel.com with ESMTP; 10 Jul 2014 17:12:39 -0700 Received: from irsmsx109.ger.corp.intel.com (163.33.3.23) by IRSMSX101.ger.corp.intel.com (163.33.3.153) with Microsoft SMTP Server (TLS) id 14.3.123.3; Fri, 11 Jul 2014 01:12:38 +0100 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.62]) by IRSMSX109.ger.corp.intel.com ([169.254.13.4]) with mapi id 14.03.0123.003; Fri, 11 Jul 2014 01:12:38 +0100 From: "Richardson, Bruce" To: "dev@dpdk.org" Thread-Topic: [PATCH] nic_uio: add device ids for i40e devices Thread-Index: AQHPnIrGaCz81cp6jk6QAYfP73RJyZuaAHQQ Date: Fri, 11 Jul 2014 00:12:37 +0000 Message-ID: <59AF69C657FD0841A61C55336867B5B0343AC9C0@IRSMSX103.ger.corp.intel.com> References: <1405004940-6592-1-git-send-email-bruce.richardson@intel.com> In-Reply-To: <1405004940-6592-1-git-send-email-bruce.richardson@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH] nic_uio: add device ids for i40e devices X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2014 00:12:26 -0000 The FreeBSD nic_uio driver was missing the #defines to include the device i= ds for devices using the i40e driver. This change adds in the missing defines. Signed-off-by: Bruce Richardson --- lib/librte_eal/bsdapp/nic_uio/nic_uio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/librte_eal/bsdapp/nic_uio/nic_uio.c b/lib/librte_eal/bsdap= p/nic_uio/nic_uio.c index 3fe6f1c..8ba7f1b 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}, =20 const struct device devices[] =3D { --=20 2.0.0