From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by dpdk.org (Postfix) with ESMTP id 77A701B79A for ; Tue, 24 Oct 2017 12:36:04 +0200 (CEST) Received: by mail-wr0-f196.google.com with SMTP id j15so7995145wre.8 for ; Tue, 24 Oct 2017 03:36:04 -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=MCOSbKRLDJvfdNiyutqAiMlhTsbHqlMwp+PvAZxHSVtlMjjH95SyQ8h1IVdeJjVqGC d1Cnhr9CaLhGDTMMpf8u3V05M2xSMahQOqBfqloBOqzUmqcgRabXZ7ujgJ+ZTI0kfGXf fILT9LuSoISQftW/xGzGxF1h843AHpMJXgjUXHGKKA6YFFD9WsAil0G7tkNkVcie70wJ YfUupcvBSDx28McWPFDlxnAS5il4K5wAriyUNp/fPNdqDLms0l1bA66xEvN1XSbfjILy y3Jc0pC7DYiOG/yLHN2fPUQNsL3LLwdDtiuG4tIIvjzqarxXnNauJIIgVj7Sg+2GbyUY +c7g== 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=YhigE/OGoscvqOl0SKNVRGsyQiLXVO3Kr1jw6qiPVZuNCW42T6eaPuYyjy1itFKL+D FnG4cksx01D0s1ofxnlcRdjosFIUHnCrpOWuqGB73xj9/5VuKXkAq9B2dTX+6pYycZZt HjkCFE7TpLMGPIfDfljMdDHilgG0aFNwCCsfqW62Cmwax3tU7mnrrwWWXcPzxNHlm1a+ gkAKbW6zHjc/KU8rec33LHdka9EfQxbrjaw9vgmn9+3HvVux8IHCpyCj3e/tZ2pfXDcq Kt/9gi886Bn5ebsjCEzCdNJOnKvpnbOq5nTl9HIoHkogHwBkNjdG2K5jT+526+PP+e2v Y6sg== X-Gm-Message-State: AMCzsaV54e797kDOqRTbG/szuz2qU+/2Lisy8NFaSsxsnbXT28NI+x4f T8YcsW2O6uy/tDTCW91HQmSV5nAg X-Google-Smtp-Source: ABhQp+S8e8hYLOHxbmeSFwkdVztrllHlhW1GiQdyTdJAu81jotaY3161nKoH98omWz2KaGVYwPHb3w== X-Received: by 10.223.198.130 with SMTP id j2mr14489487wrg.52.1508841363821; Tue, 24 Oct 2017 03:36:03 -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 w4sm12205088wrc.17.2017.10.24.03.36.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Oct 2017 03:36:02 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Tue, 24 Oct 2017 12:35:40 +0200 Message-Id: <7049f35993d8d8307299eaf6b203538a32584b92.1508840586.git.gaetan.rivet@6wind.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: References: In-Reply-To: <409639fdf67753288cff5bf7d91f725666ff5678.1508840586.git.gaetan.rivet@6wind.com> References: <409639fdf67753288cff5bf7d91f725666ff5678.1508840586.git.gaetan.rivet@6wind.com> Subject: [dpdk-dev] [PATCH v2 4/6] 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: , X-List-Received-Date: Tue, 24 Oct 2017 10:36:04 -0000 Update documentation to new API. Signed-off-by: Gaetan Rivet --- 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. -- 2.1.4