From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 7078B1B04C for ; Sun, 7 Jan 2018 10:57:20 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 151642014A; Sun, 7 Jan 2018 04:57:20 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Sun, 07 Jan 2018 04:57:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=qI/9UyOF2x/xgRyAriR+jndSgr U7oyE+NhlX8edGG5s=; b=GtJEAKGR276uYjKYx4XyfNNIUAiYP+1iRi86puNXo7 lzAjDyuHgpKxn3hgNE5jOMdUTsl38o9B87A5xzSB4LRXVrR6NPScEBD7vugjbNej vYPx4kFBM/ee4TrEGkynBpOGKLn+cJkZhqENtfcJMLNxto/fA60cW8S+RNmmYATo M= 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-sender:x-me-sender:x-sasl-enc; s=fm1; bh=qI/9Uy OF2x/xgRyAriR+jndSgrU7oyE+NhlX8edGG5s=; b=NTpaU5kP6FRr5hWWFL2F4r 9pDxNYDC7w5SPypPDnXGcJD3zdQiYXA7UgTLgY6mj00oQosgTAzTyi0FTM9Sxc0g 0IEhkr+IVLM1uooKghxKTdLQLXHdeGRoRV4k/AjVPYhT+WFnRrVqPTQxP0qM4YNP AaY96SzVaIx///yi3x1PEtMLcDXQMZmPeZ/dWVRtEv0gyByuJOrkq+8rd5lVzeXC zls+qNV9bMCkhYxkt5R9AcE6z27xJUZ6mQHmVsnbs77kS+XXD9yJYt/cnRtYPISX KRVmM0QQCH3fvRo2j7e1xP6ExgO98PlZN9GPATQE3U437/M5zXe+vRc8y4r8+Ndw == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id BA25F24837; Sun, 7 Jan 2018 04:57:19 -0500 (EST) From: Thomas Monjalon To: Matan Azrad Cc: dev@dpdk.org, Adrien Mazarguil , Gaetan Rivet Date: Sun, 07 Jan 2018 10:56:56 +0100 Message-ID: <4192937.mmYzXhgGfm@xps> In-Reply-To: <1513703415-29145-5-git-send-email-matan@mellanox.com> References: <1513175370-16583-1-git-send-email-matan@mellanox.com> <1513703415-29145-1-git-send-email-matan@mellanox.com> <1513703415-29145-5-git-send-email-matan@mellanox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3 4/6] ethdev: adjust APIs removal error report 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: Sun, 07 Jan 2018 09:57:20 -0000 19/12/2017 18:10, Matan Azrad: > rte_eth_dev_is_removed API was added to detect a device removal > synchronously. > > When a device removal occurs during control command execution, many > different errors can be reported to the user. > > Adjust all ethdev APIs error reports to return -EIO in case of device > removal using rte_eth_dev_is_removed API. > > Signed-off-by: Matan Azrad Acked-by: Thomas Monjalon Your git does not display the function name in @@ context. Please update your environment. Thanks