From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f179.google.com (mail-pf0-f179.google.com [209.85.192.179]) by dpdk.org (Postfix) with ESMTP id A59BD941C for ; Wed, 6 Jan 2016 02:42:18 +0100 (CET) Received: by mail-pf0-f179.google.com with SMTP id e65so176554330pfe.1 for ; Tue, 05 Jan 2016 17:42:18 -0800 (PST) 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 :content-type; bh=rCJEv7FP+o6MO6p8UoyxL04/Hi5z1xktW7awclur+4M=; b=ziSM3DXpDNU2Cl5U+6sBsOFbcjmwOikRUkYjseIGDXcbwwurtFlYBCqYsSrOcysEWG eP7sQUSOvt2rmLIUWr7f3+iYl9bkfGsB06ibHxP5xwMcl2J3KiQUODs/pRAXzfL0LuuW YMQ/epguwQx7C8ypk12hRJofAzcZ9K2GErmMMjTS/WOYgsLzD34ej14i+b0UGsZYbI8K QMDxQ+uCLiEx99o8E10j389Q6xfFKog1/oM+fm0Z+jkQ7d97Kmu0fm6RHF4evyAsvUl1 pVZXq7kWEp6Xol0VrysLSUr2Mcqq8PP0ltCh+QcefHOuP9zRcjbbJe5yV0JBkwIinRNb DgCA== 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:content-type; bh=rCJEv7FP+o6MO6p8UoyxL04/Hi5z1xktW7awclur+4M=; b=m8R+gXN5XCNpzI6eeA4qxEeoAcPRCB+njRv5KyzPqEeyYBpvOLHfA/tEtmOwfKOd4o WjorcfPjKmY8gN4CIFnRutOrfhjDKijItbbdLusl7LzaJMN9fE8aGhbbsw6y7JeRM8pX hoRVELAaoreQvRWpRtSztYzLTWku/7916DyRzbOh3KYLgN+BKBHe7FCcC3DvsgqE1MQL N6QXyRCTN0xNnf07kjzD7gcwU/+405dAeQws2sWEEFr/m7HMU/IiNasNeFaZWWEsmzvk sSfrMqziJupliYKCs7jR3whZQ6AGwVqwMkJEZhOXwMg5U6ssbXlfwTNSOm8DlExPMbZg SjPw== X-Gm-Message-State: ALoCoQnX7EOxqLKRPeMEzpC5lg5mQV+llwjWd1atSfuenr5YlyT5bGMWreYrUop7wHiiOjdhEFhhn1yrdw0FnDQJiphJRdeqaA== X-Received: by 10.98.0.14 with SMTP id 14mr86336939pfa.164.1452044537908; Tue, 05 Jan 2016 17:42:17 -0800 (PST) Received: from xps13.localnet (eth943.qld.adsl.internode.on.net. [150.101.186.174]) by smtp.gmail.com with ESMTPSA id g13sm47423856pfj.74.2016.01.05.17.42.16 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 05 Jan 2016 17:42:17 -0800 (PST) From: Thomas Monjalon To: Stephen Hemminger Date: Wed, 06 Jan 2016 02:40:38 +0100 Message-ID: <5405012.WIUT4XHNxg@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20160105113723.6d2b85e5@xeon-e3> References: <20160105113723.6d2b85e5@xeon-e3> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] time to kill 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: Wed, 06 Jan 2016 01:42:19 -0000 2016-01-05 11:37, Stephen Hemminger: > Has anyone looked at getting rid of rte_pci_dev_ids.h? > The current method with #ifdef's and putting all devices in one file > really doesn't scale well. Something more like other OS's where > the data is only in each device driver would be better. I agree. The PCI ids should be embedded in drivers. If I remember well, it's already the case for some of them. I would love to see a tool able to list the supported devices by reading a binary libraries.