From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id D2AECA00E6 for ; Tue, 16 Apr 2019 16:55:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 76CC71B4E1; Tue, 16 Apr 2019 16:55:25 +0200 (CEST) Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20069.outbound.protection.outlook.com [40.107.2.69]) by dpdk.org (Postfix) with ESMTP id B9E901B4E0 for ; Tue, 16 Apr 2019 16:55:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FTH0PTFlPT0PIBrbSeiYNgIqcNFR67WRNRDTUW5O84o=; b=v/Eu4Aj/vrZcmEyJ6yfwv6NWU6Ox/l4fqZ1lCY0NguK4SfQJXFWas9ABG4Q3qZ+z4HIgA0+cMvoQWlSe1kqD16SQ1r24RxLNIAR11V6HLcV7DGWqLJ6+brxqNHCrWfbSIXowJAtFOxjTrTvBxGeD+n/Fi3JBYHhlRAZfUWOq0ZM= Received: from VI1PR04MB4893.eurprd04.prod.outlook.com (20.177.49.154) by VI1PR04MB4448.eurprd04.prod.outlook.com (20.177.55.212) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1813.12; Tue, 16 Apr 2019 14:55:22 +0000 Received: from VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::98b0:84a6:1c08:57c7]) by VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::98b0:84a6:1c08:57c7%3]) with mapi id 15.20.1792.018; Tue, 16 Apr 2019 14:55:22 +0000 From: Akhil Goyal To: Pablo de Lara , "declan.doherty@intel.com" CC: "dev@dpdk.org" Thread-Topic: [PATCH] crypto/aesni_gcm: use architecture independent API Thread-Index: AdT0ZGhOEjm2tXo7SL25zfxIufhemA== Date: Tue, 16 Apr 2019 14:55:22 +0000 Message-ID: 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.65] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 86b53dd6-7e34-421e-0a52-08d6c27b8d5e x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600140)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:VI1PR04MB4448; x-ms-traffictypediagnostic: VI1PR04MB4448: x-microsoft-antispam-prvs: x-forefront-prvs: 000947967F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(396003)(136003)(376002)(346002)(366004)(199004)(189003)(52536014)(5660300002)(2906002)(9686003)(3846002)(6116002)(55016002)(53936002)(2501003)(7736002)(8936002)(25786009)(256004)(8676002)(81166006)(81156014)(6246003)(97736004)(74316002)(305945005)(4326008)(68736007)(486006)(44832011)(71190400001)(71200400001)(66066001)(476003)(33656002)(478600001)(229853002)(110136005)(6436002)(316002)(102836004)(26005)(86362001)(186003)(14454004)(99286004)(4744005)(105586002)(7696005)(106356001)(6506007); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB4448; H:VI1PR04MB4893.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-message-info: XLmRMIZBzP8xWflhI0/TRmB0ZrQB4GG79H6rYatidrUxMOtlNHeC16fMsGbhqQhGwMUouZX6HcontpMGraXPDw3L8pfZm7pFpis4nSupKisTJj3EsaramM5UjmNXI3miwW+WdAGoU4tqnGvfSYqud9aimXl038nj5CZCEkQDU0qj0Ze6YfgYxQAdhKSlwiaEUfI1DAU3dP09nBDEQrnCBgvjknn55C2zsp1lJOvzoItKlhcyrMnq+H17k/cq1uQiLG48GFWxe+QFzm4uofDXKmcUyFZykr3tQ//NgVepHBkNFwZBZsmheXjRl36F78Jbr2Rpkxyx0+Ogtr2vtMxWrY1+LJypowsTZFY2TO1SJiEgEq+GuBq5g/pBvvHJJH1cEozOkiZ4cefkq8wA+MTOmV3yWVmPu7NON5keI0k9cRE= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 86b53dd6-7e34-421e-0a52-08d6c27b8d5e X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Apr 2019 14:55:22.6629 (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-Transport-CrossTenantHeadersStamped: VI1PR04MB4448 Subject: Re: [dpdk-dev] [PATCH] crypto/aesni_gcm: use architecture independent API 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" Message-ID: <20190416145522.8KG6uvG2FiqwzJJMLxa5na8Qa9eDu_jEo9Q-e3b3R3o@z> >=20 >=20 > IPSec Multi-buffer library has recently added API > that sets pointers depending on the architecture, at initiliazation, > in version 0.52. >=20 > AESNI MB PMD was updated with these changes, but not > the AESNI GCM PMD, which also uses the same library. >=20 > This makes the PMD to be only compatible with version 0.52, > but makes both PMD consistent on version compatibility, > plus adds support for AVX512. >=20 > Signed-off-by: Pablo de Lara > --- > doc/guides/cryptodevs/aesni_gcm.rst | 9 ++- > doc/guides/cryptodevs/features/aesni_gcm.ini | 1 + > drivers/crypto/aesni_gcm/aesni_gcm_ops.h | 66 +++------------- > drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 77 ++++++++++++++++--- > drivers/crypto/aesni_gcm/aesni_gcm_pmd_ops.c | 4 +- > .../crypto/aesni_gcm/aesni_gcm_pmd_private.h | 6 +- > 6 files changed, 89 insertions(+), 74 deletions(-) >=20 Applied to dpdk-next-crypto Thanks.