[0/3] deprecate attach and detach functions
Message ID | 1531318450-3942-1-git-send-email-arybchenko@solarflare.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 89E901B5BB; Wed, 11 Jul 2018 16:14:32 +0200 (CEST) Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [148.163.129.52]) by dpdk.org (Postfix) with ESMTP id B36F21B5B0 for <dev@dpdk.org>; Wed, 11 Jul 2018 16:14:27 +0200 (CEST) X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (webmail.solarflare.com [12.187.104.26]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1-us3.ppe-hosted.com (Proofpoint Essentials ESMTP Server) with ESMTPS id 982CA60005D; Wed, 11 Jul 2018 14:14:26 +0000 (UTC) Received: from ocex03.SolarFlarecom.com (10.20.40.36) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1044.25; Wed, 11 Jul 2018 07:14:23 -0700 Received: from opal.uk.solarflarecom.com (10.17.10.1) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1044.25 via Frontend Transport; Wed, 11 Jul 2018 07:14:23 -0700 Received: from ukv-loginhost.uk.solarflarecom.com (ukv-loginhost.uk.solarflarecom.com [10.17.10.39]) by opal.uk.solarflarecom.com (8.13.8/8.13.8) with ESMTP id w6BEEMlK021496; Wed, 11 Jul 2018 15:14:22 +0100 Received: from ukv-loginhost.uk.solarflarecom.com (localhost [127.0.0.1]) by ukv-loginhost.uk.solarflarecom.com (Postfix) with ESMTP id 3FB5C16546A; Wed, 11 Jul 2018 15:14:22 +0100 (BST) From: Andrew Rybchenko <arybchenko@solarflare.com> To: <dev@dpdk.org> CC: Thomas Monjalon <thomas@monjalon.net> Date: Wed, 11 Jul 2018 15:14:07 +0100 Message-ID: <1531318450-3942-1-git-send-email-arybchenko@solarflare.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-MDID: 1531318467-WSDqzBm1tyxH Subject: [dpdk-dev] [PATCH 0/3] deprecate attach and detach functions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Message
Andrew Rybchenko
July 11, 2018, 2:14 p.m. UTC
As discussed in [1] EAL hotplug should be used directly to add/remove devices. app/pdump changes are build-tested only. [1] http://mails.dpdk.org/archives/dev/2018-July/107507.html Andrew Rybchenko (3): app/pdump: use hotplug add instead of attach ethdev: deprecate attach and detach functions eal: deprecate device attach and detach functions app/pdump/main.c | 94 ++++++++++++++++++------- app/test-pmd/Makefile | 1 + app/test-pmd/meson.build | 1 + doc/guides/rel_notes/deprecation.rst | 12 ++++ lib/librte_eal/common/include/rte_dev.h | 2 + lib/librte_ethdev/rte_ethdev.h | 2 + 6 files changed, 88 insertions(+), 24 deletions(-)