From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id 447165A24 for ; Sun, 10 Jan 2016 13:51:05 +0100 (CET) Received: by mail-wm0-f44.google.com with SMTP id l65so182056213wmf.1 for ; Sun, 10 Jan 2016 04:51:05 -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:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=fEJM/dhOw5NjnMD/zM5sPZWiNxTP26Ex+D1yuVVpiJ4=; b=Z/aR+h9/eFsme8DfuyhNIaG5PWCfFLDq/pN90NHDo4p/EbRuk3D12/NimZAkLgM0LP W4e9LGcoKXwXkQBO3hQeo1xIInsVLyvVcLW/+UJ+kwzQg46fCIVXGGDlIOKyK/D9JLH6 T5rlsCcy/qH3ud+p1L4+k58+mKdoImQR0rXpa4yz1NLduu8KBLY04ObMPCn5RbMspglB LfgBjE/ldfDA902ReAaqjzc4+E40lAlkeyrObcZcTtlQaELQfU0ouaYM2SiCwNi4V+Vm tDtzf2xuEZv1GAYru17OHun8iPJSFhzd/HJV80ll2p7wPqTHc80alhf8NEQSdPTyQ9gz 5fOA== 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:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=fEJM/dhOw5NjnMD/zM5sPZWiNxTP26Ex+D1yuVVpiJ4=; b=HmT8c9WSv7ed/Ms7tKdFmffEfKvaCeL0eWon8TQyuYTZXfwXVxInUZdDbSlnbylod+ Zu8Weu4qrGBW2s+agM/7VQG6Mt4ALhtK9L5M7DH3XutL/x6FWPsauN37PJ8ftX59uXad t9bwb3q5g3nNoGT4ji2qH/KfDswPWCk6iS8a5VV641s4lEVBzMKWE8w68iFp4iHWLm51 R07OeSE3fUNFS34u6z49zzuLmV20DKZ5m+imRUGG9Lj03mkhk8f92JyoSi5oL2Pg6vT4 Xz61pQuxqk0cKAPbpDWzYh1pC6/SI7APPyrqyklZfIRz7sIiRQN5FipHhiaLw/yVY8Pt Mdxg== X-Gm-Message-State: ALoCoQmhuSvW2ZEOdAt3RPM7P68DgrXzsqdvsjhCtc9f2MWagLdTBKn/ipuNeMsDOdcOE1WNRDfaAPv0kSzigzFsobPLFS+Pag== X-Received: by 10.195.18.5 with SMTP id gi5mr26184983wjd.167.1452430265040; Sun, 10 Jan 2016 04:51:05 -0800 (PST) Received: from gloops.dev.6wind.com (144.77.126.78.rev.sfr.net. [78.126.77.144]) by smtp.gmail.com with ESMTPSA id u12sm8088011wmu.10.2016.01.10.04.51.03 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 10 Jan 2016 04:51:04 -0800 (PST) From: David Marchand To: dev@dpdk.org Date: Sun, 10 Jan 2016 13:50:43 +0100 Message-Id: <1452430254-30390-1-git-send-email-david.marchand@6wind.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: thomas.monjalon@dpdk.org Subject: [dpdk-dev] [PATCH 00/11] kill global pci device id list 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: Sun, 10 Jan 2016 12:51:05 -0000 This patchset moves all pci device ids from eal to the pmds that need them (patches 1 to 8). Global pci device id list is then removed (patches 9, 10). In last patch, all those device ids are put in a dedicated section for retrieval by external tools. -- David Marchand David Marchand (11): e1000: move pci device ids to driver ixgbe: move pci device ids to driver i40e: move pci device ids to driver fm10k: move pci device ids to driver virtio: move pci device ids to driver vmxnet3: move pci device ids to driver enic: move pci device ids to driver bnx2x: move pci device ids to driver doc: refresh headers list pci: no need for global device ids list pci: place all uio pci device ids in a dedicated section app/test-pmd/Makefile | 2 + app/test-pmd/cmdline.c | 2 +- app/test/Makefile | 4 + app/test/test_pci.c | 5 +- doc/api/doxy-api-index.md | 1 - doc/guides/prog_guide/dev_kit_build_system.rst | 56 +- drivers/crypto/qat/rte_qat_cryptodev.c | 2 +- drivers/net/bnx2x/bnx2x.c | 3 +- drivers/net/bnx2x/bnx2x_ethdev.c | 29 +- drivers/net/cxgbe/cxgbe_ethdev.c | 2 +- drivers/net/e1000/em_ethdev.c | 4 +- drivers/net/e1000/em_pci_dev_ids.h | 200 +++++++ drivers/net/e1000/igb_ethdev.c | 8 +- drivers/net/e1000/igb_pci_dev_ids.h | 164 ++++++ drivers/net/enic/enic_ethdev.c | 14 +- drivers/net/fm10k/fm10k_ethdev.c | 10 +- drivers/net/i40e/i40e_ethdev.c | 20 +- drivers/net/i40e/i40e_ethdev_vf.c | 8 +- drivers/net/ixgbe/ixgbe_ethdev.c | 8 +- drivers/net/ixgbe/ixgbe_pci_dev_ids.h | 185 +++++++ drivers/net/nfp/nfp_net.c | 2 +- drivers/net/virtio/virtio_ethdev.c | 7 +- drivers/net/vmxnet3/vmxnet3_ethdev.c | 9 +- lib/librte_eal/common/Makefile | 2 +- lib/librte_eal/common/include/rte_pci.h | 2 + lib/librte_eal/common/include/rte_pci_dev_ids.h | 667 ------------------------ lib/librte_eal/linuxapp/kni/Makefile | 2 + lib/librte_eal/linuxapp/kni/kni_misc.c | 8 +- 28 files changed, 678 insertions(+), 748 deletions(-) create mode 100644 drivers/net/e1000/em_pci_dev_ids.h create mode 100644 drivers/net/e1000/igb_pci_dev_ids.h create mode 100644 drivers/net/ixgbe/ixgbe_pci_dev_ids.h delete mode 100644 lib/librte_eal/common/include/rte_pci_dev_ids.h -- 1.9.1