From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <david.marchand@6wind.com>
Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53])
 by dpdk.org (Postfix) with ESMTP id ABAEE8D8F
 for <dev@dpdk.org>; Mon, 18 Jan 2016 13:30:53 +0100 (CET)
Received: by mail-wm0-f53.google.com with SMTP id n5so61549838wmn.0
 for <dev@dpdk.org>; Mon, 18 Jan 2016 04:30:53 -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=497Xakg4uO/ZlVzLR+hg5tOy7WYXg/GKfYnMg8rCz48=;
 b=stPBGh6Kd3qLl71eaESZqLYsh+4gWhPinPxP+F5EKfKTaemxtIkM6h/lhNkCq0MVdR
 gXNtgAKwtvFiZ89yISdF0JrkKNZiJzaWbBdRAk8FxZSzWyjxBbdbubh32pS8Greb6TOf
 YCKxwFNtZacZpGn6H6xclnb9S4+HLrNBP+ZQla8CT8vhSV4QLi8aOl9OOMhKcGKjsCA8
 7I+A+wxpFUbRdZvh7ypu9z1ma073Jmn1AOUgejJ0aveLe1avzc+2p30ussl7+DdY5ajQ
 SIY3DVOmbdtT6E1ZMbY1NPshGGarmTxC1KoK9EZuCq64v01vUDpKmKByr6oCN5X53V3E
 3VTA==
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=497Xakg4uO/ZlVzLR+hg5tOy7WYXg/GKfYnMg8rCz48=;
 b=KHkfGXGOlUTpUxhLNEEbOWTXY1B5BTvHkU8Ju5orF2VpMWq0BAILV6yBtMx+v+JQ9g
 IgTxSTliUlnbG1MenE5koO+FHF1OZ5l9QumtlsZ8DyQYufsGMeAwxPj+iEFhT+Lq06qI
 HWAJ78aWj9ieDBtkO4V/K3duFfZ+v5+vfj2gbVWEuNuVbD9wYN0lWUZ3DT3PPGxvWwAE
 VVMwjDIj6hX0BDKJto7zaztsTG8ruEUfETofFdUkIFy+YWxAGGeFoCWPloktFs2KQ/7f
 zFJNJg+JeNbx3MMMektTD2a3iFnD5L5OLeO1mrNVgRh1LJ0SbiddeIUBSY3yd6+gss3J
 fo+A==
X-Gm-Message-State: ALoCoQlVG9UwJtFxWQfUWudKL9e7AmspdFHZlNwYRDhBLtq2XEV0glwqtrhq0de3rqC0fyWOCfNw+bT7BAUumqWvMtW+bMgzeA==
X-Received: by 10.194.246.200 with SMTP id xy8mr23441757wjc.62.1453120253493; 
 Mon, 18 Jan 2016 04:30:53 -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 u191sm15606572wmd.4.2016.01.18.04.30.52
 (version=TLSv1/SSLv3 cipher=OTHER);
 Mon, 18 Jan 2016 04:30:52 -0800 (PST)
From: David Marchand <david.marchand@6wind.com>
To: dev@dpdk.org
Date: Mon, 18 Jan 2016 13:30:38 +0100
Message-Id: <1453120248-28274-1-git-send-email-david.marchand@6wind.com>
X-Mailer: git-send-email 1.9.1
In-Reply-To: <1452430254-30390-1-git-send-email-david.marchand@6wind.com>
References: <1452430254-30390-1-git-send-email-david.marchand@6wind.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Subject: [dpdk-dev] [PATCH v2 00/10] 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 <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Jan 2016 12:30:53 -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 (patch 9).
In last patch, all those device ids are put in a dedicated section for
retrieval by external tools.


Changes since v1:
- indent fixes in i40e, fm10k, virtio, vmxnet3, enic, bnx2c.
- rebased on head (ixgbe update)
- removed doc update (will be sent separately)

-- 
David Marchand

David Marchand (10):
  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
  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 -
 drivers/crypto/qat/rte_qat_cryptodev.c          |   2 +-
 drivers/net/bnx2x/bnx2x.c                       |   3 +-
 drivers/net/bnx2x/bnx2x_ethdev.c                |  25 +-
 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                |   8 +-
 drivers/net/i40e/i40e_ethdev.c                  |  22 +-
 drivers/net/i40e/i40e_ethdev_vf.c               |  10 +-
 drivers/net/ixgbe/ixgbe_ethdev.c                |   8 +-
 drivers/net/ixgbe/ixgbe_pci_dev_ids.h           | 191 +++++++
 drivers/net/nfp/nfp_net.c                       |   2 +-
 drivers/net/virtio/virtio_ethdev.c              |   9 +-
 drivers/net/vmxnet3/vmxnet3_ethdev.c            |  11 +-
 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 | 669 ------------------------
 lib/librte_eal/linuxapp/kni/Makefile            |   2 +
 lib/librte_eal/linuxapp/kni/kni_misc.c          |   8 +-
 27 files changed, 648 insertions(+), 732 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