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=-0.7 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED 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 62382C04AB1 for ; Thu, 9 May 2019 07:38:41 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id A2785208C3 for ; Thu, 9 May 2019 07:38:40 +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="gUI6FdFg"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="WBdhRfsF" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A2785208C3 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 A68CA4C93; Thu, 9 May 2019 09:38:39 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id E48794C8D for ; Thu, 9 May 2019 09:38:38 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 345842438C; Thu, 9 May 2019 03:38:38 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 09 May 2019 03:38:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=SlqRRZrsFAVHLBrvnC7/urQPUr8C3H588JfCZQq6/u4=; b=gUI6FdFgdFwi 1W0a+W3LMWZZvbrHcPOKxUG16dxR38pUGR7nWr/ranfJ5sA6Her7I1FmtfvuuzUW WDGzxXS/eoFJwcNUMIBfooNEoUMXgcIL9KG/lORCoDqS5SSXP9QlW7GnlTqHhWxT hI3TFVP5cxCOMpvSzyZyLOfttV0B4zQ= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=SlqRRZrsFAVHLBrvnC7/urQPUr8C3H588JfCZQq6/ u4=; b=WBdhRfsFeAOfQEzkIRBAW4ZQb6TclMSLxmprk4MPcXEegjBpVUFvUJzQ7 eyHhq0V/8rX5bBub8EGcX8euXuqStV7SA2fou/t5js5YX1PagGCDqfQ2QxtZmehq yR1T3tydig1FCwfyqr+YdsBLAd6bk7ZwMX8Bel2Jaxy6fo5U6vq39ABE4iv6StSQ nrMK25LC4l57uqBuYsF8tyWIAbSQtWG98O30fdHMRG2FHqR+7Ys6x6aNugfAcNPu 2uAMeY5710aTZwW0MljPUwwpWVIZ9IW1A4rqzdeHBlLWmHNrlCzS4sIzZlMCjHSs gjuIGkQh3/+4mTzwsLYaCfvOlXZQQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrkeeggdduvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id DEBB18005A; Thu, 9 May 2019 03:38:36 -0400 (EDT) From: Thomas Monjalon To: David Marchand Cc: Arnon Warshavsky , Stephen Hemminger , dev Date: Thu, 09 May 2019 09:38:35 +0200 Message-ID: <3927594.Gl3vgMmjsF@xps> In-Reply-To: References: <20190508205413.31134-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [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" 09/05/2019 09:34, David Marchand: > On Wed, May 8, 2019 at 10:54 PM Thomas Monjalon wrote: > > --- a/doc/guides/rel_notes/deprecation.rst > > +++ b/doc/guides/rel_notes/deprecation.rst > > +* 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``. > > + > > > > Nit: do we need error codes ? or only a single new error code ? That's something to discuss. In my opinion, we should return any errno from read and write syscalls: return -errno;