From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: ethdev: replacement for rte_pci_dev_ids.h? Date: Thu, 07 Apr 2016 21:16:22 +0200 Message-ID: <1515516.pAGpqdKvpf@xps13> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: "Sean Hope (shope)" Return-path: Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id A30B52986 for ; Thu, 7 Apr 2016 21:16:24 +0200 (CEST) Received: by mail-wm0-f49.google.com with SMTP id l6so38224584wml.1 for ; Thu, 07 Apr 2016 12:16:24 -0700 (PDT) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-04-07 18:10, Sean Hope: > Hello, > > I see that rte_pci_dev_ids.h has been removed. No it has not been removed (yet): http://dpdk.org/browse/dpdk/tree/lib/librte_eal/common/include/rte_pci_dev_ids.h > We are using it on our product to get supported device ids. > > I understand the desire to move that data out of a central place and into > each driver. Any chance that instead of living in a .c file, that each > driver could hold it in a .h file so that it could be easily consumed by > an external program? Yes there is a plan to move the PCI ids in the drivers but we need to make a tool to retrieve the ids from the ELF files. Why do you want to get them from a .h file?