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 ED675A034E for ; Thu, 7 Nov 2019 11:08:05 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CC16C1D165; Thu, 7 Nov 2019 11:08:05 +0100 (CET) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30070.outbound.protection.outlook.com [40.107.3.70]) by dpdk.org (Postfix) with ESMTP id EA2D11D151; Thu, 7 Nov 2019 11:08:02 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Jjp1FI1sscXrVwc+V7y/ue/IGtO3Z4sMYOBoK4+DzsQik5BqUysWfMnwW5iwlN+jySfk+9pU6iXDczJnEirUyEQNo/pxwWuZzAbUjETjbQ+dhOS7plhuzYw0ikmLrJ82BQhup8sD5GXrFrsQDwmaqQlQQJJHHP3k7X/74/o2PjDKBC7kn0BnRT3B4XS0wyQAXPwSKZNoM+inWxsP2QQJL3f+lBkrEFDVwUbxzUNJoAdeSmheRmnutKeX9czRXr9cetaB1SMHJp2/HCAzwCwqKDxj9tgAX7HJNABDplG7RwVzVjU1ugrDXUZMek+kwPMckMyA0+55ZLcBrrwFgedVmw== 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=a+dwrD2G+st4pT8qoIP8D5Dhu3m1GDKVa4ewUU9LqRk=; b=KMuqTGCSksJZecwDuGdoVnPenfipeEEZ6kyCtHPa6vayML+A/opUoZ5gx+Ksq9pfyI5WmC3Ahl/jxGwRXCFRwEZYnEfUFQ7J2fdA6KOYTbvbCu4CEios3hlbQ13lkmRSM8VTNsbKXMAfxdn+NK8lhGPOUyBeJ+EXctHQc7nwzjrh70w+KhtgYKpM8oZUA6hybgvPiEBnthMqt1zPXIZtNpHNJFfXvd8XN5kra7GieEYEWhXidVusNcjpLxb+wxPz1R417AupNeN1UVHU0IW0Pat7NgJQLLdywkwYOadzURKNmEiO+6+rRwAVj86wCwVYfMsohWF8SgSTRvuaUsXnhg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=a+dwrD2G+st4pT8qoIP8D5Dhu3m1GDKVa4ewUU9LqRk=; b=nAz4/zvFgYEEaj2W/+0+57wcLjzFUWYuBrmjXCcF/TY56s+zJ8g1iK4/YLZwKSs0wshUkvtO/bNSoKkVc1iLSN8xRE6/q3021E8WrixBQI2OvtwfHHvGuzLzOskpFpeiiLWE6hUrpiuTrE0n0L9hcdBrkmmSmvajRqM54UYKnXg= Received: from VE1PR04MB6639.eurprd04.prod.outlook.com (10.255.118.11) by VE1PR04MB6655.eurprd04.prod.outlook.com (20.179.232.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2408.24; Thu, 7 Nov 2019 10:08:02 +0000 Received: from VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::9dc:aa5c:2bb8:b561]) by VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::9dc:aa5c:2bb8:b561%6]) with mapi id 15.20.2430.023; Thu, 7 Nov 2019 10:08:02 +0000 From: Akhil Goyal To: Thierry Herbelot , "dev@dpdk.org" CC: Thomas Monjalon , "stable@dpdk.org" , "declan.doherty@intel.com" Thread-Topic: [dpdk-dev] [PATCH] drivers/crypto/openssl: use a local copy for the session contexts Thread-Index: AQHVaLrW7p6OoGtL2Em4udEqrewBpqd/1ORw Date: Thu, 7 Nov 2019 10:08:02 +0000 Message-ID: References: In-Reply-To: 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.72] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 556ae9b3-764f-40b2-af6f-08d7636a5fe2 x-ms-traffictypediagnostic: VE1PR04MB6655: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 0214EB3F68 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(366004)(39860400002)(376002)(396003)(136003)(199004)(189003)(9686003)(6436002)(55016002)(305945005)(4326008)(74316002)(2501003)(86362001)(33656002)(6246003)(2906002)(478600001)(7736002)(25786009)(256004)(6116002)(3846002)(229853002)(14444005)(14454004)(71200400001)(71190400001)(44832011)(66556008)(66946007)(66476007)(76116006)(4744005)(64756008)(6506007)(186003)(102836004)(446003)(26005)(66446008)(99286004)(11346002)(476003)(486006)(316002)(52536014)(66066001)(76176011)(8936002)(5660300002)(7696005)(54906003)(110136005)(81156014)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6655; H:VE1PR04MB6639.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: BCL:0; x-microsoft-antispam-message-info: rUZtthCTX6W8DmDsvXX5m56AwgjGbOqPbMJfkNZc8cQGNWAAA/kZOgD511jYJHGp9lRk3Qx/KtANwl7snVMGePTPmy//BBHO7UnteElRWJO16MGpLQTmldTw0WJg2ICbuHR62oR6Xp+jyty5Tqyznc4rDcOXLYvNDGiQ9x6tbUxBUdnkhNAz80OzPdayKGzeotvSKNfihsQBMLR9jQFpzMEvJu+j+KzgmQY+q5VEHUUjhZ5Z89r8dfQgbr4E2yy3Gcq8sfQkTmlgM8ycAiIIsQB/Gv4xyreeZP6fGtHKWAIFzvfYzjVisys29+YzrZpPFrtNRc9l9/XfNbZnmZeYPo61vKuBk8lBJkxDPGDtk0ms70wuODfIhxJvrZgpE9p0zcis8HIFWUjbgHRoDCj6bhhKlQRm0l4Pu8/61W7FIJeMsh2HIZnAd+SjLZYFBfGC x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 556ae9b3-764f-40b2-af6f-08d7636a5fe2 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Nov 2019 10:08:02.0840 (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-CrossTenant-userprincipalname: DFabjaWZSOmPghfgKqYiYm2UhIU+wqMXcV2Ce/GZBwkSAq4ae0KYrl1qjzrag9NaOaVHsf60F+fCtW+MMvXH3w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6655 Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] drivers/crypto/openssl: use a local copy for the session contexts X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "stable" > Session contexts are used for temporary storage when processing a > packet. > If packets for the same session are to be processed simultaneously on > multiple cores, separate contexts must be used. >=20 > Note: with openssl 1.1.1 EVP_CIPHER_CTX can no longer be defined as a > variable on the stack: it must be allocated. This in turn reduces the > performance. >=20 > Fixes: d61f70b4c918 ('crypto/libcrypto: add driver for OpenSSL library') > Cc: stable@dpdk.org > Cc: declan.doherty@intel.com >=20 > Signed-off-by: Thierry Herbelot > --- Applied to dpdk-next-crypto Thanks.