From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3 5/6] ethdev: adjust flow APIs removal error report Date: Sun, 07 Jan 2018 10:58:44 +0100 Message-ID: <8024534.OFCDHultRJ@xps> References: <1513175370-16583-1-git-send-email-matan@mellanox.com> <1513703415-29145-1-git-send-email-matan@mellanox.com> <1513703415-29145-6-git-send-email-matan@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Adrien Mazarguil , Gaetan Rivet To: Matan Azrad Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 288581B04C for ; Sun, 7 Jan 2018 10:59:08 +0100 (CET) In-Reply-To: <1513703415-29145-6-git-send-email-matan@mellanox.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 flow command execution, many > different errors can be reported to the user. > > Adjust all flow 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