From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 70DBDC04AAE for ; Wed, 8 May 2019 20:54:31 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 012B4216C8 for ; Wed, 8 May 2019 20:54:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=monjalon.net header.i=@monjalon.net header.b="V7H73sUj"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="GOIqEaF1" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 012B4216C8 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=monjalon.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org 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" 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