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 377C8A00C4 for ; Thu, 3 Nov 2022 00:30:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 27E0341143; Thu, 3 Nov 2022 00:30:38 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 50CB840693; Thu, 3 Nov 2022 00:30:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1667431836; x=1698967836; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=Y62HGCcnkvml7U366yMUE3RC78yIkVxDicNaLVLtYxo=; b=KsDbgWgG0f9MG16vbw4KiBtum5TeXBGZWefMR2O5uZ8k62thTuVvyRdh MZ72vCJ7bVW6/b+7vjSOZSB9mlU/taxmJaPKonGEK9jiwyS7qiisEgT6C dqrbd7iKC/01XJLAXOnx9bx6o00LWK4hnn83pygGAImr/BsKKAxAr9Yqf QwbhFSKzsEFJpmY4XQwVfI2PxRtEx9+SyZqiDFgvabebcfsF1HqYV8bGW ktkcjkyv4l5BWK4PdSwXQaG7UZ5t/SOunI02Nhgm/g7oscwluhYRRU3AM cwG2uaLH8O/IJiW4lWgNdbeLU4ThauuiFF81hBxbbtKCVAphv5DvBCaiV Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10519"; a="311269952" X-IronPort-AV: E=Sophos;i="5.95,235,1661842800"; d="scan'208";a="311269952" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2022 16:30:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10519"; a="667760467" X-IronPort-AV: E=Sophos;i="5.95,235,1661842800"; d="scan'208";a="667760467" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga001.jf.intel.com with ESMTP; 02 Nov 2022 16:30:33 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 2 Nov 2022 16:30:33 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 2 Nov 2022 16:30:33 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Wed, 2 Nov 2022 16:30:33 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.168) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Wed, 2 Nov 2022 16:30:32 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aJc9uBIjVY4e1eC5L+J1JwM4iHq+wvY1YxplrNtQZv0LyGHSxgCy/7UflWOWv/ACwgEilbgk8RGLiB2pBYu1u053xPA2cw+R9APmwpyJy7Z3X4UoK/Xyu3VFqDAd7s4nLs+475rbW17Z8dQvuTZUFdG0kRFQ0V8n4IYHTVSp3gwljN5myfGiD+AO5w96us9NiVYflI7rAkdsQsdvW/USLl4ZjLFMseEH/19NMf8mLQuZw4kh5TbVSqXcD2plTjiLbilnRnIcek4ROjoTFRXQV3EO45qbxN18DTVFSBJB8IAI7tGYCnPKtCXHpLsAbHy2Gs6fr8f+e4YDcU2PqMLiLA== 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=Y62HGCcnkvml7U366yMUE3RC78yIkVxDicNaLVLtYxo=; b=jY7wDbT4U85wA6yDmamcKZB5WIPTu1EMBbMr1i97X8gCS0gIehn6eMe+hOQnwaPdXVcrti8Qm/MNFxnJUgMssD/1R/Oy8fZ94e17tBe0SLO6eKPvnVvh8Sx2+yp/UXeHDxxEQtjXXj5DwfbcRuYqRBM5wBMtJHRSuEM/vk4tX+7e2FB2bfwcNUemw8nO4ZGk3BnMHopE6t2zE5LqYGft/sObiLbWlNv2e1Y8AAPx/V5yAQyvnsajOgk22E4t/aPM1myD+9aZKLKQOHXiPOzlNwTipYFmeqDjo+EHx9JH6uZbyrzxG1tQ0r5f8ePb4ExNfBBiAjGr1z5znNfLlrGdeg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from SN6PR11MB3408.namprd11.prod.outlook.com (2603:10b6:805:bc::22) by SA3PR11MB7554.namprd11.prod.outlook.com (2603:10b6:806:315::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5769.15; Wed, 2 Nov 2022 23:30:25 +0000 Received: from SN6PR11MB3408.namprd11.prod.outlook.com ([fe80::53c9:fc70:7345:b561]) by SN6PR11MB3408.namprd11.prod.outlook.com ([fe80::53c9:fc70:7345:b561%7]) with mapi id 15.20.5791.020; Wed, 2 Nov 2022 23:30:25 +0000 From: "Ji, Kai" To: "Dooley, Brian" CC: "dev@dpdk.org" , "stable@dpdk.org" , "gakhil@marvell.com" , "Coyle, David" , "O'Sullivan, Kevin" Subject: RE: [PATCH v2] crypto/qat: fix reallocate OpenSSL version check Thread-Topic: [PATCH v2] crypto/qat: fix reallocate OpenSSL version check Thread-Index: AQHY7qEUQHNxBX2Bg0KhTGIjsmOxrK4sSMLg Date: Wed, 2 Nov 2022 23:30:25 +0000 Message-ID: References: <20221031174919.642522-1-brian.dooley@intel.com> <20221102095408.327440-1-brian.dooley@intel.com> In-Reply-To: <20221102095408.327440-1-brian.dooley@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN6PR11MB3408:EE_|SA3PR11MB7554:EE_ x-ms-office365-filtering-correlation-id: 99d71be9-68c4-42e0-96cf-08dabd2a3842 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: sRnytGCv4YNmObZocWyc0Xn/hty50stTAPC8y3FtPDY8S4cvQJXWmphnesQN/SRnalh2viZ6P69kmeeC8ajg57B4TtRaI0iWSrCp3AmmRPCNF4yRBcA6F0QiDRJpn0ACSQsp+vnIkCq8wcAgfeq9lNgQG75yY+9s1Pl/fhlmwMt6CMuwBxJH81/W7BsszSxWNMNCDbExrVi196ekUAVmoPCAqPbSFwwRpWOVCL7+Fy9J6k2O/FuotuSrZesnKzgset7GOtVNsCZNzvLPvi0NC/pjfUWE/i5cRy03TFvgX3k7QjygALqkvpEb8muFf3OzvOmvx9SdSsIU5qIlU5ODYS5zuCrn7wfTKq2thxS5As/ll2ZemBkE1ifoy0du0u6CBmqLUKUL7aumA0lEK+NZxr0egMJz1xuJzJeB7rA11YkmSSeZZL+OBQc9hKt7ses7P2pVXyzRaosP55Fu0n6iM3wOm3eu0fe7yvhw0GnTZdKP6zHxIbPXiZ5WI8kC7WC8xNg7Wdqh62/fM5elY61ICGCuUyRhvXVoAVSVrEsOEMJTgtwTdVWxze2qcd3aN9QNB6wkI90gmZU0uh1mZkXDZPDpZZmrAKq3NgrpjCC2tslQgXo76Ci+gGSynX/gxftWPWghCHSfhj1E/GTVz8nuMDw7eSdqp9olu3CW4vxS/IjT8AzxkpqUOyUVLgNQ1Zaj71ZflGTjrpr/bqpxYJSsVgucGY7z8U71EYyNYhluSaQAgB62TkdbXdq8wA/xZYz3JV++tpFLJUUqN3d3lLby4A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB3408.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(136003)(396003)(39860400002)(366004)(376002)(346002)(451199015)(64756008)(52536014)(6862004)(8936002)(41300700001)(26005)(9686003)(55016003)(38100700002)(4744005)(82960400001)(122000001)(53546011)(6636002)(33656002)(6506007)(107886003)(86362001)(7696005)(8676002)(66946007)(316002)(66446008)(76116006)(66476007)(4326008)(5660300002)(2906002)(54906003)(71200400001)(186003)(478600001)(83380400001)(38070700005)(66556008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?x3xH7qEDloFGHIBrRUlZ9zphLS4KoLX6YDmKCUXWSuA4yGMGFUBtXftzLFMc?= =?us-ascii?Q?hiubd9VIQ4y5AFP9LuWtXrfWW/nsN8vE7xg7a1GK6wgepjpye8G66R32R/xf?= =?us-ascii?Q?GUfAOsj/XYXRCZUL6owy9wjxRU/Bn4nWabXfi4Xl3+7A8BvCl6ffqiz3MJc4?= =?us-ascii?Q?odxLweMnruRtxBpBE9KmwW0l6lGDvZv/ERXw7Q1egPuDHAo6q6KbRp3MRGiS?= =?us-ascii?Q?kzBvAF20L0mRI34YtJO7kMJ6JLciGOUfkrJNCMXC7StnUKWU0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wfZcazOoRU40y92UTKjOctZC7wI8wRX?= =?us-ascii?Q?5O1azJeCl3ODnugfuqezKbDiJCErsUKT3bI5Yh6vp4Vzd5RgSDkI7Zkqwca0?= =?us-ascii?Q?66daSyZ8msTYef2/vDni1fDefxUdhFdD6M/7elKgt8boXAojQySrSbAw4QwA?= =?us-ascii?Q?5Z1q6WUMFL3VB1Y6hxPkoLTLl4zVtIizGFLJ0KJ3Os4+XfDy7qsJOIqz6/ZZ?= =?us-ascii?Q?6PjejJy+ifUFbU/ctMnNs9Hm1OJDi+D6Y7kkmg/8UDa/4uzt4xE/7DV1WX3B?= =?us-ascii?Q?KZywMI+PMMXnENaAFuEBqaitaiXzIRxtY3hExBtTeIzeGzMOciyIGUDAzpyJ?= =?us-ascii?Q?v1OYqfl97bGCopPSG2RF8dOJrfBkQ+87b1GWxYWo4y98Yc4rYoH+Qx7rIFsB?= =?us-ascii?Q?F2yVek9mp/F5aOZh0v0=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB3408.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 99d71be9-68c4-42e0-96cf-08dabd2a3842 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Nov 2022 23:30:25.6041 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: NR7hCgLebz2wyan9L8nq42NLa0LUzE1rltrJDVkvS9Y+aK3kd/4zAdEFduV4bIl1mHAJp65Z7hYk0aBB2bcqrQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR11MB7554 X-OriginatorOrg: intel.com X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Acked-by: Kai Ji > -----Original Message----- > From: Dooley, Brian > Sent: Wednesday, November 2, 2022 9:54 AM > To: Ji, Kai > Cc: dev@dpdk.org; stable@dpdk.org; gakhil@marvell.com; Coyle, David > ; O'Sullivan, Kevin ; > Dooley, Brian > Subject: [PATCH v2] crypto/qat: fix reallocate OpenSSL version check >=20 > Move the ossl_legacy_provider_unload() into the right place for secure pr= otocol > for QAT. Remove unnecessary unload from session destroy. >=20 > Fixes: 52d59b92b06d ("crypto/qat: enable OpenSSL legacy provider in sessi= on") > Cc: kai.ji@intel.com > CC: stable@dpdk.org > Signed-off-by: Brian Dooley > --- > v2: > - Use ossl legacy provider helper functions > - Cast session pointer to void > ---