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 245DAA04FA; Wed, 5 Feb 2020 13:36:10 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 92C6F1C18F; Wed, 5 Feb 2020 13:36:09 +0100 (CET) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2073.outbound.protection.outlook.com [40.107.22.73]) by dpdk.org (Postfix) with ESMTP id AB6AA1C13A for ; Wed, 5 Feb 2020 13:36:08 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R5DDxZalzIKQk1uVJATtNTReE9DIQ+9Q1qUkp5ePonLY88Z0T06VGC0AwfuhI91hlrVsw8RgwOkreXZ0gJi6L+bG2YJucX7k5OlZx8RhrJhkuRO85BSS7IsROMwwSdLP+PRK0crV59GB5MSuSbsZo0CxYgzpQzS1p7zxGtXesqF2QNqtWRFKP+kMlTlYMdRk/FDgHB3BdXuEm4IKgfvct3/9ySKNCA4Z4Eyn6i0qtU5wsu7w1j/JYbBG33WSeEn/a4VeuLRDEeYBIk7GBieXsYYxdJHctdtgE3Z80I2iWZfPE/OZqIJZgnzLHyHwacGGj1oygRZnxFVOavAVP4vuQQ== 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=WYZlJScTv2nHZYG9PA7V7H1J8qhqROJ5UzEBW9UBS8E=; b=Mzi+iAIR0cEGCbRgqlAp/CtI65Sd7Hx0PwK+OHVXdz1B7qKi8nWTFfFpTqJMUzPYYqqylq4POwEqTWx9+zEoViLlvojAYBMebDipx5CQ4+6QJ8w5IxM3LY+vxwkgx4VDbRcFuWHw6DQyTCqMoTteuNyVDYzvGuaKPpGqOf9pxHuRaob4vyeLUIuVYeFLwQYOiArGO89i8WDVlaclkjA+2TXWXjQUaEwwnWZV57nVdFiOtz3/OdM7kimM6FnfE6uOwSPp2mx03XnvFjtKOitXEzb3bIu8kc2CFVMKkE/oXqcxeJD68twynWt7dSqr560KIKA7mX+A8bQmH5dEiVNO2w== 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=WYZlJScTv2nHZYG9PA7V7H1J8qhqROJ5UzEBW9UBS8E=; b=ig9LVHZ9R17MiAPwHBfhp25/rCO6HO3T7+QEdVJn8G0dXjTYfzRZozZgrvKYZo16hZ8EiJmQ9+4ItXj+jiwoYmokv7FdDIJZFyUoQGmoa3W/p83WwmBIosfHd0pECP4xfgPvbMVN1PeNd3gUnzeri8Wp8aCYy8qArslwXcz1V68= Received: from VE1PR04MB6639.eurprd04.prod.outlook.com (10.255.118.11) by VE1PR04MB6558.eurprd04.prod.outlook.com (20.179.232.159) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2707.21; Wed, 5 Feb 2020 12:36:07 +0000 Received: from VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::25b0:b1ac:aed0:63e1]) by VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::25b0:b1ac:aed0:63e1%7]) with mapi id 15.20.2707.020; Wed, 5 Feb 2020 12:36:07 +0000 From: Akhil Goyal To: Junxiao Shi , "dev@dpdk.org" , "pablo.de.lara.guarch@intel.com" Thread-Topic: [PATCH] drivers/crypto: fix set_sym_session_private_data error in sessionless mode Thread-Index: AQHV1VXiDRPpOyfnJEO1reRFYGOK7qgMls1g Date: Wed, 5 Feb 2020 12:36:06 +0000 Message-ID: References: <202001272108.00RL832Y004622@lectura.cs.arizona.edu> In-Reply-To: <202001272108.00RL832Y004622@lectura.cs.arizona.edu> 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: [64.157.242.222] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 9a09a875-0a3f-402e-b929-08d7aa37f8ce x-ms-traffictypediagnostic: VE1PR04MB6558: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-forefront-prvs: 0304E36CA3 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(136003)(39860400002)(346002)(376002)(366004)(189003)(199004)(9686003)(71200400001)(55016002)(33656002)(52536014)(81156014)(4744005)(81166006)(8676002)(7696005)(76116006)(8936002)(110136005)(5660300002)(66476007)(66946007)(66446008)(64756008)(66556008)(316002)(44832011)(86362001)(478600001)(186003)(2906002)(6506007)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6558; H:VE1PR04MB6639.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: 72AHb0eRwyPa8XSWkARj+GvIHD3s4vOIFXL8YjxGIuCzK4nd49tf+4mHAtNq91u3tBcPtk7as20+gCxXzxU+mpJNX/RUhj/Too6HDkfutxyfy2c5GwiwXDHv4TjnXx++OPigNaZ6nmTBx4ahxvu5iWL5Ktq/mhVyHcX64vzFtG/OrRnbAptWddzPuWy6qeDhO4ai+5Fpjq5Wp4dqwg1eU/u7EOv0iIzuTt/LAXxKndrdyQaHLOLLJKy9u/SzyGLhP+16W2zNR9hDBwCsD7ULCfkMwuW+OF3846s/sf8DEmd+uSU52U+5+FAlx0EF4wMCx4POn/hOKeFu+C9Al+S9zxOnf90TcKxFvBCbxkaQvoGjN5IZMyiAKyLhEeEmbhcxF8anGOas9gML7pYtESSzHbLEI0FrkWw6GiQvyW6t6KQvFJDl+ju9kpAFWRv05rfl x-ms-exchange-antispam-messagedata: ACAyNquQUMgg81XS0nmZOQtBrw9h01cSljC+fjgyVs7RQrQKUGIGIPUThmyFHldAJxz3k0gGrvuutlzK2c2wwFgNxTMM51SkLdAsA4q4T2MQTQdBb5HRTHhZ8dRS4nvFCT2Hh+g44IgIZJlPHem/HQ== 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: 9a09a875-0a3f-402e-b929-08d7aa37f8ce X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Feb 2020 12:36:06.8796 (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: NBqfjOQtF06hVZkDdnYM8MJXKblQ8zPs5mRqXRQCH+TaIRITAqBVWwlfi0F3hg18f4DMflezgSsYBQBpcZgZlg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6558 Subject: Re: [dpdk-dev] [PATCH] drivers/crypto: fix set_sym_session_private_data error in sessionless mode 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 Pablo, > When OpenSSL or AESNI-MB cryptodev is being used in sessionless mode > for symmetric crypto operation (e.g. SHA256 hash), the driver prints > error message: >=20 > CRYPTODEV: set_sym_session_private_data() line 489: > Set private data for driver 0 not allowed >=20 > Then, AESNI-MB driver segfaults in post_process_mb_job(). >=20 > Bugzilla ID: 377 > Fixes: b3bbd9e ("cryptodev: support device independent sessions") > Fixes: c68d7aa ("crypto/aesni_mb: use architecture independent macros") >=20 > Signed-off-by: Junxiao Shi > --- Could you please Ack this patch of no issues?