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 288581B04C for ; Sun, 7 Jan 2018 10:59:08 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id BF8FF20A7B; Sun, 7 Jan 2018 04:59:07 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Sun, 07 Jan 2018 04:59:07 -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=gjkTj4/306VR5hX4pTd5ojZiMY LH1Gz7eCrldVbW8Ls=; b=N/dDPw4JPtqeT6ZxugOEYzDXm1QaeDQ6x0oqwsZebM reoZYsL4o0OCY725GS7QEEgkzkzPMXmOz0GxMpKXTSAZk2BnAXH0zDvm6FXv37a+ Y/eFzAXTaWZT2fQxn9OUe6hdLXEvwL8cusHg9VV1SGVO/Vye1d3hLFnsZVL0DD4R g= 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=gjkTj4 /306VR5hX4pTd5ojZiMYLH1Gz7eCrldVbW8Ls=; b=Z24ytpG2KJ0dIY3nXhseFd Xh2n46kPsrDASO3sN8joWVV5vVrYMXyWAjrRY8L2YXShPRWzbDu90OAv1UME7PB9 0mP9SJKTz74TyREwvZvUKVNv8jw2rY5XSvluHLRQG/tnJYmhVtwdmThr30+Rdv6C AVFrmAPYHR/lvDpfTvot1uMRlEqyutkyfnMDtx7cJdo9EjH3jjWGCiGOVUk8dXDn 48Cjjv2adaHV66zmlGZf25cMC+2uR9SB2B/I+cdDckTUbCYNgqIi0n+ycggke+Gq G4+9jKWqcbU8FsOcMYgIi133s161iIE/WklRGWny8sqz7+QCUjiDoyXsgcKgqD8g == 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 78A957E30E; Sun, 7 Jan 2018 04:59:07 -0500 (EST) From: Thomas Monjalon To: Matan Azrad Cc: dev@dpdk.org, Adrien Mazarguil , Gaetan Rivet Date: Sun, 07 Jan 2018 10:58:44 +0100 Message-ID: <8024534.OFCDHultRJ@xps> In-Reply-To: <1513703415-29145-6-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-6-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 5/6] ethdev: adjust flow 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:59:08 -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 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