Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6373014ybv; Wed, 12 Feb 2020 10:58:09 -0800 (PST) X-Google-Smtp-Source: APXvYqy9h9IX2Apyulbvi9jDjvCAmQ72mzKCdXWF+s04OGRylKM5kPBmXY0OdPGT48I/wzErApdX X-Received: by 2002:a05:6830:612:: with SMTP id w18mr10611699oti.160.1581533889332; Wed, 12 Feb 2020 10:58:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1581533889; cv=pass; d=google.com; s=arc-20160816; b=ruyy/5FvxNWQrhfsJchVnI/82X9bfayz4IsCy1oaYVvozBRIdCLQV5+Pj/oU6R3dYS EM0tKElAv7MzLchVxuYltxXIilucYTU/3MSerc8jAo7Kx4uOBPWbdFfGAXaF2egvCyph /UwMdwL1ar4nqjV6FnJy+GINZEMCvraAoxxbd84JsUGbEKF7pArphysF6CF1w/vzkobY y6c0uMyaLkeeJdGNpuoN2akuengna2rONoZN8iEV6IfP5wM4IL7UzDk9Mrc0B4dBKpao gk1uoBb/YHy8SNxnJcxaQB2JSk3qOLdigJZQlty39NEID2Eh0bM+j+ZQOcPbDeNxgfjO c99Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:references:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=ZdfkrpFwOQLefZxR/BeUQEfoz8iRf3B+e8fnhjutaS0=; b=OfmjPLMQA6Kl8E18l6NUbH0hhHuN8zFA/LE1KdB9hKq+/KAC/DfMhQm+imPZxnYXTw lbtwsb2cmTbijFsqXubAuqSld0yoRt5cit95pcZlj07RXcFIOeHb5NhL5hLC6ZmOtsM3 mQkpYYe/iD6MORt56EkFcCXadTWp0UQl7gHDwJGukB31yKHAZ7uFo9HRICQNd4RpobMC YHitWTcC/E4D0L2QZ4MJOHNaK8Rj7crgWWLDYmiJjnpl0x1ZO3iHzatoBtUG7LOZGZY8 hh9BKFfAMAW7ILDwCwmE6CTUjcB13C4Q26sFIc+leOnjNs/pyj5hNAAjzluu92ex8kkE 4jDA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=VINmwlAZ; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l26si639676oti.152.2020.02.12.10.57.56; Wed, 12 Feb 2020 10:58:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=VINmwlAZ; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728767AbgBLS5U (ORCPT + 99 others); Wed, 12 Feb 2020 13:57:20 -0500 Received: from mail-eopbgr10073.outbound.protection.outlook.com ([40.107.1.73]:11326 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727264AbgBLS5U (ORCPT ); Wed, 12 Feb 2020 13:57:20 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Wb9rCxAgsVFsCtmuQgt8gaH9B+OFeVK9hV5xv3TWIlhZ9pf1miIS4llEVe0ts5St6LaMLFHQERL+5y3ULkNl4jygNWrk4VMeO2Hw673Hpt5+BkFMLH+sJKnm/urbPxrNrOsP9Zkg9WTGK+jAOK2kDpS4cyYohatFMyFFz69AQrGv1zCGCyYYLvIXCN+bWLCorFw0cC6C2El7n9grwLSRO9dI8yQRLrxOaDYzKnFvhkhBfPskR+PhwvL+n5nm8CwRrKgfIoFyf4GfTd9tZ9J+psDxDQ4UqMm2d7hRGBnKF/iaoIfJial0xlkRTpJT6ffafCubPMpJyzaOnv4Hsyog9g== 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=ZdfkrpFwOQLefZxR/BeUQEfoz8iRf3B+e8fnhjutaS0=; b=WPPKCvMG6BZMOTN7+p8Y5dgJeevbiPyyHlN8Z6wVBEYjY65Yr3fN9BaN8HcqWnZQ/+QnLyrws7dllRn2miF+Sm+2Wa/94t4jXIMJn2AY1vvVrBVxhV2fkb4FPb1yScRU3dtvYI1vdoY5L6aHzpDCgClzvd8PAiSR4mmjBQ1YeZUavZP03oDotZlau43xUdJufkMNnRW6OwSJDAUj9J18wQUH9ZVfj5wiskbWBpd2XBbQg4WRzPlSZJLPFft0BgRVK7UUqL+wjcJ9ZAAipoi5rECNCJrTwqPtmh88bD4HU2aEsuG2/SF61UNiKrHQwPhTp2iCyM/R47Ez+59lNvfOOw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZdfkrpFwOQLefZxR/BeUQEfoz8iRf3B+e8fnhjutaS0=; b=VINmwlAZ84/sKv2ywxOtqVt/IpG31psjqnOz5rUHaXOyJ7aei3iuU8jMfYIxGRmb8lMlCyl9sgA6agF9crPmabrnRiqg3bmar6vAGfGfmsI75XfA62YYaGvTGZS0DezNolmAfUH6wfuU0CyE6fIWuowWTpFt+O0ptLa33lULPCU= Received: from VI1PR0402MB3485.eurprd04.prod.outlook.com (52.134.3.153) by VI1PR0402MB3743.eurprd04.prod.outlook.com (52.134.16.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2707.21; Wed, 12 Feb 2020 18:57:16 +0000 Received: from VI1PR0402MB3485.eurprd04.prod.outlook.com ([fe80::85e9:f844:f8b0:27d]) by VI1PR0402MB3485.eurprd04.prod.outlook.com ([fe80::85e9:f844:f8b0:27d%7]) with mapi id 15.20.2707.030; Wed, 12 Feb 2020 18:57:16 +0000 From: Horia Geanta To: Iuliana Prodan , Herbert Xu , Aymen Sghaier CC: "David S. Miller" , Silvano Di Ninno , Franck Lenormand , "linux-crypto@vger.kernel.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx Subject: Re: [PATCH v6 7/9] crypto: caam - add crypto_engine support for AEAD algorithms Thread-Topic: [PATCH v6 7/9] crypto: caam - add crypto_engine support for AEAD algorithms Thread-Index: AQHV4c2x1+YQxFt3mEyIKbxGQppZYQ== Date: Wed, 12 Feb 2020 18:57:15 +0000 Message-ID: References: <1581530124-9135-1-git-send-email-iuliana.prodan@nxp.com> <1581530124-9135-8-git-send-email-iuliana.prodan@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=horia.geanta@nxp.com; x-originating-ip: [84.117.251.185] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 7c27ade9-80ea-425d-a4e1-08d7afed60b3 x-ms-traffictypediagnostic: VI1PR0402MB3743:|VI1PR0402MB3743: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 0311124FA9 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(136003)(366004)(39860400002)(396003)(346002)(376002)(199004)(189003)(186003)(26005)(4326008)(91956017)(7696005)(478600001)(76116006)(44832011)(9686003)(4744005)(55016002)(64756008)(66476007)(66946007)(6636002)(8676002)(54906003)(110136005)(5660300002)(81166006)(8936002)(66556008)(66446008)(86362001)(52536014)(2906002)(33656002)(316002)(53546011)(81156014)(6506007)(71200400001);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0402MB3743;H:VI1PR0402MB3485.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: EgArPRZQsHDgEQbepV98kxzJnR48fEEW0Spum6BRBErgYvouvZWw3JuM1gZTO+TK8VvGO1DWEv739L3hZKxQHIYFp81W2D+cGW+wiveJ9ByEibUm1xnDrP3znvwh5Krh1e8TJbuxGCxS09LKeYvNm77RGw9jSdCm2VroVEiksZCRvCFG4zmqRwmA4Hjg1aX+Knde5R5BgYUNybcus3VZVzvMz3d+zbBR1Uu4/5Q5Owd65rcW+BpC6D/UuMPrNzTUnY+l985DcPmVtmfs4xPaohLo94yIcGRfF8IeKV6K17hBDoEGbwZRH2cPANprOuBLyIs2HL71RIWkbNrTeo6I0RIsRPsbie4Ck2gxhKCQnirC8cB9H5RuMQS/Pgs2lyBNFh4aRIE0COsUiVYKhVh4Vn/iJbOVk6cZR9V66MuHzhCBqR/kXldFOQgWGrfjGff3 x-ms-exchange-antispam-messagedata: +J3GWWc3eDZilDaF0vAa3wStM1bmEad/aP6+kt8jnf+BlYncvV2TfQerhUpZLOcHRTzqz7fld2R0ehcBc4cS9GZXunJs/S+T6Kz11EKVp7b2mnraNvDazoyAyVKm7UfzLh8dD8TuM/BFyTX3sxjOcQ== Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7c27ade9-80ea-425d-a4e1-08d7afed60b3 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Feb 2020 18:57:15.9111 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: tylmQnFHautQ/lpniiksniwwaMaTCukE0ikPDMJBq5IWMWam404b5isXMxqrst5Xkx3yMR6xVwc4NE9YdgSrXA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3743 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/12/2020 7:56 PM, Iuliana Prodan wrote:=0A= > Add crypto_engine support for AEAD algorithms, to make use of=0A= > the engine queue.=0A= > The requests, with backlog flag, will be listed into crypto-engine=0A= > queue and processed by CAAM when free.=0A= > If sending just the backlog request to crypto-engine, and non-blocking=0A= > directly to CAAM, the latter requests have a better chance to be=0A= > executed since JR has up to 1024 entries, more than the 10 entries=0A= > from crypto-engine.=0A= > =0A= > Signed-off-by: Iuliana Prodan =0A= Reviewed-by: Horia Geant=E3 =0A= =0A= Thanks,=0A= Horia=0A= =0A=