From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Blunck Subject: [PATCH 0/7] Rework vdev probing to use rte_bus infrastructure Date: Wed, 15 Feb 2017 11:02:02 +0100 Message-ID: <1487152929-23627-1-git-send-email-jblunck@infradead.org> Cc: shreyansh.jain@nxp.com To: dev@dpdk.org Return-path: Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by dpdk.org (Postfix) with ESMTP id 6A44BA2F for ; Wed, 15 Feb 2017 11:02:22 +0100 (CET) Received: by mail-wm0-f68.google.com with SMTP id c85so7357005wmi.1 for ; Wed, 15 Feb 2017 02:02:22 -0800 (PST) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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. Jan Blunck (7): eal: use different constructor priorities for initcalls eal: probe legacy PCI devices before 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: make virtual bus use rte_vdev_device lib/librte_eal/bsdapp/eal/eal.c | 9 +- lib/librte_eal/common/eal_common_dev.c | 28 ---- lib/librte_eal/common/eal_common_vdev.c | 245 ++++++++++++++++++++++++++---- lib/librte_eal/common/include/rte_bus.h | 17 ++- lib/librte_eal/common/include/rte_dev.h | 5 - lib/librte_eal/common/include/rte_eal.h | 12 +- lib/librte_eal/common/include/rte_tailq.h | 2 +- lib/librte_eal/common/include/rte_vdev.h | 5 + lib/librte_eal/linuxapp/eal/eal.c | 9 +- 9 files changed, 253 insertions(+), 79 deletions(-) -- 2.7.4