From patchwork Tue Oct 24 08:59:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Ga=C3=ABtan_Rivet?= X-Patchwork-Id: 30767 Return-Path: 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 904FF1B794; Tue, 24 Oct 2017 10:59:57 +0200 (CEST) Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by dpdk.org (Postfix) with ESMTP id 26CD81B786 for ; Tue, 24 Oct 2017 10:59:51 +0200 (CEST) Received: by mail-wm0-f67.google.com with SMTP id 78so11836530wmb.1 for ; Tue, 24 Oct 2017 01:59:51 -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 :in-reply-to:references; bh=Ql10OrxZ0t0nZzteFivMyOfyVuMz9K6JuHidtG4CXZM=; b=tDAoeE5Sfkh/Xqi1BVO4qpO4kXfq4KwAkiAtH5VfZBmL0ODH5VuBCV26OCrkiY/yrk tL8EksW36WA0SoQJr6O/JFT/B2bb0mUBGTib6vYGOxz5QEYxjnmdF6r01167JU5ntJeZ dx2fTZv+vtmcChtkeVMboqjwOsX95hHnfSihzzbOoUUP4uzSfQGjjb8LUx5Yai+MVwM0 ih4CHe9CFrsn1Lxvza+xyvh9LQXe5/wFM9V23i4afed3K141pXbqFn/fD2fU30/7h0L7 Jh4LXJ+cdLO90ThZN2ce7LKouVoX35eJ7iT6LTnBy3+2smBw7QaGptONJ+19fUM9SZg7 HbRQ== 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:in-reply-to:references; bh=Ql10OrxZ0t0nZzteFivMyOfyVuMz9K6JuHidtG4CXZM=; b=uNVII9UUvb5KZUJjroJmJepNn9V8LnePse61QVjavkfCW+72VGE9e40W0PVOy8z/Bi VxKx3lW83d28WiiHrhI1U9ONeYwIh+6smTBRiFsNOBu8aDUDa24h8tCd10aVBKyX2i7C Ig5ucOjkuCwk2v6j9TL19iPjiDv+fhG5HwHvg6JgsQeggQ6c7JF+2YCcZ5ZyItS8UXPp 5kK2e+JVnAnSbDuMSovl92TsjX5l70eC2hvzIOHqehernPd7LFJQdAVp4uQCplxJYBfu 1mEAULRYfiwdq533j9fqM9qThWAbAKS6N0butT5pIpV6e8aFPiMxSGB+bc3x1m97MJQx MH+g== X-Gm-Message-State: AMCzsaXSBrjVwdkARDri6vysOIa+RV1WMQMLHm2zq/ZkVXXAI4X9Z65F Hk06Z09JsNqzHp/Qerz+3i6+DD1A X-Google-Smtp-Source: ABhQp+TVlxDOnQMrCl7mRZlGMWSeK2/vWSMviBEEiRzw4baXx5lKtivQzY3OESnEYKnapctYekvbqw== X-Received: by 10.80.145.245 with SMTP id h50mr15399566eda.139.1508835590509; Tue, 24 Oct 2017 01:59:50 -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 d30sm5639939ede.10.2017.10.24.01.59.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Oct 2017 01:59:49 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Tue, 24 Oct 2017 10:59:22 +0200 Message-Id: <068333c99a9fd3868a3f1bff1a39cd4b4eb40716.1508833645.git.gaetan.rivet@6wind.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: References: In-Reply-To: References: Subject: [dpdk-dev] [PATCH v1 2/3] doc: follow detachable flag disappearance 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Update documentation to new API. Signed-off-by: Gaetan Rivet Acked-by: John McNamara Acked-by: John McNamara --- doc/guides/prog_guide/port_hotplug_framework.rst | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/doc/guides/prog_guide/port_hotplug_framework.rst b/doc/guides/prog_guide/port_hotplug_framework.rst index ee76577..fb0efc1 100644 --- a/doc/guides/prog_guide/port_hotplug_framework.rst +++ b/doc/guides/prog_guide/port_hotplug_framework.rst @@ -101,10 +101,6 @@ Limitations * The framework can only be enabled with Linux. BSD is not supported. -* To detach a port, the port should be backed by a device that igb_uio - or VFIO manages. - * Not all PMDs support detaching feature. - To know whether a PMD can support detaching, search for the - "RTE_ETH_DEV_DETACHABLE" flag in rte_eth_dev::data::dev_flags. If the flag is - defined in the PMD, detaching is supported. + The underlying bus must support hot-unplug. If not supported, + the function ``rte_eth_dev_detach()`` will return negative ENOTSUP.