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 22788A0569; Wed, 11 Mar 2020 16:53:11 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9141F1BF7F; Wed, 11 Mar 2020 16:53:10 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id DDAEF2BAA for ; Wed, 11 Mar 2020 16:53:08 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Mar 2020 08:53:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,541,1574150400"; d="scan'208";a="441724576" Received: from orsmsx105.amr.corp.intel.com ([10.22.225.132]) by fmsmga005.fm.intel.com with ESMTP; 11 Mar 2020 08:53:06 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX105.amr.corp.intel.com (10.22.225.132) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 11 Mar 2020 08:53:04 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 11 Mar 2020 08:49:15 -0700 Received: from ORSEDG002.ED.cps.intel.com (10.7.248.5) by orsmsx608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 11 Mar 2020 08:49:15 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.107) by edgegateway.intel.com (134.134.137.101) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 11 Mar 2020 08:44:29 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d5fAjy3Oqu9IjhEq0Y89IHu4aAi29WH0GIbjPGV6o+no6I+wboVclcJaQTCPrCcYKfYr5PMcvtbvbwXTlt/Lyg1xcFxVUVXIhfBB7kwUmrNO19fe+GzyixRBXjB8VF0X2GjxnrExw0ikMj3Uru6n7xj0qkTHaV6nT2E2Tz18sCyen1TVOuSf3vdxvw1NvM680nrRD1nMx7JCZ3AsPRuJJBVe8Suz5PcMT41R2G+LFEVrVPEBguKk2feJg29v5ulJb7s/YOXhj7RExQqwfTdaKxpPZ9CpERtsLexai/sFU33pKRGtEgN+/d8VDZorCq7tQqCgttWgNq6FDiBkjgpxyg== 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=oYofauBb7WxBDLGWqmUgUs072MJTAPWumg7vvHeW+Mg=; b=V5hWHdsiJj/ThAfSRa7lEeo8/5OnHxg4piUINF+I8hrHYBusGGqSZxTFTVPAh13UKfyByuq1i1bX0fLBnuctzRL8GDThsnsEy9EyQZyFhDAYe1Mdb0Kr6K6Y4gFVu4Jy0G8nNMOEODLsFP5tmE3JusZ+c4teER4+9mfYlku1vMBBtYkgoVH+pp0n+weVgndcZ91B0UyfB0M/dBDy3QQplMgFbde7Fzcrx98jB8j81qrNOz2C6LGor6irGPLCXBYY+xZ5BlIpYzrkSIb+3vCO0zgZv7MEuIDc3S0dme9CHXpmdR4T/3PWf1hM0hQRxKLz8hjsG/ifESnKhzrM0hDxwA== 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=oYofauBb7WxBDLGWqmUgUs072MJTAPWumg7vvHeW+Mg=; b=T6e4nCz58Ec/YM1b9UvzYlCWxRhj2nItRCFlorTx4LSm9umZ7OwEveYS+MjJCM24eVXt3BL3BbhpKvQKeBtWTbAcW3FHkQfkkoFDsuBp3M7ODEeGGb7E3tzcvJorz8eQ1a317YU5IntAjZbLmX7bWfBXP03aU0zPd6FLSoXt/4s= Received: from BL0PR11MB3316.namprd11.prod.outlook.com (2603:10b6:208:68::28) by BL0PR11MB3505.namprd11.prod.outlook.com (2603:10b6:208:7d::24) 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:28 +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:28 +0000 From: "Kusztal, ArkadiuszX" To: "Dybkowski, AdamX" , "dev@dpdk.org" , "Trahe, Fiona" , "akhil.goyal@nxp.com" , "Dybkowski, AdamX" Thread-Topic: [dpdk-dev] [PATCH 2/3] crypto/qat: optimise check for chained mbufs Thread-Index: AQHV96Cuu+QrbmJ3mEmHY8jR67mSrahDiJMg Date: Wed, 11 Mar 2020 15:44:28 +0000 Message-ID: References: <20200311122608.1262-1-adamx.dybkowski@intel.com> <20200311122608.1262-2-adamx.dybkowski@intel.com> In-Reply-To: <20200311122608.1262-2-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZDRlNGNjMTMtYjk0Yi00NWVhLTllN2QtOTFhNTBmNzNlZDQ0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiQWhaa2p2bHpWcFZEZzBlSVJab01ucjg0ZUJ4VVkyTUE2YnNSRXJSMXZ3WHZYZStWOElqWENEZGVBanIxRXBCQiJ9 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: 90b91a36-32fa-4a05-2abf-08d7c5d31590 x-ms-traffictypediagnostic: BL0PR11MB3505: 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:3383; x-forefront-prvs: 0339F89554 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(136003)(346002)(39860400002)(396003)(366004)(376002)(199004)(6636002)(2906002)(66446008)(66946007)(6506007)(4744005)(66556008)(64756008)(66476007)(76116006)(7696005)(53546011)(86362001)(110136005)(52536014)(26005)(186003)(71200400001)(33656002)(81156014)(5660300002)(8676002)(8936002)(478600001)(55016002)(9686003)(316002)(81166006); DIR:OUT; SFP:1102; SCL:1; SRVR:BL0PR11MB3505; 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: a56AMCwLJTO2w2XLG+NEsHmRB/g/vYU/J8o4ZzkJe93FI0QE0rm4SiKH3B7HN+Iwzq/SY9kQr6R/U12PCbiZT1wIFJh/JIt461N9gavvrit6/LSIBOj4O+8QOLcDTi4FoTf2LNgBnlzGbfaQYgL72oyxknQou4fosOhdf+4JO1TnN2uspnS7zv7V8pDHJgsy31boz9KC60YWzFRCpwuXwgKclLnOMCvKN4Fokg/q6h7ilVCsWj3ZEzPNnKW9cQpZT3KcMXzx60uuLrjZpgKKegCc6eQrjpX2vx5g0K2s54CU6/FUV5ZBEEl9oklSOBsgxfpLKgSWlJriByv8+tfB3CPQqhsOJHJhkhYFXuQTGU07xgpzW6F+nPBV1/lHz2qS57VEO8K+67XH9f8+6Uo6J5XRuTTCL2dBPLm2EXpnfkNaaBoPwQaVKrKA3j/dgitm x-ms-exchange-antispam-messagedata: 0nlYfV8evg1Y0z6IQL51tB/DE06dtH/Ttz7BJ41uHIfbp/laG0reX0GSjPzfkxcBnpEFnsCvMkWKHCu7EJA9Y71FW1MePJ8WdgIh3TtdCf9j6Ekc8IzJuT9Zb9QWFO8sR77FPnF5ybe615Lsp7zBQA== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 90b91a36-32fa-4a05-2abf-08d7c5d31590 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Mar 2020 15:44:28.4956 (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: hCOR95zMyyAhVHmBRbiKvamrBevX7+OVUYf58dQiRdqg5VGWs6bAwwnBhMywADh+LXUTFffzEAfUVV9VQ2ARN0KX/p5KomyRljJJPvPqKzU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR11MB3505 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 2/3] crypto/qat: optimise check for chained mbufs 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 2/3] crypto/qat: optimise check for chained > mbufs >=20 > From: Fiona Trahe >=20 > To detect if sgl, use nb_segs > 1, instead of checking for next pointer, = as > nb_segs is in first cache-line while next is in second cache-line. >=20 > Signed-off-by: Fiona Trahe > --- > drivers/crypto/qat/qat_sym.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > 2.17.1 Acked-by: Arek Kusztal