From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 454D32BA1 for ; Mon, 11 Jul 2016 10:31:35 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP; 11 Jul 2016 01:31:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,345,1464678000"; d="scan'208";a="992695451" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga001.jf.intel.com with ESMTP; 11 Jul 2016 01:31:35 -0700 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 11 Jul 2016 01:31:33 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx117.amr.corp.intel.com (10.18.116.17) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 11 Jul 2016 01:31:33 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.181]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.150]) with mapi id 14.03.0248.002; Mon, 11 Jul 2016 16:31:31 +0800 From: "Zhang, Helin" To: "Wu, Jingjing" , Thomas Monjalon CC: "dev@dpdk.org" Thread-Topic: [PATCH] i40e: move PCI device ids to driver Thread-Index: AQHR2yjqkivjGY/yC0urJgdixfXEfKASwYtw//+EbACAAIbAsP//gqmAgACXbMA= Date: Mon, 11 Jul 2016 08:31:31 +0000 Message-ID: References: <1468209673-21685-1-git-send-email-jingjing.wu@intel.com> <2755332.bbWM3o0Z6X@xps13> <9BB6961774997848B5B42BEC655768F80E16A0F6@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <9BB6961774997848B5B42BEC655768F80E16A0F6@SHSMSX103.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOTU5YmZhNDItZGEzZS00YTY5LWI4YzAtNzU4OTYwYjMwOGE2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6ImJnaVpWVndvV2dFMnBhSVhNanVuZEVuMVZUUm40bVIrRE9rU3EycytYcGc9In0= 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] i40e: move PCI device ids to driver 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: Mon, 11 Jul 2016 08:31:35 -0000 > -----Original Message----- > From: Wu, Jingjing > Sent: Monday, July 11, 2016 3:29 PM > To: Zhang, Helin ; Thomas Monjalon > > Cc: dev@dpdk.org > Subject: RE: [PATCH] i40e: move PCI device ids to driver >=20 > Hi, helin >=20 > What I did is exactly same as what David's patch set did in i40e. I agree= with his > change. > About the new header file, there is already i40e_devids.h in base code wh= ich > defines the device IDs and vendor ID. This patch just combines them to be= a pci > device id in struct pci_id_i40e_map in source file. So I don't think a ne= w header > file is required. And about kernel driver, I checked it and it did in the= similar way. OK, I agree with you of that. Thanks! Helin >=20 > Thanks > Jingjing >=20 > > -----Original Message----- > > From: Zhang, Helin > > Sent: Monday, July 11, 2016 3:02 PM > > To: Thomas Monjalon > > Cc: Wu, Jingjing; dev@dpdk.org > > Subject: RE: [PATCH] i40e: move PCI device ids to driver > > > > Hi Thomas > > > > It should be the one from David as I read that before. I am not sure > > if all PMD has its own header files for device IDs, but I did see there= was. > > Even in recent kernel drivers (e.g. i40e), there is a new header file > > for device ID list. I think it could be clearer, though no correct or w= rong. > > > > Regards, > > Helin > > > > > -----Original Message----- > > > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > > > Sent: Monday, July 11, 2016 2:55 PM > > > To: Zhang, Helin > > > Cc: Wu, Jingjing; dev@dpdk.org > > > Subject: Re: [PATCH] i40e: move PCI device ids to driver > > > > > > Hi Helin, > > > > > > 2016-07-11 06:19, Zhang, Helin: > > > > Hi Jingjing > > > > > > > > I'd suggest to add a new header file in each PMD to define what we > > defined > > > in rte_pci_dev_ids.h. > > > > > > Why? > > > > > > > There was a patch set submitted several months ago, like that. > > > > > > Which one?