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 7A132A0C41; Wed, 12 May 2021 18:13:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5FF224003F; Wed, 12 May 2021 18:13:15 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 41AEB4003E for ; Wed, 12 May 2021 18:13:12 +0200 (CEST) IronPort-SDR: QKeNpDwjJ/ADHn/i1JWbFglRARuTXM2vkFyrBDGJjYj5aXk4ne9qAaoANcdb74LallIxZb96Z9 Pttx018HQceg== X-IronPort-AV: E=McAfee;i="6200,9189,9982"; a="180009617" X-IronPort-AV: E=Sophos;i="5.82,293,1613462400"; d="scan'208";a="180009617" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 May 2021 09:11:57 -0700 IronPort-SDR: Zca4nR/RWgNtwF3A8WkADX3aSJ3rHz0YdVjexOxGMgl8SXlMzdF+UPEuEI0ba9F67Ud16T+DhN Pgkfh6izT5zw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,293,1613462400"; d="scan'208";a="391911896" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga003.jf.intel.com with ESMTP; 12 May 2021 09:11:56 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 12 May 2021 09:11:56 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 12 May 2021 09:11:55 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Wed, 12 May 2021 09:11:55 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.171) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2106.2; Wed, 12 May 2021 09:11:55 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cdP5qTNDPM1kTunXiW0N/YTlqB2yU3zmAmV0PpQgmGK5q6dDHSdHZ/jW/qI77tnUR+whK+C4KB/k8hluEu/lVQFa4Esg2RxoQV664SHwCH+oRynIoqSyU9yUWKj1NvMksiDVHSCKqlKu0qdZVffjVMdN0O2KyL5sy74jDpoxgBYuicNau7UF6g2SOXzwCIqnILN8EbNIG/5vUZUOOl864qrVzHi3qHnxrWSDQFYU45lsRkP2AoERWrhfDZagqF9YCovlbw+iDtuQGohnJjqoDz2xFrWBLJOG5JN1O3IQATiyORlNNNf/eQrFgdb9nRzkQ5EZ9BdootWQcli8NYO4tQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OF5MtYIv8gRQdKa/mbQ/wnssEOfqqFiYf4ANf6sDlas=; b=nX/tONRK7/z170ftZRCzzaS8cJc4F9/gLZu5xfiyPNULQSFDc34RgJezE99XUVJ0OX+oXCR42FaVlWvi/jYAsc9/Q7DVDRD9TBAnTlz6kV+SPg7ZviJ7uv2IBlMkvOvuDnTUb2/J5Xwi+GYPgLcC+X7NJ7e4urb6GjkA85Ur2Coo4Oc6mMQ3XqpFgDQhDwvYuAqRO0Ne3v1ZBZMUp597ToJrJ66z1BmiQuWmd+7u8Md99eF01w7k0cqqNu0pgdj8MKpuIq8J9ZP14xd/TiQHKacrFJKicuv6qDRw1FLBh5n4M9fKF7VxgeWO8/qPGCJbkwyknupLS4BoFGwTJaoO1g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OF5MtYIv8gRQdKa/mbQ/wnssEOfqqFiYf4ANf6sDlas=; b=rBjJ7Jq6jSGm5fP/VJ+JrFtin6pEB21VNoC9QPF13vgky3DuIPzKKQGF07Ih2s0UB6JsA1g3trrJEVtfuQDuy5iJNIS01sIgsIS5PiDZelE5VEBbFVWpM+7qsH8PF2GyHZESKuMxOrm5kzqh/WvIJjZOm9rtFfA3rCDseaJiUjc= Received: from SJ0PR11MB5055.namprd11.prod.outlook.com (2603:10b6:a03:2d9::10) by SJ0PR11MB5181.namprd11.prod.outlook.com (2603:10b6:a03:2de::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.26; Wed, 12 May 2021 16:11:54 +0000 Received: from SJ0PR11MB5055.namprd11.prod.outlook.com ([fe80::d4c0:1747:b7ba:6ffb]) by SJ0PR11MB5055.namprd11.prod.outlook.com ([fe80::d4c0:1747:b7ba:6ffb%5]) with mapi id 15.20.4108.031; Wed, 12 May 2021 16:11:53 +0000 From: "Laatz, Kevin" To: "Richardson, Bruce" , "dev@dpdk.org" CC: "Hu, Jiayu" Thread-Topic: [PATCH 2/2] raw/ioat: remove special case for no status reporting Thread-Index: AQHXRz4r/ujTm0YBOUSAkSmvvI975qrgAz8Q Date: Wed, 12 May 2021 16:11:53 +0000 Message-ID: References: <20210512145000.249215-1-bruce.richardson@intel.com> <20210512145000.249215-2-bruce.richardson@intel.com> In-Reply-To: <20210512145000.249215-2-bruce.richardson@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [51.37.15.184] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 90bbc6d2-adaa-4bc3-1b2b-08d91560a89e x-ms-traffictypediagnostic: SJ0PR11MB5181: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: +mFhPHVWMDheqJjuy9enau8rdEU5jolsvR8gN9F+zn5i4A+BsryDUd/SjyQfvhE5AumISSfX4LLilEIWpYdmWf9JRCwoLAkCcHKT/248E3Ruiy+ZRuBg+sTNKuvabud14FybfuR1BNzYpnJhFJ7F37nNBob86HOa8QidAYrpdlrjTGhV+kPR73YatXJN1d4Va/Ah+t7DeJywaqY81XsKsixC5t2431dCnID34v+V9co8mZSe5+lnpJyarFx0rxg7IpMW456HXHlu6QmZP96M0+rqO2TiwRJrxIymkeLfCHreGj/L4RPPSrcbG2jI61FaGVo81TuU2g6IVSWJsroy5qF76HrUZZrPsmgiKCtDQARp/th/7jMqvQADcHWMkdbuFh/mPnKxM1SILjhgAKn1//2DtRRZuaOEWKvFQ5OViD0NDUWvL5Roe4N1+F7CPDa2JJxoP1Fsu7xKnY/R0uD1KrX1qBPfaFqus7dOaDpb0E6OSgGvSKCqkYvqecgWkrWaWI8W+ymHgYmQs7qOFK/GnAvDaB1t449TX7WLwmwO/fg5gVV6kFlKaAvIOWe/2UMqTjrzlABwB4oT889/XkKVMNolmxyzOefDLIj7dgCyeWY= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR11MB5055.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(376002)(396003)(136003)(346002)(39860400002)(366004)(33656002)(7696005)(478600001)(71200400001)(6506007)(110136005)(8936002)(186003)(8676002)(26005)(38100700002)(52536014)(316002)(66446008)(76116006)(86362001)(66556008)(107886003)(66476007)(64756008)(66946007)(2906002)(4744005)(55016002)(122000001)(4326008)(5660300002)(9686003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?DKCzUSus0Zpo59BnTLfRp4Dk95GFTg+NfTh9+aW4PRaad0E7QQybcLD/wo5V?= =?us-ascii?Q?rfBN38ht7SDZWdbChnPCIwgwPkEtymrckPNNswAno6ulsrX1v+PGvp/EenBS?= =?us-ascii?Q?t29cu/W16zFAwWEB8ylyvUJRtsPQQIaXEhyqcVs6lRIaywdT+noXFOlqCE+8?= =?us-ascii?Q?jSMJ5TqGlLBgy8L27QA846DbBhOgzU0mPtxbdVE3dVVGrGJFtlLac8tPk+Rr?= =?us-ascii?Q?UQRUOziPTz+8vgDoAKJte/FPc24jZYjYb0Zl7oAbF0g8OK+5goJqEUatFOUK?= =?us-ascii?Q?vTna00tZd5b8noOJOTzqd8w13ok+1BBT9joGQecE/vCx54hvnEDfjHNbzKeh?= =?us-ascii?Q?yQ66xHELyABbSco+vqvpXRbg/iiPnrqnAmG9j8Wq4CXeUTGOOUtiuFUASah7?= =?us-ascii?Q?LrcYg9Te75X5BM4PxXaXdqco0EkQyBCXbQkV6oDSDFHiP0IVt2be1aoZ/BGg?= =?us-ascii?Q?C2KzENLr856OfKesF8a/SRGz/IuLcQayiwNgNngnoCtczGqElWpNwsFoNEXe?= =?us-ascii?Q?GNzEHHZE9KJvLHQQikSq8NsXS+7UwHzk8GV9HiN+9v+DFSe6ed9CE9SkxZda?= =?us-ascii?Q?6SAv6gKsZ6En/dFHFa/Iof+3pxXwgxmzfFQQaoSKTDthF4HkfgVK7CYokHZA?= =?us-ascii?Q?Swlfu+ZgqY+80w9UGDwmIUCknsv4/JBiBRIXXFpX1gTJXYWSj6Rzr6Bp5Pwg?= =?us-ascii?Q?bq4vztZHsKns5acpKx2UkQTKkKmBxRZQSy8b2+O2NZswrKFxeXKeovrgB18b?= =?us-ascii?Q?Z/yMZdTuvLV3N32TXgE1jOskQxNF3f15YAY5J3BupH8k26vBoFz6tfK1NqCd?= =?us-ascii?Q?U8rss76LmERBu7Awca0oOywM5AppXfmtVctMjckK58cmuBxJcwnCNJ61Sulm?= =?us-ascii?Q?owEEEwSaKvNiax56NS/WydAaMchF8NHFL1dSzYaqc4awe6qaKxTuy0jkZGbB?= =?us-ascii?Q?2kqZ50/2FjkFYLWLGZvk+fuzSlYEoBpu7dp7cBt01tbYCZP+WWmd+EjiFSff?= =?us-ascii?Q?ZyfE4PQu7pzpB4tyDbT63gxIbme7ILXfTaDhI2Mxxej+6C/clHIIZxR2EVVb?= =?us-ascii?Q?XPR28s0sCWC+aAyLH3GXS/GlNjpeAjhFdzx9/bJLCD8+AG2biYYUmG52+Vrn?= =?us-ascii?Q?k+BDAZnel2e72siSTjSAgTFCaYZIUyY/nAhDgtvsPQOfKYXFSC4UgwBdukEJ?= =?us-ascii?Q?AZCvbchzf3O70NVYHRZhZ3m+d8LbgPchBWPgyKdeGu/rLTL0u+9k793v3wDP?= =?us-ascii?Q?0JKBv0v7fsbCpg74NTK4rbiF/FP08giUEQrxXA4CrcxFOTomZNWFJn+8dIf6?= =?us-ascii?Q?z/E=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR11MB5055.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 90bbc6d2-adaa-4bc3-1b2b-08d91560a89e X-MS-Exchange-CrossTenant-originalarrivaltime: 12 May 2021 16:11:53.8717 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ZvFNyRxG1NWk+JJdKtax95r0t9kMketUL/m11tg5NDjjFajy4TpbTUMOG3K0DwywUNc1Arw2IczZxTwBL9Ee8A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB5181 X-OriginatorOrg: intel.com 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. >=20 > Fixes: 245efe544d8e ("raw/ioat: report status of completed jobs") >=20 > Reported-by: Jiayu Hu > Signed-off-by: Bruce Richardson > --- <...> Acked-by: Kevin Laatz