From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=De1dcmJ0jFzCpSyGbjGPSte0oGf9tNqUwh227zreugs=; b=CJr7+waizF2Ioropbd8MxmWLtMaiUKe9PQurLI1mdL+AxUQdNIdhCO6qfIHPtuYEfp 8pHl4B0+8Pj8XKKoBCFcqbQ8YL2iMA/WWm1fkZyQz2BVc3q8Hj8efGNPMQH+zHtvNuS0 4LJCnUAfgPPGiQSFTkOIu3yEN5103dCY6U4flYTW8T0kbgkOzdl1Vnd/fxLAy3Ggalb5 CUkkhWQc+2AmSJbNwNpu1vCci80svL81Fr5LDB7C54thF6ppGy9V490SNgnFOZXyfCK/ Y/OVQxRqCaK683FYCFPPOvzQC3HYb2/yOPR9pASplqvRby4S6DmxkRNye7l4YkmAE7lH ArTA== 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; bh=De1dcmJ0jFzCpSyGbjGPSte0oGf9tNqUwh227zreugs=; b=kVU7d/CtkoxbHRVDtNv5kvn8fR3GTqHOExkY5zBX+Fw/8kDUm3U/NbpGWd6iT+BKjD 5lh4aoXst/P3Tqwgw7Q8L0BYS5I20PTM78e5mZQiSV0D1ORIJTA942m2vjdX+4XW4Nh+ 7lgROJKkFK87eNhmY9Ci+r6HBoHT1HM7ZYH10kKngZ4cgSiLBxu72K3/8SAcoSB3jMyh 3JJaaOTA/cgvjRiZAUpdym81GVC4RBYto7ER9m3vSgOSytnIl0Fbm9cPrtpeMYM+jeFi x4Em1mSNfLEqHI3DeUQAwZ+j9hLWLK04M06u2QRnyQw1ZblhKuz7s92jRE8jhlW1vvLv 4wXA== X-Gm-Message-State: AMke39n0yzGESbs34Po8JvNKqkv1IDrkQAMjzK6ypy7EhmvR00TEZRD7EbltHdiTRluS8Q== X-Received: by 10.28.87.85 with SMTP id l82mr6992563wmb.135.1487152942205; Wed, 15 Feb 2017 02:02:22 -0800 (PST) Received: from weierstrass.local.net ([91.200.109.169]) by smtp.gmail.com with ESMTPSA id k195sm4716061wmd.7.2017.02.15.02.02.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Feb 2017 02:02:21 -0800 (PST) Sender: Jan Blunck From: Jan Blunck To: dev@dpdk.org Cc: shreyansh.jain@nxp.com Date: Wed, 15 Feb 2017 11:02:02 +0100 Message-Id: <1487152929-23627-1-git-send-email-jblunck@infradead.org> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH 0/7] 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2017 10:02:22 -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. 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