From patchwork Mon Jul 31 09:40:43 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: 27273 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id D5B587D6F; Mon, 31 Jul 2017 11:41:02 +0200 (CEST) Received: from mail-wr0-f176.google.com (mail-wr0-f176.google.com [209.85.128.176]) by dpdk.org (Postfix) with ESMTP id 66A7F7D04 for ; Mon, 31 Jul 2017 11:41:01 +0200 (CEST) Received: by mail-wr0-f176.google.com with SMTP id 33so120266652wrz.4 for ; Mon, 31 Jul 2017 02:41:01 -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=/ySQg9d6/pE7HBvTzzr/ImTTsWrFFIIO9RJYDtbRQfA=; b=2MR6NLyisJxNJo0K7XvHPu3lFPtsI0LrgyyZLCU4ltiNux4XU+MFm2bEA5AapOLy6D IOjvgAh1OERLQW9EPMnAsyAL7pRR2DgsJH6h2UsNDjAZRNO2s2gmpeV2EA2+0828K8Ja tdVD0UNsbB/rwwzO5Wm72l090yH1bkuH1VSDK7F6/tIqcqkZs72HPeBzbT5sW/lgYiWz DSb8nRJ4tuY63pZ4VS8eRdbqcwYR15c/HjlWmuaf00CjfLpTOm1ESuKpBLlGG9XcW94z SvS30nVPX7oyyXXdajwuk57Et8c3OviYJgBA2Ow9Wt2PgohoIq5UQm7xGw5lV3Yue76S Jt1g== 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=/ySQg9d6/pE7HBvTzzr/ImTTsWrFFIIO9RJYDtbRQfA=; b=DBxIwD8kFffs7qo0appeooCTp6v+kHLZ6pYOgHoQFDKAuTZFE5MHuhdLdXUR1cjIDj lEgKy9NhHmVwye1ATU3cmPY0oTtHULeLsC1KtswroKVDLN7Fhmp6k7WSWM/E7MEruN72 I2N61aXUiexvVPJ2RX5oLZZSj/ITBK/YHn0RLSL7RXfx017iR4si20DHOeZ7hcomIGRN PzwmlNLa6ObsdHWf8vZec8dGWFPKw0YHqQnZp2pQ7wSjYjMtdaRIyKV+cDEzBQnFgtMv +kB46TolKg21IIbmk+bHA1dbEToU9XW1tMdiZxTiI1Mfw2/29uHSNyng/Es/0jB2KAVi vFkA== X-Gm-Message-State: AIVw112YJkFIYntQpJDcd2E74ODbNgTQdgGn+i0NsFIwcyXdsIHbiPox dw+54QIiZyShEZQEFlg= X-Received: by 10.223.165.153 with SMTP id g25mr13853577wrc.208.1501494060659; Mon, 31 Jul 2017 02:41:00 -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 60sm12661280wrd.20.2017.07.31.02.40.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 31 Jul 2017 02:40:59 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet , John McNamara , Adrien Mazarguil Date: Mon, 31 Jul 2017 11:40:43 +0200 Message-Id: X-Mailer: git-send-email 2.1.4 In-Reply-To: References: Subject: [dpdk-dev] [PATCH v3] doc: announce ethdev API change for detach flag 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" The flag RTE_ETH_DEV_DETACHABLE will disappear. This flag is not needed anymore following the hotplug work done for v17.08. It can be removed, its function is now implicitly made available by the relevant EAL and rte_bus implementations. Signed-off-by: Gaetan Rivet Acked-by: John McNamara Acked-by: Adrien Mazarguil Acked-by: Thomas Monjalon --- v3: - Sending this patch separately from the rest of the series. - Clarify the intent and rationale of this API change. doc/guides/rel_notes/deprecation.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 3c687b1..76da437 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -69,3 +69,11 @@ Deprecation Notices be removed in 17.11: - ``rte_cryptodev_create_vdev`` + +* ethdev: The device flag advertizing hotplug capability + ``RTE_ETH_DEV_DETACHABLE`` is not needed anymore and will be removed in + v17.11. + This capability is verified upon calling the relevant hotplug functions in EAL + by checking that the ``unplug`` ops is set in the bus. This verification is + done by the EAL and not by the ``ethdev`` layer anymore. Users relying on this + flag being present only have to remove their checks to follow the change.