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 35902A04FD; Mon, 16 May 2022 21:21:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D95E940A7A; Mon, 16 May 2022 21:21:06 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 109B04068B for ; Mon, 16 May 2022 21:21:04 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 24GEsS9k004319; Mon, 16 May 2022 12:21:04 -0700 Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2171.outbound.protection.outlook.com [104.47.59.171]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3g3rsqs24f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 16 May 2022 12:21:04 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZTZBVamzk0BPCBKVuxR5Z7odb8lWlAb5nUWlkBvQr3b5g3uTC63T92FdS4b3wMwpfaQSvRVrXgBaoe73JY21ARgw4FUWBjxxWWWgZt3feurnONAidM2G1OmjbAaRFVa2RuO2lvtXDPrBHgtqc/mJ7IDlbc9N10qHt8GiGPLO7lkBq+oawBBXvS+9W1b7qrFGs8/LxnutpWwaR3tII9VKQimqTvlljIzc1SUNulOFUqmHqHcAPH6cP5e7RcApzit2uj71ZQcA+NtpuoFIAOcVMl8STqvuuigcxCM/wiUfaEw/5aLnZl6b5vrEvMAEkdD/3PzO2XWnhfO0gxMfAkz0Sg== 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=YRr03dV+FbDQ8LkDmlpqCKELkojo2c8ZRIm8hl+BNHs=; b=kipD5Gg568B8v5yUmuO9B4n8XReo3qFWY/H4KrVz7go/aMmnoIq+DAvmrtx+jPhfdhcg60AHCuOpkE9dg8wxr9O83iT2ewRKDBOTF6qGQzNb/HbtiWBJGjPgJueWnKlGJAxHTXE0WHNhBCcyKLwnM3PBTqStZUhj2yxW7kLMygfCa/Co9MCkN8+zhv/QP2MhohuGUvYzcarVORW5BCBHj5KnyUEnNgqqRwFEoMoORJYA8jqVVLy7VH863n0krbI3JvrQ1M6uwWphIPaLXkD90veYs3ObzbfK1/oWOZ6pMaADy8U61efr9egvtibD1U2IhqG1dvOHqUAW2oHWgMitLA== 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=YRr03dV+FbDQ8LkDmlpqCKELkojo2c8ZRIm8hl+BNHs=; b=LRWyxx3R2iz4MZjVWHS85GtVg13fG5ZWpjjnIUaXZD9OpuV6NdGaW3BJSt6UPFTVlpJUtl4ygBhRA+CLDJcjYbY7kYoQNFo4G4HwiegJiGkHDGukRpSjMyjMmHkJ46ExpSFAVGQ9kLKjmuq1UmARxXkaTU0qrZ8ZOvQbTDknz/k= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by PH0PR18MB4891.namprd18.prod.outlook.com (2603:10b6:510:11a::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5250.18; Mon, 16 May 2022 19:21:02 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::9c76:3b01:eb04:db4d]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::9c76:3b01:eb04:db4d%6]) with mapi id 15.20.5250.018; Mon, 16 May 2022 19:21:01 +0000 From: Akhil Goyal To: Kai Ji , "dev@dpdk.org" Subject: RE: [EXT] [dpdk-dev v2 1/5] drivers/crypto: suppress openssl deprecated api warning messages Thread-Topic: [EXT] [dpdk-dev v2 1/5] drivers/crypto: suppress openssl deprecated api warning messages Thread-Index: AQHYaQ0+mr9fBfoxCUStVxYM4n6jBK0h4djQ Date: Mon, 16 May 2022 19:21:01 +0000 Message-ID: References: <20220407163648.38583-1-kai.ji@intel.com> <20220516101039.4537-1-kai.ji@intel.com> <20220516101039.4537-2-kai.ji@intel.com> In-Reply-To: <20220516101039.4537-2-kai.ji@intel.com> 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: 0bdcd4b1-4418-4f8a-c67b-08da377136f2 x-ms-traffictypediagnostic: PH0PR18MB4891: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: EzWFHk4e0hzUwV5W0FkIJAxzJfJzAzyX7mRacxJ4qGZiGWxSuJBWL3QbdAg7NZMVpOoP3dGNVF+TAYDiZ7rfU0mSo385mAKpPpmfHs6iofXJOxtlmTyKrB9+OkI06k6Fb/6T2/mxremkU2M7Y4Fp0hxbxARbAksY827RP4lpdJkcuAgi+qjFwFUQ2fxuJgcH/q5IsO7w1yHTFZjMXcQKgWUQN0aoC4YKcXkzsUkwturoQH4PYqFiAe0rSdUssFQJWor0rc7RcVXp0yT2wliyT0nsdLtAkTdhsCjbgJfapz5EpymP5I5vHX5/atVlhMLX+eqZA5oLyW7nMhvkg7RKWy61OpFLzAbOdILaykm7rOp6g5hxss7CPHg5dX/FRpMDutsGvCiukG3c3IiMhgqwuLmmsjkjx+9I9LDudgZyCvvYcc95fBvgdX2gTjSBGYf5JjdTOrczNClJCfr7xDGI/Lu/rPM3BlFE4ybZU61ai/L9OKPQvkVs+yYu6/ZZeUaNZ1O/Bc+4E3JrkKC+xoArfKXsPDHtvG89ynkmZg8Ben8qZM3/yITBNDHM+y1WwzDbCcPTbuOMEz2CV7SHDjP1pTWx/SBdS2FeWcnYJLb/gwO7ebrGRV+0xgMR/W8PEAlU+RvEBkFZ9rMD1qybiglrdpGeJG8g556gdhTfZJy7eOTbkCigm2rL5ZVXRKGbiSUfuzchYA8FwSXXEJ3Fd0DoFBTl00liqZhcmcexhZjuuZIsW5uvfC0IDBEqIfbVe/o3RSovUclSD9rssVdTd8tBirsJ0eYGY3wiY3HxfpPC7Qs= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(83380400001)(122000001)(316002)(6506007)(9686003)(2906002)(966005)(38070700005)(110136005)(508600001)(55236004)(52536014)(71200400001)(8936002)(86362001)(66446008)(66556008)(8676002)(64756008)(66476007)(66946007)(26005)(76116006)(15650500001)(7696005)(186003)(33656002)(38100700002)(5660300002)(55016003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?9mh8N2MyAHJcICE6hw5Kt9LaBSSgMIDqnk6N5M8vuYcZtZNe5+tUGux2XCLq?= =?us-ascii?Q?xOUGvOs8jrGlC2UT3n03fBNo114kJ03ErioOmQvcScxgGSw9lgSAol7t5oSt?= =?us-ascii?Q?VvLWkxXv5Z7oOAF26RU5UDeZbgWJMdahMW9vCpI2Jv/5vAzOvCFyP0U7K6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929yYgmr3NuKUrVd/Qyey2DwX2WHxkP?= =?us-ascii?Q?Rf83sRVNawVef3eZ3HDkUDS2Pt/vOss5l+vZeJpUV1kZ/N8WyIrxKuO0F2bq?= =?us-ascii?Q?FXSGR4yfY/RuYLVbY2uQwPd3b2F3EoSB7BCwcPgPYp+4C6CjUTivvqjcuDTY?= =?us-ascii?Q?kT1JELz/9ZBJl9fTBOJG5Wgq4pPjvf/405B0SbnmLH//VlbMVfOaoxyqrNK9?= =?us-ascii?Q?cUC1+Gx/dDEdqFe5qwy1QmcavnpjmWB2SZ5k65Bwk3ZfvrgaxwzaByG/sRt6?= =?us-ascii?Q?tO2UUu2IZ1jGon+1dmdMiDs8W7BLcUFtpgQYNQB2OX3Y8hdz24vq1wvrxmEF?= =?us-ascii?Q?dCj6C9hnvX8anRlkA4/fitBGWHJK5JkSQSPD8whFpaT7PbdM7A5TPqXe8ocr?= =?us-ascii?Q?uGnAVfvPBJ/uSOU2yKM0XuASD3HsmtITyANzrs+GnFbguW3MAnmPmTND3sRI?= =?us-ascii?Q?EKJdxdYr8DzpIUxLK7cLs8FgdAzHyImn6o9YefgyER3ToSZYj0jIsqScP92k?= =?us-ascii?Q?cPDgPriLpIomBpdvWLf+v5e0im0QqI9XWAREzcN1VVW8ibCGRYEExlsvQEBP?= =?us-ascii?Q?FQ9ePDT23loNhP1eZwkPqHWjIvFhVnsU+OMdvVzmAWErByL1zbeG2HTE/OZi?= =?us-ascii?Q?7Rrn4R91hKdgwNfOjJix9o2hrxKZMGbyMzh5me6eNutCZ2ML7cEE1u7zc2JI?= =?us-ascii?Q?XeZyr3Hh5g=3D=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: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0bdcd4b1-4418-4f8a-c67b-08da377136f2 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 May 2022 19:21:01.8590 (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: uc6aHX/JsrcM+tv5SNKUxxHagWonnS18Y2KuCOHnVWEUcf9K83ei+8swtgM87TCHXKh/bFUEzxYDJkgJrYaPMw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR18MB4891 X-Proofpoint-ORIG-GUID: t9hnbqe4M1al5pnxPztQ_92JcMAhLkLN X-Proofpoint-GUID: t9hnbqe4M1al5pnxPztQ_92JcMAhLkLN X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-05-16_15,2022-05-16_02,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, > Enable openssl_api_compat cflag to suppress deprecated api warning > messages in crypto pmd drivers: ccp, openssl and qat. >=20 > Signed-off-by: Kai Ji This patch may not be required if we use this http://patches.dpdk.org/project/dpdk/patch/20220510150635.61975-1-heinrich.= schuchardt@canonical.com/ > --- > drivers/common/qat/meson.build | 1 + > drivers/crypto/ccp/meson.build | 1 + > drivers/crypto/openssl/meson.build | 1 + > 3 files changed, 3 insertions(+) >=20 > diff --git a/drivers/common/qat/meson.build > b/drivers/common/qat/meson.build > index b7027f3164..6c3e7275ef 100644 > --- a/drivers/common/qat/meson.build > +++ b/drivers/common/qat/meson.build > @@ -87,3 +87,4 @@ if qat_crypto > ext_deps +=3D libcrypto > cflags +=3D ['-DBUILD_QAT_SYM', '-DBUILD_QAT_ASYM'] > endif > +cflags +=3D ['-DOPENSSL_API_COMPAT=3D0x10100000L'] > diff --git a/drivers/crypto/ccp/meson.build b/drivers/crypto/ccp/meson.bu= ild > index a4f3406009..fe89e17b14 100644 > --- a/drivers/crypto/ccp/meson.build > +++ b/drivers/crypto/ccp/meson.build > @@ -23,3 +23,4 @@ sources =3D files( > ) >=20 > ext_deps +=3D dep > +cflags +=3D ['-DOPENSSL_API_COMPAT=3D0x10100000L'] > diff --git a/drivers/crypto/openssl/meson.build > b/drivers/crypto/openssl/meson.build > index cd962da1d6..9a3dea2c04 100644 > --- a/drivers/crypto/openssl/meson.build > +++ b/drivers/crypto/openssl/meson.build > @@ -15,3 +15,4 @@ endif > deps +=3D 'bus_vdev' > sources =3D files('rte_openssl_pmd.c', 'rte_openssl_pmd_ops.c') > ext_deps +=3D dep > +cflags +=3D ['-DOPENSSL_API_COMPAT=3D0x10100000L'] > -- > 2.17.1