From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5F5B4A0C41; Wed, 12 May 2021 20:49:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1BA2F4003F; Wed, 12 May 2021 20:49:36 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by mails.dpdk.org (Postfix) with ESMTP id 52A944003E for ; Wed, 12 May 2021 20:49:34 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id CE2D95C004E; Wed, 12 May 2021 14:49:31 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 12 May 2021 14:49:31 -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=fm1; bh= ez0waFIJfJam85admZ8o7yC3z177Nksz5Uz3T++EZnw=; b=uUREPo2zaG1KO1c+ BKazvTSE09uIONfhUNYoViSDfrzTXhsut/VclGDztV/bXaYLqtd95C9qeAfHuYle RdN5B4p8JsLJtpwyGwgrsxwnr0OpZStOn02Puvw8D0EhS+Vkql3lvPW+OcKxoH4G Xq4duG+y6Zqix3MxizHLhuYYCS3SXUCBu/v0v9APopC2t2rff0iydbB29KlPc5br gGMsRJ7BxW7LHIyPYEcErafBLszdg9aHdJZltusoGmCPrPCVBKQ0YA9A29/eATpI WNYa4iKK1SS6dFKgWTRFaDqUROIB1waAv3xT+BdfGjZCR3O+IcoXND5M4UKX9SSP XCH9TA== 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=ez0waFIJfJam85admZ8o7yC3z177Nksz5Uz3T++EZ nw=; b=XATmzKmz2Yl8nXurVDO8DJRdSQvVeiFBjsFuAJ4QkKi17aaQ3ByUHZDkG RuQswpVf5iiWWpDetVu0MpU5y4buVXeMGCaTT1Hjppgzu8USFsT4wyjA/dg0uvTd aEE5ell2Op3E1W5T81w/40NSKcoJoL1A5sppy8yjVWAbY9xxqs34iUsInlRaegpF GE0tgfi8/J9/Aqp4ExD58k3M8WV3SLeOHNBoLdzjBVd2xl0jtHegGfQc5VTSH7bp sK9WEhMLCBOvySu43kayfORahvjk5aYuQqZfXBxP5wuxdQLBwjyOFGW93dsJYgca 4l2wd7FVlCHGxNFRCyQkVUCqDmmNQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdehvddguddvkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdej ueeiiedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgr lhhonhdrnhgvth 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; Wed, 12 May 2021 14:49:30 -0400 (EDT) From: Thomas Monjalon To: "Richardson, Bruce" Cc: "dev@dpdk.org" , "Hu, Jiayu" , "Laatz, Kevin" Date: Wed, 12 May 2021 20:49:27 +0200 Message-ID: <5247740.JHo0oh9IxD@thomas> In-Reply-To: References: <20210512145000.249215-1-bruce.richardson@intel.com> <20210512145000.249215-2-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 2/2] raw/ioat: remove special case for no status reporting X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" > > The special fast-path for returning completed descriptors without > > reporting status or user-handles returns the number of completed ring > > slots used, rather than the number of actual user-submitted jobs. This > > means that the counts returned are too high, as the batch descriptor > > slots would be included in the total. Therefore remove this special > > case, and use the normal status-processing path so that the returned > > count is correct in all cases. > > > > Fixes: 245efe544d8e ("raw/ioat: report status of completed jobs") > > > > Reported-by: Jiayu Hu > > Signed-off-by: Bruce Richardson > > Acked-by: Kevin Laatz Series applied, thanks