From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 733C2A034C; Fri, 25 Feb 2022 11:39:53 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F39724115C; Fri, 25 Feb 2022 11:39:52 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id CF1054068B for ; Fri, 25 Feb 2022 11:39:50 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 21PAC0iO010813; Fri, 25 Feb 2022 02:39:49 -0800 Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2108.outbound.protection.outlook.com [104.47.55.108]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3eekfwahat-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 25 Feb 2022 02:39:49 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ShF6+iyYMRDpEykwdfUwSwnZCZmeZMHUbBftzEFB8gTEdLzVqoXTAvPoidcMLYMAhtu8pyiMH2/8vrmFIcd1xycZE7AAAuYAQ60pi1JMqT6c9SOVxY2xcpcSfNPxrnhTcQ/qywNIBgAFfxpkhDAQQB2BcBcPj0naLBbvcQMN+hJt9M5ZF9dSp8iGe3Arit3wLZQeUDD6h837Gx7kOHxTAu+R8FBmbp3WXdnuvzKh2BjrFfYVtbZvo+JLA7Rd6kdzZ0OKytt8XJQIyZTx7OQ+IloZgIIDbOoatz8upE67sEbRofTgcKvPgeZu4FlGnwVsDyCcwJIruzoRrUUoi8O33Q== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=aHCdmq10In3j2CWLtP4w8Xav+FlChc7r/LYe4XQkLhQ=; b=H4AWVhJzDqgUJD7zWriRlSBPYts9tFd90+q7oWHzj0GwiZFfBOpTtoo04Lz+KRUZ/Fj1DMNTFeEUS89bZO2cPfBigOGCtSqzYz0KGlX33aRKWvqt2NGHaS4gvld5UrF5qoHqBMkw3xqAV56Y10srfoVJOF/VE/eQE6kIv8bzyvJGq1veyD8G9dKPWlN682teGAMehitG0xj0WhyOoVBtqNThWUqVopD2ypA5G4vaMpokBKIkm00CWo8uKEjsa+8DpU+ECNQrjw4A8IhUtroYikTSF2+Yd0U0LxPR7JCpWEiw9ESlCLGlIa6KjXUnnua0/Jq9y2y2dV3/2X/DQUDpkA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aHCdmq10In3j2CWLtP4w8Xav+FlChc7r/LYe4XQkLhQ=; b=ZO/S3zpt853eSLU/E3VAyjTKPWuJ3XLtV6Y994TqiqtccR3nvurY9ZOS8rgqZNr5rZEG06msFxkHXxlmJEbSsQ2t4nK1RGVF5nDPJmpX2UKCqJpJ6vDC//zfP3E8/a0MAS4824nQzhglKZ26TMcH2EhLI68hD5/0kc/MMxehQ6Q= Received: from PH0PR18MB4491.namprd18.prod.outlook.com (2603:10b6:510:e6::13) by MN2PR18MB3133.namprd18.prod.outlook.com (2603:10b6:208:16b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.27; Fri, 25 Feb 2022 10:39:45 +0000 Received: from PH0PR18MB4491.namprd18.prod.outlook.com ([fe80::c88a:37fc:8447:21f1]) by PH0PR18MB4491.namprd18.prod.outlook.com ([fe80::c88a:37fc:8447:21f1%6]) with mapi id 15.20.5017.025; Fri, 25 Feb 2022 10:39:45 +0000 From: Akhil Goyal To: "Ji, Kai" , "dev@dpdk.org" CC: "Zhang, Roy Fan" Subject: RE: [EXT] [dpdk-dev v5] crypto/openssl: openssl 3.0 support on sym crypto routine Thread-Topic: [EXT] [dpdk-dev v5] crypto/openssl: openssl 3.0 support on sym crypto routine Thread-Index: AQHYJL4EORo6NVyl1EiyInoFeuBd/6yjGEFwgABGhICAAE2CkIAAbJYAgAACP5A= Date: Fri, 25 Feb 2022 10:39:45 +0000 Message-ID: References: <20220218094408.49290-1-kai.ji@intel.com> <20220218115124.57745-1-kai.ji@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c20912f6-d644-42c9-24b4-08d9f84b23c9 x-ms-traffictypediagnostic: MN2PR18MB3133:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ouhozCokDXZu9+w46wkBtPsQa4SEuiT6fp+IoEyphAlpieCSO0Q+LWGkvRyoQYVO6Cc/AfsXxBdHpGyVIWm+BRrt26Oc6KcW97W5gmmC2hh3ezvfWCXU9R76vm883fubK73SLlcLZvWDbrtO/9OUvGqXHdmQiZjdPgaUUY0slz+VE2a70yhPbfTwDK/hMPTWV0HssrAXgQfEGW9K64hWM8a01dhicDGB0yKAtaoyeSOIy7Vs8A1Nnq/qC4I6Cj8iGl8pnPVNP95HJtzOWovyQtn5xMmCyrb8oJ6ZZq4udfDyalutoblqI1zs0xKIhBfG8i1Ams/9Y6MyE3j3imRL5jMlSlDDquoPBsFbyDdrVsTYQmnpxtwVK5Cv3TM90KGLq64YNjG04j0bkdxKFtCGK7k019M0Deuxl1UrIaDudZA/X8H1wQA4IfNfa0BMd+Qe9F2VNoST0AdCKWE2SSlOFDFA7PPSxVYVUgZLktdciYp7IW3emCtLP1avEeBKJS91zJ7ofscJf1TAwIVR/50wirxtO3YoxD2DJdRipZriQzShx4LB5uChWcs6hKDPJUoi5qpw1qiQFzTUncVuwgGuc9qOOFynjKN6xKpnZqRdg4esOtHUhDahNcNlacuK3G/2PW+hNy032UUSHRAwWB/1s6clK3E+aYOajR6Yc2/CDxvLlcvmjzPiX7AEFh7AUHkl0sLoDhXPeRUA3Ja+TF5vUg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR18MB4491.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(86362001)(66446008)(66556008)(66946007)(38100700002)(8676002)(83380400001)(66476007)(26005)(122000001)(2906002)(186003)(4326008)(5660300002)(64756008)(6506007)(38070700005)(76116006)(316002)(8936002)(52536014)(71200400001)(55236004)(9686003)(33656002)(110136005)(55016003)(508600001)(7696005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?QAi11GmhGC1/st5VIRbMtWKoyFCTExvQvhQiang+as7sIRXEsnoYyw0vNcNY?= =?us-ascii?Q?PdQJM44BlZzs3GPFt/Fa0+Rm9iFHE6NzXkck3fL3UncUm9mxfUQgOAgzvpES?= =?us-ascii?Q?iOsBRdfieY63ionKtNZXIuYHvST8bX5aBCA2ch27ptac6g/9xErFRLUCbFON?= =?us-ascii?Q?TDxdcFTEgNRIUcMIxyE/rHnqiaXZVr7D9EkZSMbkJw+h/WVYIt5mqIflNxly?= =?us-ascii?Q?vSI+1R0fGl4nn9dJRJt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us-ascii?Q?Gz/zms2WMPzdgdAYULxLkxN+ScNWMlCblKHZOWcUiXe2h5AtesDmjPxtXoF0?= =?us-ascii?Q?jHt0xpqmktOw039hjsZTYpTgUi14TVtUa8Ax5FTCSgNwDQtbeKGmSIvsGe+U?= =?us-ascii?Q?4C/YpLGF73geSEfdSWYENPo2bZLGZFCVdejKJEUU3oAsl1lILaLG6UbEN3fJ?= =?us-ascii?Q?jIFQwcY3skpu5gg2cY4EeHWaDTnKLoTxHyGvOZZFc3qAlhNn/CaDtwvf+3cb?= =?us-ascii?Q?rLrm4al9MSRiDhnonOj0c2mKy8VmPIJej/45jIe7JmdvqBsBz4hCgA8f0k4X?= =?us-ascii?Q?b9+td9Ec2WC96za/ARoYSQlRr9UStOCqEXKsZG47xU7ZfFQND1LJT+Vk+D5i?= =?us-ascii?Q?6fvXK9TiUm3DPA49JPU+msXhT6qByDB6Skbi35opDennduncFSyR5J6/Oh6q?= =?us-ascii?Q?BiLra2KqflF29yscm5h4LBbHOjwX+9lLtXngwiBYsUfbZnExC+3xlOX6D/ur?= =?us-ascii?Q?MGeCO/n3poLLb5RBgJBmN3g=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR18MB4491.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c20912f6-d644-42c9-24b4-08d9f84b23c9 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Feb 2022 10:39:45.5475 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: PT9oX/CSiM2kYAoSl/iK2ZJuFeTnjcswCXzr/GXrhQ/esCtykpKt1RG9AXgpajtmVMlFa15hd+wd6n6hY0MWiw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR18MB3133 X-Proofpoint-GUID: EpHo7IM2L3EMwhMs5mLCRQ70C6J2iqJP X-Proofpoint-ORIG-GUID: EpHo7IM2L3EMwhMs5mLCRQ70C6J2iqJP X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.64.514 definitions=2022-02-25_06,2022-02-25_01,2022-02-23_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Hi Kai, >=20 > The warning messages are deprecated APIs warnings from openssl , not > compiler warnings from gcc, the integrity of DPDK remain the same. > Alongside openssl pmd, the ccp and qat pmd also raise the same type of > warnings once openssl 3.0 installed. >=20 > In the current intel roadmap, we will try to support 3.0 API fully for o= penssl and > qat pmds by the end of year, so this patch is the first step. > I think the warning messages are safe to stay, Unfortunately the fix ccp = pmd > driver is out of our reach. >=20 When DPDK is compiled with openssl 3.0. I am seeing these errors in compila= tion. So, compilation is broken and we cannot take this patch as is. We have few options, - fix all of these errors, - add exception in meson.build for ignoring these errors. - disable/skip compilation of PMDs if openssl version is >3.0 Adding only one type of APIs does not make sense, if the driver is not comp= iled. In file included from ../drivers/crypto/openssl/openssl_pmd_private.h:12, from ../drivers/crypto/openssl/rte_openssl_pmd.c:16: /usr/local/include/openssl/dh.h:223:27: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ ../drivers/crypto/openssl/rte_openssl_pmd.c: In function 'process_openssl_r= sa_op': ../drivers/crypto/openssl/rte_openssl_pmd.c:2068:3: error: 'RSA_public_encr= ypt' is deprecated: Since OpenSSL 3.0 [-Werror=3Ddeprecated-declarations] 2068 | ret =3D RSA_public_encrypt(op->rsa.message.length, Also, avoid top posting of comments!