From patchwork Tue May 18 07:34:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Monjalon X-Patchwork-Id: 93295 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3A5B7A0548; Tue, 18 May 2021 09:35:22 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B410F4068E; Tue, 18 May 2021 09:35:21 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id 54A9540041 for ; Tue, 18 May 2021 09:35:20 +0200 (CEST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 9B3F75C00FD; Tue, 18 May 2021 03:35:19 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 18 May 2021 03:35:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm1; bh=y7zF6aDmcNTD8AvfPdogVp6157 PUsCXG4rkaEeZy5Z4=; b=QrRHo5R//JT0I0RzsSi3AqrXf1ND+/OTX5PiRC3/ww w37zff5WvyvprfVZZOw6LPdY4EnrnXm3tXYQKQh2j757eEGKvHOGgPT+pm8TUogc Z4JtsvyMpmBtIwj5Guwji55K1VxWdfv0PiAagCwQkxtszBNHf1ZoOG69rIhnfINA 447PCj563XHjZ7ttl/j1OPX7lOFjLv4Ig/zBdYZAd2YTZZL0czOLnJo3C6+i2J6R DdY5jArK/Zq9f2B6tfSQRUIEdz3SbTLkhQc5iXz1cGc9nx4Op5dnT+NI2vktra9l QNCkht01Tgpt8KwNnA1UWOHJQbVcotdnITCk46ZRQDFQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=y7zF6aDmcNTD8AvfP dogVp6157PUsCXG4rkaEeZy5Z4=; b=NqBPjSPQyXDQ5Et1mmQxpI5hbWF7gAp2w LiMlU34m4mgeU6S0rIJaJEIYo3OxhRAH09Ov4vEhy4exSFBJtc5IBL1PT5B/Wuqf M1Vy3kN/iAVH6aaqcNT7hoM0AvbhpJ7XtUL/LrvJQfnlniNwlNE0GmF92ETBrZeq m3lk7UoOUmLFVKtYOi9blIzLET9HEPNxmqrz6taRerURKxD1wJib9HEJeh1dYCpH lah150oMPNAU+XZQ3YobyPmJvW6bABSJ8aVUpGtBx3J+/EZTHw2UYp2JjCVNRUjA OG8+bEKB0o0kH5V3azQWI1uvp4ZXIIMOeEnMOUKcF6itHGQ4XnZtQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdeiiedgudduiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkofgggfestdekredtredttdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedvledvudehvdduudevuedvveehgeduleegiefgjeehudehtddtgedu ffejiefhgfenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho nhdrnhgvth X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 18 May 2021 03:35:17 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: ferruh.yigit@intel.com, david.marchand@redhat.com, olivier.matz@6wind.com, andrew.rybchenko@oktetlabs.ru, maxime.coquelin@redhat.com, chenbo.xia@intel.com, ktraynor@redhat.com, Ray Kinsella , Neil Horman Date: Tue, 18 May 2021 09:34:41 +0200 Message-Id: <20210518073441.2749096-1-thomas@monjalon.net> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH] doc: announce transition to vDPA port close function X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" There is a layer violation in the vDPA API which encourages to destroy a full device with rte_dev_remove() instead of just closing the port. The plan is to introduce a new function in 21.08, promote in 21.11, and deprecate rte_vdpa_get_rte_device() in 21.11. Signed-off-by: Thomas Monjalon Acked-by: Andrew Rybchenko --- 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 9584d6bfd7..30f84403eb 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -126,6 +126,14 @@ Deprecation Notices can still be used if users specify the devarg "driver=i40evf". I40evf will be deleted in DPDK 21.11. +* vdpa: The vDPA API should not try to manipulate or export + any ``rte_device`` object, which belongs to the bus layer. + The function ``rte_vdpa_get_rte_device()`` will be deprecated in 21.11, + when its usage will be replaced with a function ``rte_vdpa_close()``. + The new function should enter in 21.08 and get promoted to stable in 21.11. + A port close function will allow to close a single port without destroying + the rest of the device. + * eventdev: The structure ``rte_event_eth_rx_adapter_queue_conf`` will be extended to include ``rte_event_eth_rx_adapter_event_vector_config`` elements and the function ``rte_event_eth_rx_adapter_queue_event_vector_config`` will