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 6F76EA052F; Fri, 31 Jan 2020 15:33:45 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8DF0E1C0CC; Fri, 31 Jan 2020 15:33:44 +0100 (CET) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40040.outbound.protection.outlook.com [40.107.4.40]) by dpdk.org (Postfix) with ESMTP id EEC221C0CA for ; Fri, 31 Jan 2020 15:33:42 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mQNc3NH4ESE8Ea7ns6LLm9zu6PLGrv1ujaLAxxTmffR03iw2eWo2UksskBOa3X4GCkhNzwktQKVtu0ZI6Nc9vd3zSeqMdAOu1D2t42Itmk2xven08hXzgffudqN/oxu7i6wh8MGMlhST9cEP5uENVTTB8YAMdrWQoR9vgUwucAKTIr6goMESvbzThhpRklfJznebd67kWGcl6FdLCbmMiDskAIuV2icP0ohI37trMucepNCiBEJCG/pzfxKaeqmXGDcWunMcf4QIu+dWe2PVffegSTKvpJqEO2RnXCctJntaXc3uIs7PMlIl8fAmxd/isnCxFef5OjyuQW7rxBA0uA== 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=bkaqUaBs/n/gKCY9tPkR1UFD8MI+BpI2QStxkopZXVc=; b=H/WJLWEip2Y6K2wGd8/6K2MURJeDAyxgoxdChQUjAmN3J60tbS39JxrqSIeKJ4gPENzE5mR9bxCPklnfVWwC8aDTBylFTyz4uBj6kC0ukoCJEr+57maagDe/aybBVp3EylPuqrsUvvTF+PcGvFUc71fZV9ML9Ro7WeoMEBpaHk6EliK9hCQa1hZl3ietE/pDa6Ilzu2ZZ0R4oc5r3vg8t/9/uR8fw2aiGlR2JOvEZsf5hjQIdbsHOyYuLvefujsDirAFUhBVJCrZ1rcOLHGTwMWwORnNJ0aTUnPgNyIdRO2CigK8R4xkGXnr5U1d2YQdxSlCcPQAViaWQnBXp30NAg== 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=bkaqUaBs/n/gKCY9tPkR1UFD8MI+BpI2QStxkopZXVc=; b=i3P7hVzKqLrVR4VtMs7PkV11Ene0yDdXMN6aixIUc1QtKIzBGYSCfHa/bL7bbQTRWPYl8tdRNmMAkWVz+2V8w+nqJ09ispUEzyNhgg1x8xWebNCUkZDx2Ey02CPHo8DdmbWhP4HwxeL7KxRgjLhr6Q4H/2USxKcRH769bxIMC+w= Received: from VE1PR04MB6639.eurprd04.prod.outlook.com (10.255.118.11) by VE1PR04MB6622.eurprd04.prod.outlook.com (20.179.234.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2665.24; Fri, 31 Jan 2020 14:33:41 +0000 Received: from VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::25b0:b1ac:aed0:63e1]) by VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::25b0:b1ac:aed0:63e1%7]) with mapi id 15.20.2665.027; Fri, 31 Jan 2020 14:33:41 +0000 From: Akhil Goyal To: Marcin Smoczynski , "konstantin.ananyev@intel.com" , "roy.fan.zhang@intel.com" , "declan.doherty@intel.com" , "radu.nicolau@intel.com" , "pablo.de.lara.guarch@intel.com" CC: "dev@dpdk.org" Thread-Topic: [PATCH v5 2/8] crypto/aesni_gcm: cpu crypto support Thread-Index: AQHV1eZnftaspEoJEk6UHY1ZIEpGzagE2jLg Date: Fri, 31 Jan 2020 14:33:41 +0000 Message-ID: References: <20200128031642.15256-1-marcinx.smoczynski@intel.com> <20200128142220.16644-1-marcinx.smoczynski@intel.com> <20200128142220.16644-3-marcinx.smoczynski@intel.com> In-Reply-To: <20200128142220.16644-3-marcinx.smoczynski@intel.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-originating-ip: [92.120.1.72] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 439a08e0-6941-4bab-6a96-08d7a65a915e x-ms-traffictypediagnostic: VE1PR04MB6622: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2399; x-forefront-prvs: 029976C540 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(136003)(39860400002)(366004)(346002)(376002)(189003)(199004)(110136005)(8936002)(7696005)(71200400001)(4744005)(81156014)(2906002)(316002)(81166006)(8676002)(33656002)(66446008)(478600001)(44832011)(86362001)(6506007)(9686003)(4326008)(66556008)(66476007)(66946007)(5660300002)(55016002)(26005)(76116006)(52536014)(186003)(64756008); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6622; H:VE1PR04MB6639.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: 6M2fwWady2bO2mn5xhDUwo3PPUeMM8IpMYOHfcH0Qj6PVZ0p2CgsFKTVx4KXmMYDBgKoXEmUqkFqfM2P9PwmT27yDUGaCYZZuuVwQVRILn+vghn65k0Qa3oGOF9biGSWHKAhD+mzsJyYPxIq6voy89KN5SAeKVVH9ifXjOiHouOhOx9QOArCFfRs1Ap8c2t1xkhO1WhPiqTChiUZ2hA/PAhQKxL8S32PaEkCBxJDO+BUZJGcqw0IiloH2ohzM0ugytEkjc8drLO9TfjB4l+RtrMdijECTg1lq/5p2ii8bZQm4XtI++lIqylun0lgpCS4Vl6hWzPw+cbY+0UN3PD8MWV+8488olErftxDd+GmUbX0mUobwPpcYq5+XaRnTC2uwDQUiff2Ygt7wVr5L/4m9S8J1z+dJJ4KbeU2uhVbO3UQqcFi+PAyl0S3TZZZTz7o x-ms-exchange-antispam-messagedata: KPOYBfkBg6QzEZ6S2DFaPHRp0p2fG6YJXOA4/bFX41MZ/4IPPxR8F8HiLYfHy82opuGd/4X0qDWH04PmIRKFPzAfsigulEWTNtDl5WI0K69cOJrHCjubUPcX7sLPUPQmeBZnc8HaoC9ZrQvtnHo5hA== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 439a08e0-6941-4bab-6a96-08d7a65a915e X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Jan 2020 14:33:41.0756 (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: 8rVMr09+dQ4UTsNL/2k0t7Aet4z0qfSaYOOAqlvTRAzSaz/CTYF2zH/E08RM6Pkt2Yer3ScZx4JccX0XrujlSw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6622 Subject: Re: [dpdk-dev] [PATCH v5 2/8] crypto/aesni_gcm: cpu crypto support 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" >=20 > Add support for CPU crypto mode by introducing required handler. > Crypto mode (sync/async) is chosen during sym session create if an > appropriate flag is set in an xform type number. Update description of the patch here also for xform. >=20 > Authenticated encryption and decryption are supported with tag > generation/verification. >=20 > Signed-off-by: Marcin Smoczynski > Acked-by: Pablo de Lara > Acked-by: Fan Zhang > --- ... > + > /** > * Process a completed job and return rte_mbuf which job processed > * > @@ -527,7 +741,8 @@ aesni_gcm_create(const char *name, > RTE_CRYPTODEV_FF_SYM_OPERATION_CHAINING | > RTE_CRYPTODEV_FF_IN_PLACE_SGL | > RTE_CRYPTODEV_FF_OOP_SGL_IN_LB_OUT | > - RTE_CRYPTODEV_FF_OOP_LB_IN_LB_OUT; > + RTE_CRYPTODEV_FF_OOP_LB_IN_LB_OUT | > + RTE_CRYPTODEV_FF_SYM_CPU_CRYPTO; Add corresponding changes in documentation also doc/guides/cryptodevs/features/aesni_mb.ini