From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=MZXk3VtySsXdMhMOoLir4zQq1KXuAbOaaLlHCo/gGcg=; b=Ab4lH8pv4QzeMip2GA0jqj7vBJ303PezNp6Z5DADS/fzo2JtWz6NplqNHIUHXEybui gluKQBnHiZt9hetSJfgvr/bS39qbtQCZvry/Q4mIQ7s5HQUafDxmrIYq1ygVSmo/74mX aaRtc/0nHXSxUVouYb+weEAgjSYQd1qCQ5n38KKcN/59yZnfQs8c+ega91nkVdBj9dZC lcKfeb6UKNvnLfTSZFmf8vQFZHxNLupoGosay6ZjuMX/dcykSLAOqnXnXNBalXQI2ERB 2eXVSjUe5mpH9ZPIeB9OZ9zwlLsMt8LYDYpXFyYbyCw2vtzSZTcAzBvCqv64LluIErea dejw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=MZXk3VtySsXdMhMOoLir4zQq1KXuAbOaaLlHCo/gGcg=; b=PoziKnc9tE+eofwOpn2R6ICWonSOkh9Q6nrcUk3pcmHkWXcnul8ms61bMKqDZ0f8nl eG7ZOinmAy4oUoe39tQhsNMew35ddMpPtiVgU5bWBgv+yDyHHoWQLRYPMP1unWnJwru8 KtZdufQaznOw+RKDXQsqgCE9redMjGxNcKCmVXXuaVLNiDPirZ/jEXfco3OJLWocIbFO VQCibUErWid5KCFNOcxLKQB6NajefobNfDDdpojaHHXiOYxgRIrtw5xeP06baiEsk/vp 77V/kH0d7oTJtbrUJATjo5XeLA78Kdyrp0r+44hbb5+yhL66NRXXuHALZrqInDy6Dwrd 5Jgg== X-Gm-Message-State: AD7BkJJW3bn5sD2Cz5SNh+SEqggZi1ch0PeOqds2OSnNkmomUv6mtXWIkDj4CMOk6Ic2OrP3 X-Received: by 10.194.21.131 with SMTP id v3mr5235275wje.132.1460056584367; Thu, 07 Apr 2016 12:16:24 -0700 (PDT) Received: from xps13.localnet (91.111.75.86.rev.sfr.net. [86.75.111.91]) by smtp.gmail.com with ESMTPSA id om6sm9834062wjc.40.2016.04.07.12.16.23 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 07 Apr 2016 12:16:23 -0700 (PDT) From: Thomas Monjalon To: "Sean Hope (shope)" Cc: dev@dpdk.org Date: Thu, 07 Apr 2016 21:16:22 +0200 Message-ID: <1515516.pAGpqdKvpf@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] ethdev: replacement for rte_pci_dev_ids.h? 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: Thu, 07 Apr 2016 19:16:24 -0000 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?