From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gaetan Rivet Subject: [PATCH v2 0/3] eal: complete attach / detach support Date: Thu, 1 Jun 2017 12:11:59 +0200 Message-ID: References: Cc: Gaetan Rivet , Jan Blunck , Stephen Hemminger , Maxime Coquelin , Jerin Jacob , David Marchand To: dev@dpdk.org Return-path: Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id 9A7727D1F for ; Thu, 1 Jun 2017 12:12:12 +0200 (CEST) Received: by mail-wm0-f49.google.com with SMTP id 7so151450532wmo.1 for ; Thu, 01 Jun 2017 03:12:12 -0700 (PDT) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Implements attach / detach for the PCI bus, and a streamlined attach for the virtual bus. This is necessary to remove the final dependencies of the EAL on the virtual and PCI buses, due to the rte_eal_dev_attach and rte_eal_dev_detach functions. This patchset depends on: pci: implement find_device bus operation http://dpdk.org/ml/archives/dev/2017-May/066340.html http://dpdk.org/dev/patchwork/patch/24498/ [PATCH 00/14] Generic devargs parsing http://dpdk.org/ml/archives/dev/2017-May/066351.html http://dpdk.org/dev/patchwork/patch/24508/ v1 -> v2: * Rebase the series on the plug / unplug API. * removed the vdev_plug implementation as it is now done in the plug/unplug introduction. Gaetan Rivet (3): pci: implement plug/unplug bus operation dev: remove vdev function dependency vdev: use standard bus registration function lib/librte_eal/common/eal_common_dev.c | 49 ++++++++++++++++------------- lib/librte_eal/common/eal_common_pci.c | 56 +++++++++++++++++++++++++++++++++ lib/librte_eal/common/eal_common_vdev.c | 18 +---------- 3 files changed, 84 insertions(+), 39 deletions(-) -- 2.1.4