From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id 79E3D2BB8 for ; Thu, 8 Jun 2017 01:58:42 +0200 (CEST) Received: by mail-wm0-f47.google.com with SMTP id d73so20766744wma.0 for ; Wed, 07 Jun 2017 16:58:42 -0700 (PDT) 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; bh=88sB1aRvckOLe3o6MAhvpHwq1RRJ+Beeqo2wjydhCms=; b=X4bFWGsLHRssr1Pz0/etgD9EbG1Vr8sJqU5gFVYOVgu4+m704vQd/03KCihTrXP32P 8QjJv6nXfYeJ/VqfUvtIxQmDH/t4oI8Xi1i4mO6wXi6tr/9KdQLQt6OCKCzSYRRrNQVA bqcpVDbAqFDusRMvkA+icbLX0cgJVoVRfYKtUr36Sm93ODBtQ/zFCxVjfmLJS9DA3RvN bI3lI/YBPFzlE6vfKt20GU5O6IPyQak4MarbWwMLjdNX9ra/hV9L82vvBkpH5PH8ntAJ PZgwBDpBbUMRsNNLbAMPVqLFwhpQhM5S5cZCTXhB+W3/0Reiu2XsiEH7H2V2Hor524qZ A3uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=88sB1aRvckOLe3o6MAhvpHwq1RRJ+Beeqo2wjydhCms=; b=S1E4GRS+lXkMEmLelTADOSDVUS7/RLdL74XN5x1Jrl2Rb65jGxDu4mZYo0l7U5kVyM trROvtxbEZ03tgZpWfKY2GhAwqlc/1Uhsq3x/DI3jmioyZV2Ofnem4q1u0rFuus73Lq/ /+w0w5BMho0IjhniFacM5zh0W+sjIN0fnShFuEVEMJDAxxKAcFz/U1J9hzNqkBQJ/9NQ QXVDeD2p+KZpXkB80v5gPU0BC1IVPoOJ8UFJRdvl9EmDUO74u2qhYU0b20UD5vsigRw0 h/Ij4O2cAR1DtZ2KFWnQir6x/AygQhS2SneyADlClUMuER5CDA7VDyzPCBifDgxa5ddm RRKQ== X-Gm-Message-State: AODbwcBx/f9BtEZaLn0lBQkPHRbcI5BSktth0qo0Z5YaS2a3W3wMbdjf J4PnSB3iwzKb+PDQ+eE= X-Received: by 10.28.7.16 with SMTP id 16mr1434368wmh.16.1496879921781; Wed, 07 Jun 2017 16:58:41 -0700 (PDT) Received: from bidouze.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id p65sm5098653wrb.64.2017.06.07.16.58.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Jun 2017 16:58:41 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet , Jan Blunck , Stephen Hemminger , Maxime Coquelin , Jerin Jacob , David Marchand Date: Thu, 8 Jun 2017 01:58:27 +0200 Message-Id: X-Mailer: git-send-email 2.1.4 In-Reply-To: References: Subject: [dpdk-dev] [PATCH v3 0/3] eal: complete attach / detach support 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, 07 Jun 2017 23:58:42 -0000 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. v2 -> v3: * Fix a few bugs in rte_dev_attach / detach. * Follow new plug / unplug API. Gaetan Rivet (3): pci: implement hotplug bus operation dev: remove vdev function dependency vdev: use standard bus registration function lib/librte_eal/common/eal_common_dev.c | 50 ++++++++++++++---------- lib/librte_eal/common/eal_common_pci.c | 67 +++++++++++++++++++++++++++++++++ lib/librte_eal/common/eal_common_vdev.c | 18 +-------- 3 files changed, 98 insertions(+), 37 deletions(-) -- 2.1.4