From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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=QRQWraxZkaAKLrm026X58/JZPBGNo9jl1OgWy/781Lw=; b=yqMnZxvc5OjsSnZywKgDznRN592G+F6VbTFkfuVJoJHqls+ww0VX5HLBpRt6fmDd8p eELkkXhLUD9+q87KrYXSE7YhqfZi6kF3OfJAAEIF3NO6SO19wGuhRck4psyJuo35JwRX 7ISQ3/jwfC/iLAIONbhSvkRZ2AgA4bj/ToyBSoX9CL5zvhBxC6Y6XviQqD+3z74RZwAz SmT89tLQdAoqB/Oswn2VQ3Hkv2uLLC+uNCzNqeGQmafz38aGZkb1qDsssxfPpgt6DvHc fsgPvOU8LgIJrNFN7DHgZQ9Sowz49SzQJf4X2BNNJ+X4AIAg0xYWwjUFHte7fiXIe2UE d/DA== 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=QRQWraxZkaAKLrm026X58/JZPBGNo9jl1OgWy/781Lw=; b=OuQuLmfwVgqeiQUl+xPf0VPzo8oB2UwZCB7T3dqXW4dqhUSt7Et9k3l1rO3BjPC5dA z+S5B5O/6FHVhbPuhn0hr3XdIlAdVuwDD4w++nW2Vr4zrewTHz1NHnMeVArXRW+WDjfW GK3GvCPVLQLGPknUvCDuB0VGroZdh8lbUO+p72T/9kyFrPoydNE+3zgpQyDmA7T/3wEq M4Qfe/G8VFly196sVrc9c+rRtAT1qRLRo2rnW+Vmnrxx2gpvNoLeBJ7Zp+VdyApkihvK Yza7O5wk4EcL2PaO7qvq0BsYC1ARu695hVnuWVUdjTyiZsgNEsmgfCg+fTweTla4skJv 7M2g== X-Gm-Message-State: AODbwcAdDbq6JfZVWJb1YzMyZsDqrG9Th8DXy8Ublp1n0APDg8hSNJci dNCxPSeNTpxEdjAYKbo= X-Received: by 10.223.129.4 with SMTP id 4mr639827wrm.153.1496311932007; Thu, 01 Jun 2017 03:12:12 -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 e83sm33697524wmc.28.2017.06.01.03.12.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 01 Jun 2017 03:12:11 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet , Jan Blunck , Stephen Hemminger , Maxime Coquelin , Jerin Jacob , David Marchand Date: Thu, 1 Jun 2017 12:11:59 +0200 Message-Id: X-Mailer: git-send-email 2.1.4 In-Reply-To: References: Subject: [dpdk-dev] [PATCH v2 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: Thu, 01 Jun 2017 10:12:13 -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. 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