From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3086FA0569; Wed, 11 Mar 2020 16:48:27 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4ED221BF7F; Wed, 11 Mar 2020 16:48:26 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 8D5942BE6 for ; Wed, 11 Mar 2020 16:48:24 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Mar 2020 08:48:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,541,1574150400"; d="scan'208";a="289422813" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by FMSMGA003.fm.intel.com with ESMTP; 11 Mar 2020 08:48:22 -0700 Received: from fmsmsx118.amr.corp.intel.com (10.18.116.18) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 11 Mar 2020 08:48:22 -0700 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by fmsmsx118.amr.corp.intel.com (10.18.116.18) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 11 Mar 2020 08:48:22 -0700 Received: from NAM02-CY1-obe.outbound.protection.outlook.com (104.47.37.55) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 11 Mar 2020 08:44:12 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jLcM80OkI/r22o9RZlfVkIXA2Ymb79Aorb3mhtqBueIF6I5oeVvyJW4pRDEcLhondJLNm0xmM1Raq+ey/vvgnx+lvz82s2yWakf3Il2UVaBz4eva9Ch1BOidhu80aCFT3ZJNa0pfBaZT44NxRGO/FWAFyrASRoYl2xzz3TcLDb47ks4/cHHWPRlcP2rMSqjQWt4SFwDCwDwgIV0n+3QuWy7ZyD5fZrGWwM0UgGBZ9Vc6HW1v12K12fEh21/ZVC6MBv3miSzBxTlG2mhF94k4n1pjH/c0FjSUbTh58MUjdoi8MjGsy2I1S51wyg5Sf7uLtmJUmXDz+RpOsCaeLkEdug== 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=qlTyYAeCh0BHjhrAd2lgncg9av2awo0OWqfJuG2J7Mw=; b=SBmF6fHmQWssub4JsognDhNYZHV6OKIbZbDxOrJPr1CCHXiYN6Wj5p+tVMe3N38slqqspBlXrAqVJiKQ9BYQDe8sysI3nIaTzPo+IR9eUdo2bg/oY1gRiytcveKzscX/XIr3tLWPH2YwLGPOCpv25UDFpsnm6xjCIdohVZpUPAfv1Ub65gRRq8mxfDmBLuiQonQx1yoID+JkK9fM2COVs2MkP6NR7odZT1kTt9HHqCP7FtxbEhfiy29mkIWFsW031FpYossJOLbD7gTAPOBYWH5DwKgf4SIsTmCrBRkAj+0x/tD5SCL4jYqOXyPhz4sxZdORgNhzX443lPVmr2QOEg== 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=qlTyYAeCh0BHjhrAd2lgncg9av2awo0OWqfJuG2J7Mw=; b=cr/z0AE2vPiW8YzP3GBg8JQ4k86D1ozI20rrvYqjR1+s4CUd2v26uRNhThFIU2uPNS/BLHygcubtB15N7gmWlixgGeHsBNzr86F7JxgFIejKkEE9fFaCoGe30bwoPSef9L6DSMZXKFrZDoaZr0y5JHQ2l4EbuHHsk6JkT/qXYZk= Received: from BL0PR11MB3316.namprd11.prod.outlook.com (2603:10b6:208:68::28) by BL0PR11MB3298.namprd11.prod.outlook.com (2603:10b6:208:66::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2793.17; Wed, 11 Mar 2020 15:44:10 +0000 Received: from BL0PR11MB3316.namprd11.prod.outlook.com ([fe80::e9eb:fb8f:f54e:4622]) by BL0PR11MB3316.namprd11.prod.outlook.com ([fe80::e9eb:fb8f:f54e:4622%6]) with mapi id 15.20.2793.018; Wed, 11 Mar 2020 15:44:10 +0000 From: "Kusztal, ArkadiuszX" To: "Dybkowski, AdamX" , "dev@dpdk.org" , "Trahe, Fiona" , "akhil.goyal@nxp.com" , "Dybkowski, AdamX" Thread-Topic: [dpdk-dev] [PATCH 3/3] common/qat: optimise calculation of cookie index Thread-Index: AQHV96Cv8FJbVa8HKku+PUmL5zf4RahDiHAw Date: Wed, 11 Mar 2020 15:44:10 +0000 Message-ID: References: <20200311122608.1262-1-adamx.dybkowski@intel.com> <20200311122608.1262-3-adamx.dybkowski@intel.com> In-Reply-To: <20200311122608.1262-3-adamx.dybkowski@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.2.0.6 dlp-product: dlpe-windows x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMWEyZDJmZTEtODViZS00OTkyLTkxMGQtZjA3NmQ2MTA4ZWEyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiRFwvRmxoUjUrWkVVRTcyNTJvUzNHc2lWSFhYSzR1dHRWQjFmUURoZDVtdDJucVR2WmFpQWpyeUFvME50Nzd2Q0MifQ== authentication-results: spf=none (sender IP is ) smtp.mailfrom=arkadiuszx.kusztal@intel.com; x-originating-ip: [192.198.151.43] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e12d09bc-bdfd-4c27-9aac-08d7c5d30af2 x-ms-traffictypediagnostic: BL0PR11MB3298: 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:439; x-forefront-prvs: 0339F89554 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(346002)(366004)(396003)(39860400002)(136003)(199004)(86362001)(8936002)(478600001)(52536014)(6636002)(81166006)(6506007)(110136005)(316002)(186003)(71200400001)(33656002)(53546011)(7696005)(4744005)(81156014)(26005)(76116006)(5660300002)(2906002)(64756008)(9686003)(66946007)(66446008)(66476007)(66556008)(55016002); DIR:OUT; SFP:1102; SCL:1; SRVR:BL0PR11MB3298; H:BL0PR11MB3316.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: BS6uqivJRqelvWfFb5/J8u8j/yi+9P4weqgC3EZiFm0gIZj/8fZOmv8ML7r50hHfRwQFQwSHr5twB246vkC/abQ9cg+CcTCO/YjIIS7oXY1Dly9xSeNrohU0F8C0NkuVOHXVuaw6LK4Mb6FblK7GaqNB8HPlsv1Oa70hxXWE+1b3gtyG75o125n90mNjlvnfxWdaytGthHZxFTINq4fZrib676ShCI42b1Q87iSMVe4/+YbJP+f6c7GKkQikW631ggHHALLmjNOdS2TyfRrOA/hJqWbdOLJknrbzvJE9ip0CKdPjwTY2mZPBLir0keNz/CfvdUOpapFNst5k++N64VkDMyZNFj8227frsI4c87ESFE5C2qUpNkqDjPoIYAP5u2RKRwVPN+8auEC/RoJqeWCXa4jbjC6pjxc31bWSR1OWOwCNLkBbgzvnUA8Nzn8M x-ms-exchange-antispam-messagedata: RmeVvFD3gBJk1FakAhM8BmrxbRKwQMgv3JxVn1HHDXXtgWfGeRiivksfsZ97tSlJGe6PAjgcsB5x3+ZEH4AdY1QkjXKtrvt1dpjGNFmOVoF3qMldOx7h2InvznesjHpfKrYaofoTGDk7rF1CTZ1JQQ== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: e12d09bc-bdfd-4c27-9aac-08d7c5d30af2 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Mar 2020 15:44:10.7118 (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: 7Y4j6s7gOnJxZUqEZ1u9yyvOvZnxJypzo+yab2d2yIG7peFRazFRA24oXZ7uAu+6YLY/3pN5KK7mMwm3RmcNf5uoYn6S97SGJ5w9JERj3Ik= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR11MB3298 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 3/3] common/qat: optimise calculation of cookie index 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: dev On Behalf Of Adam Dybkowski > Sent: Wednesday, March 11, 2020 1:26 PM > To: dev@dpdk.org; Trahe, Fiona ; > akhil.goyal@nxp.com; Dybkowski, AdamX > Subject: [dpdk-dev] [PATCH 3/3] common/qat: optimise calculation of cooki= e > index >=20 > From: Fiona Trahe >=20 > Avoid costly division, use shift instead. >=20 > Signed-off-by: Fiona Trahe > --- > drivers/common/qat/qat_qp.c | 9 ++++++--- drivers/common/qat/qat_qp.h > | 1 + > 2 files changed, 7 insertions(+), 3 deletions(-) >=20 > 2.17.1 Acked-by: Arek Kusztal