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 F04ADA0569; Wed, 11 Mar 2020 16:49:41 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C9E671BF7F; Wed, 11 Mar 2020 16:49:41 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 132242BE6 for ; Wed, 11 Mar 2020 16:49:39 +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 orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Mar 2020 08:49:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,541,1574150400"; d="scan'208";a="289423168" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by FMSMGA003.fm.intel.com with ESMTP; 11 Mar 2020 08:49:38 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) 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:49:37 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) 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.1713.5; Wed, 11 Mar 2020 08:49:14 -0700 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by fmsmsx609.amr.corp.intel.com (10.18.126.89) 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:14 -0700 Received: from NAM02-CY1-obe.outbound.protection.outlook.com (104.47.37.59) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 11 Mar 2020 08:45:15 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dMXqPaU4aMehc826dJIrtsrMOzfG0zvLlcJouPaZP8sdTynFbiPICgvZitiBvh8uDRgCwSBdOrmHW2eSXRLf+glJKEykxILdBQlAqFh3aLmK1dRVJk1Pk42qeYXMMEQisfSN9D52nEFUa6//zDLVQwf8oqVJJ4+0KmtHP+Dv9QKDUbjgvj/wA2okgI9UdKbDauSP0lKUXdQTDy0TTqKd4Rj+6G6QpotAKElE+A9/4AohGgIkcLBgqcVo8IbTky0KA8PeMrd19FDTtFKBOGf8Ze0mUPW2JLzBtAaguJnLcaW4UfakqVqkBCdY73vS3Ia/hXVrOWuI/ao2if9EZmRBgw== 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=vW9RdMw6rtXe/w/4zoaTzXC6qfF8CywgUBXsrwQ6esA=; b=AFxeiMney0ypGN9Ijh4V2RAwUxeEICECpTQwXkG4mh+eAEoPDV+OSEqH+dKp3aNyk8E0meO5jh61Uy3qcdYsNJ3N++kSALkNQHPX3o7WeygJALk96RbVTmVT9rbf42DAS7zIJWbEN0TZMQrGV1cbwEMhE4x+T6fjaLJC+ADqaPPEAKXW76NKFJePD3pQvt/4TSx651gZh8kSDBGxTARstWKufEEZJ21YrV7RZ8ykJBNwqLtg+4YLFLgpCcJBW2dlPIbKydwH2eEkYg23A2X5ReZMOYfQ3p2whE+WPlub3siE1/YnH+S/OaGuGPQG5+nnjZ835B4lHFyTPxPpGGbbag== 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=vW9RdMw6rtXe/w/4zoaTzXC6qfF8CywgUBXsrwQ6esA=; b=yWb9K5Tszpb0KqzjCNPeaqyozGIjuAxlIOCsAAxbiYglymCiYEky+BFUD9HmVQwFjcCpCXldJ7S1pnZDzNH3lCRYT73kw1gGO2BTc+xH4qUZvqfSqPU3dHXkm7ABr/RGMPEMOoEFJOEtEU8ecQwyLAx7lHV9Le+0XVZo1zzTYww= 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:45:13 +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:45:13 +0000 From: "Kusztal, ArkadiuszX" To: "Dybkowski, AdamX" , "dev@dpdk.org" , "Trahe, Fiona" , "akhil.goyal@nxp.com" , "Dybkowski, AdamX" Thread-Topic: [dpdk-dev] [PATCH 1/3] crypto/qat: improve out-of-place conditional check Thread-Index: AQHV96Cz0SANXqTIIkud7TdHiL4Lj6hDiMfQ Date: Wed, 11 Mar 2020 15:45:13 +0000 Message-ID: References: <20200311122608.1262-1-adamx.dybkowski@intel.com> In-Reply-To: <20200311122608.1262-1-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYzI0NWE0YTAtYjAyZC00ODJlLThhMmEtYTExMjAwMDJmMjg3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiRG1yWERnS25uXC9pOWxEaHFyQjBxUHJtTFNkZGhDTlNJaUd6UHRnZndyOTYxV05mbFVPOFwvXC92dlNtdm4wMytzayJ9 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: 766380fe-266f-4ee5-7262-08d7c5d33058 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:4502; 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: AzyDtZeAcr4RYhhcZ6hrGd7PK0I//CgT+vEv2IKp7vieG4wN5WATgQLmQEc7wO5mEmReKdnsGdbterM2gd8rKe+P1As5oBZWtTaLY79PwfEewtEbUMo9taCOgM2RE4yvF1m08J9xGXDrVkM+XtNp7grahX/bm+MeZKYzX7mVfJDZQGSh2DELZ9AoobX5Q3h8mvl7P4+n0GsErNqxKaDM+CKhtieyro3W8EwnBpGvzdyE7TpxddjbvQAkC1G4eT7FQTsmdzpPj7haIWJzNdc09ZqxxtxN6KQA4p+fcE4R9eElMfjpN19eeabxIukgxviX9XN6gN7Lj5gAcSN3GiJboJmVvX5GV3mphLTGxNNoZteLrkC/zm7WYlF4J90lLZc9B2j5GlllMyLUOlQDb/gG8oDRstXOdOWEfJ+9DIoxNY8rxBNwVfNkGa5AowypvTS5 x-ms-exchange-antispam-messagedata: aCg57Jg5iAJfNiRb6AWr7DdSyNAxp4sSROJcoZws8lNbqL0yrBK4SgXfrNN7M7ggkHcUWTxRzxA9Y+2t1O8n9Vxl6X52ErGta7zVwyNw8tvsWWZIYmco/PJBZiP6uNDQfM5mCARK4urGlCiunezB1Q== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 766380fe-266f-4ee5-7262-08d7c5d33058 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Mar 2020 15:45:13.4389 (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: lAhgy+58816xLc3gSBZSodbvlnpL+i6GpSFxhyW9ww8Vb69r09zlRPyh3fKltQlksjAVBIDKNa9B7XBIf3wYWS/93w8KxGf0Voi1X2yZ3tg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR11MB3298 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 1/3] crypto/qat: improve out-of-place conditional check 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 1/3] crypto/qat: improve out-of-place > conditional check >=20 > From: Fiona Trahe >=20 > Improve case where application set m_dst to same as m_src so really an in= - > place operation, though would have been treated as out-of-place. No > functional change but this path can now benefit from DMA alignment. >=20 > Signed-off-by: Fiona Trahe > --- > drivers/crypto/qat/qat_sym.c | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) >=20 > diff --git a/drivers/crypto/qat/qat_sym.c b/drivers/crypto/qat/qat_sym.c > index 5c9904cbf..cecced66d 100644 > 2.17.1 Acked-by: Arek Kusztal