From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id C71B22082 for ; Wed, 8 May 2019 22:54:28 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 3FA3E25911; Wed, 8 May 2019 16:54:28 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 08 May 2019 16:54:28 -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=mesmtp; bh=cBJbQm0+U6TCp4l6WBdfNuK PmneyBy/WSEn1B9IG82k=; b=V7H73sUj00rrYJkhciJ1WzrAzKLcR7OIYtV0Yi9 ch8fcUlwaX8lBLM4zW/ZAGnzGIEaAE7drGz6PcrklSGEOfmNgG4njbcu+gTNryji +l+Xj5tfheHQfpf76haxVdUjNmMFjY8DPB1z1MaAayFjzMYnNijjAiO00FV8XS6H d/l4= 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=cBJbQm0+U6TCp4l6W BdfNuKPmneyBy/WSEn1B9IG82k=; b=GOIqEaF1dMRY313Jr22P4edDElBQsdE+o 1kgkGdhA7jnKLWU1yaI2XQEOQKNwZeOrUwHcuKfvzxSXvTzymzJvuvV1Qeb05SEw w57G7dkBvVWUBHDb3xDmN9yRc/Hs8R9kot7HGbjGzaX6R5gMlpmzaY2n4rv8fv1/ qCf+APpRbldy7CJaHKZ6ED3rQb4YswjqNhmUEvKEg4oY2mDGK4KX7H1cjgAb9rtI 1fX86asH5LLXGpk4QdsfZLAgxnDWAvkuEnslk1eZkUpVQqotL+HQXcjOB82uzqX9 kFlnIDe64Ft/pBNzbigC1sI+TaRWopBHIoPeKxMl37CjlR3GC+JfA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrkeefgdduheeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgggfestdekredtre dttdenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhho nhhjrghlohhnrdhnvghtqeenucffohhmrghinhepuddurdhnvgifnecukfhppeejjedrud efgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehm ohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt 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 id A64CB103D0; Wed, 8 May 2019 16:54:26 -0400 (EDT) From: Thomas Monjalon To: arnon@qwilt.com, david.marchand@redhat.com, stephen@networkplumber.org Cc: dev@dpdk.org Date: Wed, 8 May 2019 22:54:13 +0200 Message-Id: <20190508205413.31134-1-thomas@monjalon.net> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] doc: announce API change to remove exit calls in libs 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: Wed, 08 May 2019 20:54:29 -0000 Two public functions from EAL and metrics libraries need to return some new error codes instead of calling rte_panic or rte_exit. Signed-off-by: Thomas Monjalon --- doc/guides/rel_notes/deprecation.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index b47c8c254..e61278429 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -20,6 +20,9 @@ Deprecation Notices * kvargs: The function ``rte_kvargs_process`` will get a new parameter for returning key match count. It will ease handling of no-match case. +* eal: The function ``rte_eal_remote_launch`` will return new error codes + after read or write error on the pipe, instead of calling ``rte_panic``. + * eal: both declaring and identifying devices will be streamlined in v18.11. New functions will appear to query a specific port from buses, classes of device and device drivers. Device declaration will be made coherent with the @@ -82,3 +85,6 @@ Deprecation Notices * cryptodev: the ``uint8_t *data`` member of ``key`` structure in the xforms structure (``rte_crypto_cipher_xform``, ``rte_crypto_auth_xform``, and ``rte_crypto_aead_xform``) will be changed to ``const uint8_t *data``. + +* metrics: The function ``rte_metrics_init`` will have a non-void return + in order to notify errors instead of calling ``rte_exit``. -- 2.21.0 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 032D4A0096 for ; Wed, 8 May 2019 22:54:30 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D6B692BD5; Wed, 8 May 2019 22:54:29 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id C71B22082 for ; Wed, 8 May 2019 22:54:28 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 3FA3E25911; Wed, 8 May 2019 16:54:28 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 08 May 2019 16:54:28 -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=mesmtp; bh=cBJbQm0+U6TCp4l6WBdfNuK PmneyBy/WSEn1B9IG82k=; b=V7H73sUj00rrYJkhciJ1WzrAzKLcR7OIYtV0Yi9 ch8fcUlwaX8lBLM4zW/ZAGnzGIEaAE7drGz6PcrklSGEOfmNgG4njbcu+gTNryji +l+Xj5tfheHQfpf76haxVdUjNmMFjY8DPB1z1MaAayFjzMYnNijjAiO00FV8XS6H d/l4= 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=cBJbQm0+U6TCp4l6W BdfNuKPmneyBy/WSEn1B9IG82k=; b=GOIqEaF1dMRY313Jr22P4edDElBQsdE+o 1kgkGdhA7jnKLWU1yaI2XQEOQKNwZeOrUwHcuKfvzxSXvTzymzJvuvV1Qeb05SEw w57G7dkBvVWUBHDb3xDmN9yRc/Hs8R9kot7HGbjGzaX6R5gMlpmzaY2n4rv8fv1/ qCf+APpRbldy7CJaHKZ6ED3rQb4YswjqNhmUEvKEg4oY2mDGK4KX7H1cjgAb9rtI 1fX86asH5LLXGpk4QdsfZLAgxnDWAvkuEnslk1eZkUpVQqotL+HQXcjOB82uzqX9 kFlnIDe64Ft/pBNzbigC1sI+TaRWopBHIoPeKxMl37CjlR3GC+JfA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrkeefgdduheeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgggfestdekredtre dttdenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhho nhhjrghlohhnrdhnvghtqeenucffohhmrghinhepuddurdhnvgifnecukfhppeejjedrud efgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehm ohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt 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 id A64CB103D0; Wed, 8 May 2019 16:54:26 -0400 (EDT) From: Thomas Monjalon To: arnon@qwilt.com, david.marchand@redhat.com, stephen@networkplumber.org Cc: dev@dpdk.org Date: Wed, 8 May 2019 22:54:13 +0200 Message-Id: <20190508205413.31134-1-thomas@monjalon.net> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] doc: announce API change to remove exit calls in libs 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" Content-Type: text/plain; charset="UTF-8" Message-ID: <20190508205413.hpaTL6s-pID0LrX5e682jLX9Iph4UU03ceioPhgW7GA@z> Two public functions from EAL and metrics libraries need to return some new error codes instead of calling rte_panic or rte_exit. Signed-off-by: Thomas Monjalon --- doc/guides/rel_notes/deprecation.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index b47c8c254..e61278429 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -20,6 +20,9 @@ Deprecation Notices * kvargs: The function ``rte_kvargs_process`` will get a new parameter for returning key match count. It will ease handling of no-match case. +* eal: The function ``rte_eal_remote_launch`` will return new error codes + after read or write error on the pipe, instead of calling ``rte_panic``. + * eal: both declaring and identifying devices will be streamlined in v18.11. New functions will appear to query a specific port from buses, classes of device and device drivers. Device declaration will be made coherent with the @@ -82,3 +85,6 @@ Deprecation Notices * cryptodev: the ``uint8_t *data`` member of ``key`` structure in the xforms structure (``rte_crypto_cipher_xform``, ``rte_crypto_auth_xform``, and ``rte_crypto_aead_xform``) will be changed to ``const uint8_t *data``. + +* metrics: The function ``rte_metrics_init`` will have a non-void return + in order to notify errors instead of calling ``rte_exit``. -- 2.21.0