From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id DA732B377 for ; Fri, 11 Jul 2014 04:57:56 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 10 Jul 2014 19:52:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,641,1400050800"; d="scan'208";a="541786388" Received: from fmsmsx105.amr.corp.intel.com ([10.19.9.36]) by orsmga001.jf.intel.com with ESMTP; 10 Jul 2014 19:58:21 -0700 Received: from fmsmsx157.amr.corp.intel.com (10.18.116.73) by FMSMSX105.amr.corp.intel.com (10.19.9.36) with Microsoft SMTP Server (TLS) id 14.3.123.3; Thu, 10 Jul 2014 19:58:21 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX157.amr.corp.intel.com (10.18.116.73) with Microsoft SMTP Server (TLS) id 14.3.123.3; Thu, 10 Jul 2014 19:58:21 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.122]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.36]) with mapi id 14.03.0123.003; Fri, 11 Jul 2014 10:58:19 +0800 From: "Zhang, Helin" To: "Richardson, Bruce" , "dev@dpdk.org" Thread-Topic: [PATCH] nic_uio: add device ids for i40e devices Thread-Index: AQHPnIrGaCz81cp6jk6QAYfP73RJyZuaAHQQgAAuOpA= Date: Fri, 11 Jul 2014 02:58:18 +0000 Message-ID: References: <1405004940-6592-1-git-send-email-bruce.richardson@intel.com> <59AF69C657FD0841A61C55336867B5B0343AC9C0@IRSMSX103.ger.corp.intel.com> In-Reply-To: <59AF69C657FD0841A61C55336867B5B0343AC9C0@IRSMSX103.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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 02:57:57 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Richardson, Bruce > Sent: Friday, July 11, 2014 8:13 AM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] nic_uio: add device ids for i40e devices >=20 > 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 define= s. >=20 > Signed-off-by: Bruce Richardson > --- > lib/librte_eal/bsdapp/nic_uio/nic_uio.c | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/lib/librte_eal/bsdapp/nic_uio/nic_uio.c > b/lib/librte_eal/bsdapp/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 { > -- > 2.0.0 Acked-by: Helin Zhang