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 9C8E9A04F0; Mon, 13 Jan 2020 15:17:47 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id ABB9F1C2B3; Mon, 13 Jan 2020 15:17:46 +0100 (CET) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2077.outbound.protection.outlook.com [40.107.22.77]) by dpdk.org (Postfix) with ESMTP id 0CD411C244 for ; Mon, 13 Jan 2020 15:17:45 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iwJ5av3QUwLs+4+jOBTIJhxbXgWsnEoVvh4ot3Hpppdtv8CkDOtAPqpIEQQAbNdhLKLiOY1j/PlXMPuBtOc8bbZQNg9DnjLmBmJfoSwWtlbSKs3zC9Uu/gO0cZxOufbZV+No6PNSDxEz3wly7ze71PFUiL3LGDFe2PQevHwaPAybEWHldt12RUrdbAmTEpI2Xs7cDya40hMWymCrrjvSOOyNVJJA8FemWakBlJ933AXXAcaobBH3g7eJvv9/SPI+rJ+p9mBx/4JDnksMtq4pprk2QSGqi22lhl6P+7qAnsv0tB4PhvJIFBwJYrTdobdFS28j7QgeR0EX+uWqKDYH/A== 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=tyJpHe2v9z1RduhzGNOnkPNwob0tcGj1bDaxsjCWl1o=; b=iXWhQty3/CGy/qKlI8+n7d07RuQ6P8WI1Uca2vh+j4WtXpMXo3gt40HVpBSbYkO+fGyxIfyoxn+O7Lsw19N2a5HZ6UJhXS79zLuPXUYqZYDtAW3XYyZhKubc3gDdkXLLwmz4Ds4gjtaHw6ohtKwtD7qu8jj3nDePjek3Dp9QNU/GqCGqGbRZtBnwfp4YjSdkOHV/nDjjukIT+1mwIHuf8t42213iItpI8SwaFvhgW95tMAB6EYEWceAHCygwKVUCGlvy0HT1tSxEGu9ayioANDgy9loJoT8A0VlERD1CBzs6V4HQmtuXExQqkoDHJ1GgrJkBxEhfVUsrTt9djtw/Ag== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tyJpHe2v9z1RduhzGNOnkPNwob0tcGj1bDaxsjCWl1o=; b=G3t5qdwy03MZfkzY/hxpsaR+4PbkM3/l8WGiRugjKtVl8mM/ikMR8fD7++C7z4NwCsEDHGxQPinu9Yj4OWSEfSd2FnSsibonMLDDVjfjkRlZv7GoByqPzjID9eu9LQ+4lMmUo8XoNuQCupTBFqVWSiD9QrwtvCRdyckRQOFJ4Gw= Received: from AM0PR05MB4401.eurprd05.prod.outlook.com (52.134.124.20) by AM0PR05MB6561.eurprd05.prod.outlook.com (20.179.36.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.9; Mon, 13 Jan 2020 14:17:44 +0000 Received: from AM0PR05MB4401.eurprd05.prod.outlook.com ([fe80::d5e8:d078:e580:ffd7]) by AM0PR05MB4401.eurprd05.prod.outlook.com ([fe80::d5e8:d078:e580:ffd7%6]) with mapi id 15.20.2623.015; Mon, 13 Jan 2020 14:17:44 +0000 From: Ali Alnubani To: Pablo de Lara , "akhil.goyal@nxp.com" , "declan.doherty@intel.com" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 0/3] Use Intel IPSec MB library in Wireless PMDs Thread-Index: AQHVygZKghfBGX5ucESp97DdpkUn56fooTTQ Date: Mon, 13 Jan 2020 14:17:44 +0000 Message-ID: References: <1576074044-250855-1-git-send-email-pablo.de.lara.guarch@intel.com> <1578915625-237451-1-git-send-email-pablo.de.lara.guarch@intel.com> In-Reply-To: <1578915625-237451-1-git-send-email-pablo.de.lara.guarch@intel.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=alialnu@mellanox.com; x-originating-ip: [212.29.221.74] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: f24c59de-c5cb-4a59-98d0-08d798335b73 x-ms-traffictypediagnostic: AM0PR05MB6561: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 028166BF91 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(136003)(376002)(396003)(346002)(39860400002)(189003)(199004)(53546011)(6506007)(186003)(26005)(33656002)(7696005)(5660300002)(71200400001)(4326008)(52536014)(110136005)(316002)(9686003)(66446008)(64756008)(66556008)(66476007)(81166006)(478600001)(76116006)(8936002)(55016002)(66946007)(2906002)(86362001)(81156014); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR05MB6561; H:AM0PR05MB4401.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mCPTUOeOhpTaKgfATl5lJehGUL1LCj8WDrCryDWmyM8VmWypERNJwGK6E+cJF0OsuoMjz/Dwg4GXvg/83IMs5oeOmz8nEaFrFwuAmjAmDbYeBo4kXOPDXk9cgpym/eYUzcP6XQykeLHhmGTQ7FYnOm5S0Op8cTvErUqid5rylH49jyqXX89WsXX5ctRMZK6XN2D7OlcKAO5nf9lV/XVDX63kOSy5DuBQ31cHBv4SMMYzkcU8Nqu+E/huneUjEuLJhoKrzBWwEd/oDJPuNAQ4pp1D2/KOOW4tlD9N7rMKtlBuxXEouV/m6kLLDpe7jS3c337Tn5uHlqJdgKHQPJ0FpCcigqsjFGjpfITFI70vB8TUkEToPYR9FyEx+HpxoirmLVughB9u37WGJI3Gk/A2AvXGL2NtjCsrM3QSh8uOKy5AjkJXbMdUYNScnyd68Z1+ x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: f24c59de-c5cb-4a59-98d0-08d798335b73 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jan 2020 14:17:44.0811 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ejlZ0lP7lq7m1gbYtDSpdwG+SXR+O9ZWBxNSWfBTmNMFnLXxkiXx0N4BeM1wIy9IlXPF6KSlo1dOXyX61ZCv0w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB6561 Subject: Re: [dpdk-dev] [PATCH v2 0/3] Use Intel IPSec MB library in Wireless PMDs 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" Hi, > -----Original Message----- > From: dev On Behalf Of Pablo de Lara > Sent: Monday, January 13, 2020 1:40 PM > To: akhil.goyal@nxp.com; declan.doherty@intel.com > Cc: dev@dpdk.org; Pablo de Lara > Subject: [dpdk-dev] [PATCH v2 0/3] Use Intel IPSec MB library in Wireless > PMDs >=20 > The three Intel SW Crypto PMDs supporting SNOW3G, ZUC and KASUMI link > against libSSO libraries. > The Intel IPSec Multi-buffer library recently integrated the code from th= ese > libraries, in version v0.53. > This library can be downloaded from >=20 > KASUMI, SNOW3G and ZUC PMDs have been modified to use this single > library, which is already used in the AESNI MB and AESNI GCM PMDs, > reducing the number of external dependencies in the crypto PMDs. >=20 > Changes in v2: > - Updated ZUC PMD to support future AVX512 and AVX2 implementations. >=20 > Pablo de Lara (3): > crypto/zuc: use IPSec library > crypto/kasumi: use IPSec library > crypto/snow3g: use IPSec library >=20 > devtools/test-build.sh | 16 ++---- > doc/guides/cryptodevs/kasumi.rst | 62 ++++++++++++---------- > doc/guides/cryptodevs/snow3g.rst | 58 +++++++++++--------- > doc/guides/cryptodevs/zuc.rst | 52 ++++++++++-------- > doc/guides/rel_notes/release_20_02.rst | 17 ++++++ > drivers/crypto/kasumi/Makefile | 26 +++++---- > drivers/crypto/kasumi/kasumi_pmd_private.h | 12 +++-- > drivers/crypto/kasumi/meson.build | 24 ++++++--- > drivers/crypto/kasumi/rte_kasumi_pmd.c | 79 +++++++++++++++--------- > --- > drivers/crypto/kasumi/rte_kasumi_pmd_ops.c | 8 ++- > drivers/crypto/snow3g/Makefile | 29 ++++++---- > drivers/crypto/snow3g/meson.build | 21 ++++++-- > drivers/crypto/snow3g/rte_snow3g_pmd.c | 85 ++++++++++++++++++--- > --------- > drivers/crypto/snow3g/rte_snow3g_pmd_ops.c | 8 ++- > drivers/crypto/snow3g/snow3g_pmd_private.h | 14 +++-- > drivers/crypto/zuc/Makefile | 28 ++++++---- > drivers/crypto/zuc/meson.build | 24 ++++++--- > drivers/crypto/zuc/rte_zuc_pmd.c | 51 +++++++++++++----- > drivers/crypto/zuc/rte_zuc_pmd_ops.c | 2 + > drivers/crypto/zuc/zuc_pmd_private.h | 6 ++- > mk/rte.app.mk | 6 +-- > 21 files changed, 395 insertions(+), 233 deletions(-) >=20 > -- > 2.7.5 I see the following build failure when applying the patchset: """ ../../root/dpdk/drivers/crypto/zuc/rte_zuc_pmd.c:225:51: error: cast from '= uint8_t **' (aka 'unsigned char **') to 'const void **' must have all inter= mediate pointers const qualified to be safe [-Werror,-Wcast-qual] IMB_ZUC_EEA3_N_BUFFER(qp->mb_mgr, (const void **)cipher_keys, ^ ../../root/dpdk/drivers/crypto/zuc/rte_zuc_pmd.c:226:19: error: cast from '= uint8_t **' (aka 'unsigned char **') to 'const void **' must have all inter= mediate pointers const qualified to be safe [-Werror,-Wcast-qual] (const void **)iv, (const void **)src, (void **)dst= , ^ ../../root/dpdk/drivers/crypto/zuc/rte_zuc_pmd.c:226:38: error: cast from '= uint8_t **' (aka 'unsigned char **') to 'const void **' must have all inter= mediate pointers const qualified to be safe [-Werror,-Wcast-qual] (const void **)iv, (const void **)src, (void **)dst= , ^ 3 errors generated. """ It reproduces with meson on Fedora 31 and clang (version 9.0.0). I'm using intel-ipsec-mb version 0.53. Regards, Ali