From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 97E781B766 for ; Tue, 24 Oct 2017 14:29:31 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 412CC20A49; Tue, 24 Oct 2017 08:29:31 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 24 Oct 2017 08:29:31 -0400 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=cxKSBG6VgC8bAuLk41wC7Lysv1 7dcQwvdSlfJBvQ370=; b=NNBOkGGO5a8EkhSknRic7atQZOJo7nVX3AXJ1jdzl0 TaJNDDMigM3YWJ8feGPvK5/oktcJrYwk93LvdrEB/R4XSJE49Ad0+Bicy6fgGyc7 KmT4NYJI0nPZMhU2gIL+Toryc/izf7OPY/MGjvnT/BG2qUFIVdQ9oIY86MkGrdXw 0= 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=cxKSBG 6VgC8bAuLk41wC7Lysv17dcQwvdSlfJBvQ370=; b=WJzOKb9qth2NFdcExolnvG HlJr/E2F/aWDjzb5gbe1Rk2i4JTLpHEcCByLq6JbsH+rvc/YRqDLGzrwuJbZ7xuQ guO5UezpDpgFrStm7ohmZMYAbJxoon0Ijs2exa3uJT75Rqs5S53SWYXH0KYhzsQ2 cBempfUKoFwm0uuoU7CjvRGTFUopUp+diCbnR146y4OXFCiEqCW6qQEjwiE8FJAY NS9NbebNyX/TzxuVNyAV1gYLPgn2jqY3r7Vb1RRPxeoRv2MzYV5ZicY1eqZBK8by lvMZ9+lprz0FfrOaZT7REOQc7AhiHKJh15+3EPMxnvpVPBd8LloSnhhmd0UA1MFQ == 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 E2F95249CD; Tue, 24 Oct 2017 08:29:30 -0400 (EDT) From: Thomas Monjalon To: luca.boccassi@gmail.com, Luca Boccassi Cc: dev@dpdk.org, wenzhuo.lu@intel.com, wei.dai@intel.com, remy.horton@intel.com Date: Tue, 24 Oct 2017 14:29:30 +0200 Message-ID: <4520525.jkYRCSMrae@xps> In-Reply-To: <20171024110312.24029-2-luca.boccassi@gmail.com> References: <20171019134827.22740-1-luca.boccassi@gmail.com> <20171024110312.24029-1-luca.boccassi@gmail.com> <20171024110312.24029-2-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 2/2] ethdev: pre-emptively document rte_eth_dev_reset error code 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: Tue, 24 Oct 2017 12:29:31 -0000 24/10/2017 13:03, luca.boccassi@gmail.com: > From: Luca Boccassi > > When VF reset will be supported by drivers, the API will most likely > have to return -EAGAIN to avoid blocking when the VF cannot be reset > because the PF is down. > Document it immediately even if it's not yet supported, so that users > and developers can already take into account about this use case, and > thus avoid an API-incompatible change later on. > > This is based on real-world production usage and customer escalations, > using earlier patches from Intel. > > Signed-off-by: Luca Boccassi Suggested title: "ethdev: document new error code for reset" Acked-by: Thomas Monjalon