From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <jblunck@gmail.com>
Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65])
 by dpdk.org (Postfix) with ESMTP id 604CD952
 for <dev@dpdk.org>; Mon,  6 Mar 2017 11:57:03 +0100 (CET)
Received: by mail-wm0-f65.google.com with SMTP id n11so13064866wma.0
 for <dev@dpdk.org>; Mon, 06 Mar 2017 02:57:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=sender:from:to:cc:subject:date:message-id:in-reply-to:references;
 bh=2OnAUIc1dOpu3mkJG1sLhZ4MW6sfcQDHilASHu5wvQQ=;
 b=uSBzSuL7W8CNI5M1ejszQ8CN5J5kpKp9SfmWv+4dpmpFZfp41zj7zkrUaiHseWnIhl
 hMTmkbq6xVPz6oiBOWmTTEZizoqwi8s3/qEY7wgtumkd4HjAeC1UdCbmGB6x7Ce7DOKS
 k8Q6yWQ6NyKr05PN107VsH20gYPoGW1Ukg6BJagqw4dgRosFSif4OY8Okdz6KchvIJ00
 vkv5K4Da2At4GTnCKnNH7ZUCzDILUkj0kBE3CEtWIn6k1akBn/0KOlaudZr98cUM9kr4
 2YsAMc/3SPZh9IC1ufmjyGOMEyAXn+DoT2KmBzVTlYyOcZe/oS2C4dTHkKj68PwjbP4x
 +CNg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:sender:from:to:cc:subject:date:message-id
 :in-reply-to:references;
 bh=2OnAUIc1dOpu3mkJG1sLhZ4MW6sfcQDHilASHu5wvQQ=;
 b=f+/OMmvODt31H/SacbVAByUAR13REL3qc2GEu8MrS+clHTGJf7ZAXNqRMKd17mZod3
 JNqsNED+DVgELeDqkX4LyBonElLAWq+SifndYRaLZ+1uSb72maPLlRf6s/uQd+GbAFiX
 Q+l8AYSVr7INVfSMggOLus0gGCOSyT2/s5mTwEDB0S9yqQ2iNiocQm1WCK4Z3zoLVdqw
 3V5Hdwt6YBzIq3Q8Ui5YKCBUNTbS3f26riMiufcT18COz/XOWDAhVDOQ2tV3wKLZJruz
 rrq3g8pHnqPTudNLTj005cC0lInHhMyWOFYZeH6/sxbBIoa/9fAExgtNW0IbdBZ145MR
 tZjQ==
X-Gm-Message-State: AMke39m9wDBliJ2fdAA5dP3tmMQgzMnF179x1ONpMlWryctOAh4V3JHKfBgcp43r5R/MMg==
X-Received: by 10.28.238.140 with SMTP id j12mr12556811wmi.35.1488797823148;
 Mon, 06 Mar 2017 02:57:03 -0800 (PST)
Received: from weierstrass.local.net ([91.200.109.169])
 by smtp.gmail.com with ESMTPSA id o63sm14277896wmo.30.2017.03.06.02.57.02
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Mon, 06 Mar 2017 02:57:02 -0800 (PST)
Sender: Jan Blunck <jblunck@gmail.com>
From: Jan Blunck <jblunck@infradead.org>
To: dev@dpdk.org
Cc: david.marchand@6wind.com, shreyansh.jain@nxp.com, ferruh.yigit@intel.com
Date: Mon,  6 Mar 2017 11:56:39 +0100
Message-Id: <1488797809-12917-1-git-send-email-jblunck@infradead.org>
X-Mailer: git-send-email 2.7.4
In-Reply-To: <1488018496-995-1-git-send-email-jblunck@infradead.org>
References: <1488018496-995-1-git-send-email-jblunck@infradead.org>
Subject: [dpdk-dev] [PATCH v4 00/10] Rework vdev probing to use rte_bus
	infrastructure
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <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, 06 Mar 2017 10:57:03 -0000

With the rte_bus infrastructure present in 17.02 it is possible to refactor
the virtual device probing into a bus. This series also introduces the
rte_vdev_device to better keep track of devices.

This patchset depends on:
http://dpdk.org/dev/patchwork/patch/20416/
http://dpdk.org/dev/patchwork/patch/20417/

Changes since version 3:
 * revert implicit registration changes

Changes since version 2:
 * implicit bus registration through rte_eal_vdrv_register()
 * explicit delay probing of virtual bus in rte_bus_probe()
 * addition of rte_vdev_device_args() helper
 * make virtual driver probe and remove take rte_vdev_device

Changes since version 1:
 * addition of rte_vdev_device_name() helper
 * removed rte_eal_dev_init() from *.map files
 * use SOCKET_ID_ANY

Jan Blunck (10):
  eal: probe legacy PCI devices before other bus devices
  eal: probe new virtual bus after other bus devices
  eal: move virtual device probing into a bus
  eal: remove unused rte_eal_dev_init()
  eal: Refactor vdev driver probe/remove
  eal: add struct rte_vdev_device
  eal: add virtual device name helper function
  eal: add virtual device arguments helper function
  eal: make virtual bus use rte_vdev_device
  eal: make virtual driver probe and remove take rte_vdev_device

 drivers/crypto/null/null_crypto_pmd.c           |  18 +-
 drivers/net/af_packet/rte_eth_af_packet.c       |  11 +-
 drivers/net/bonding/rte_eth_bond_pmd.c          |  13 +-
 drivers/net/mpipe/mpipe_tilegx.c                |  10 +-
 drivers/net/null/rte_eth_null.c                 |  13 +-
 drivers/net/pcap/rte_eth_pcap.c                 |  12 +-
 drivers/net/ring/rte_eth_ring.c                 |   9 +-
 drivers/net/tap/rte_eth_tap.c                   |  10 +-
 drivers/net/vhost/rte_eth_vhost.c               |  10 +-
 drivers/net/virtio/virtio_user_ethdev.c         |  18 +-
 drivers/net/xenvirt/rte_eth_xenvirt.c           |   9 +-
 lib/librte_eal/bsdapp/eal/eal.c                 |   9 +-
 lib/librte_eal/bsdapp/eal/rte_eal_version.map   |   1 -
 lib/librte_eal/common/eal_common_bus.c          |  16 +-
 lib/librte_eal/common/eal_common_dev.c          |  28 ---
 lib/librte_eal/common/eal_common_vdev.c         | 245 +++++++++++++++++++++---
 lib/librte_eal/common/include/rte_dev.h         |   5 -
 lib/librte_eal/common/include/rte_vdev.h        |  26 ++-
 lib/librte_eal/linuxapp/eal/eal.c               |   9 +-
 lib/librte_eal/linuxapp/eal/rte_eal_version.map |   1 -
 20 files changed, 341 insertions(+), 132 deletions(-)

-- 
2.7.4