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 67091A00C2; Tue, 27 Sep 2022 05:27:22 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 49E174113C; Tue, 27 Sep 2022 05:27:22 +0200 (CEST) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130081.outbound.protection.outlook.com [40.107.13.81]) by mails.dpdk.org (Postfix) with ESMTP id 5341D410D0 for ; Tue, 27 Sep 2022 05:27:20 +0200 (CEST) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=n8iXj/S6sT53t7k9lEXqAFn8+8SZXF7oEKJEzo36++28mxwj73TEzjLDRvQub8H6hEjOWqiQpNzs9WrzizJiaPx4z+R5GT76QgLg9uJYcTZORBJj21HgBbY9+MYHYuymDWpj5bUygdoW5PAbb+QmMvYTMjGB05B5GEK9n3WZbVdvM8myPfD6d6Q00OlXxHxXjsb5/fubxFbEE0WcHLVhS4qroJYoYxMC/AmQLPtwlttpYcX8K+oqWqxKRXw0tla8K9MjGE0BYEk/rBF6HzPJj4j3Vcn4pP8MaaC6c1veCogMq+21Ggw0GRMfUeDJpnb+M1IUY9vNJ3pl+DjXJBH6EA== ARC-Message-Signature: i=2; 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=3y9zUzJfeMOokh9/LQm459xD7NiKI0haYmgcGHawF34=; b=ge9Sx1dxIJxdnBeJbmQ936BrMMhIuGPt1+FQ+944smERoFbIFqU1ZNFJSrSKQBjn6UYaTT/9cBJYGO1+KFDqD6KRA0b8Zc5Vra+8bJ5UghpTagV5fzJhwqvqVVRLD5rX9xCvcFKCQ9RUIetGOqn5+kpoxjBF4PtEmcba5wkiFWZ6j3SnQj+3rAXq6SMV8k6liL2NtMSMmXbnh6WBYA4bIjvgQSUHFU8EoK+7mb/XqvdBlDhPJWDCaF1cpYsNVKO09HIOO2xwbBGqH6/leHxKY0kwGh2ic+YPp4qXFsz5JgXU1wZ8dljNHMIsNdSXdiUwg71lMA6wWt7UbN4PlqoTBw== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=dpdk.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3y9zUzJfeMOokh9/LQm459xD7NiKI0haYmgcGHawF34=; b=MLCYzyAYAUObKn4gleQfWQa3SKhAaO55ThTX415NZun3GuCIRDtkv17HBZxk0tH4QkjIadlQ0WZ3QgR1E5tAyVcZYMfZejVfDT7vhKLm5zpK1F1HehGlKWEVscO03KpvtBxs2sopF30W+5myvVLgXOp4jQdj8r3EkwWmK7x5Rl4= Received: from DB9PR05CA0026.eurprd05.prod.outlook.com (2603:10a6:10:1da::31) by PA4PR08MB6272.eurprd08.prod.outlook.com (2603:10a6:102:ef::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.26; Tue, 27 Sep 2022 03:27:18 +0000 Received: from DBAEUR03FT027.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:1da:cafe::39) by DB9PR05CA0026.outlook.office365.com (2603:10a6:10:1da::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.26 via Frontend Transport; Tue, 27 Sep 2022 03:27:18 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT027.mail.protection.outlook.com (100.127.142.237) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.14 via Frontend Transport; Tue, 27 Sep 2022 03:27:17 +0000 Received: ("Tessian outbound ee41cdb23966:v124"); Tue, 27 Sep 2022 03:27:17 +0000 X-CR-MTA-TID: 64aa7808 Received: from 4d9018370fff.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 57A2006B-B103-4FCD-90EC-B500AC8DBE1D.1; Tue, 27 Sep 2022 03:27:12 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 4d9018370fff.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 27 Sep 2022 03:27:12 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VaMeqGy1G80l0npZTHcWiHmZmjsQm+mVqY7jAF+cerdcWRWT4HZIFgrYbFHssIWRzRlA3iqRgPb2U7ai2NFnaEDRXTug5dA5EfbOm/dH9ohG5+Mj1YtjI28RhUHzIiw6WB2i5+cqAQxLY1AgUpE6YdTNx+6YNFuqc07OZHmwKxp7HdjfTMd3epUegKHsajIaFBvHTgsxnH0EH15qTwEs8doj9k5ZCczIw0beNguqsGmLdWzOur8WdNVOKh/BxHBHuxSF+nAXNyXC/FDlaDVzlbqKPHQbuCZX0Ev2jVJynrYffikPNgDwUbEsSWmwdGNKxwBa3iA7iGO8oEfjoV5JBw== 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=3y9zUzJfeMOokh9/LQm459xD7NiKI0haYmgcGHawF34=; b=Kj8FhO5IAqen1r7fkkNXqlPcNKUZVTMfSRDX/CVdXTsm/UgfzLjXDOlaKqQarOEHJY7iPCU0VFdFcJyPAI9cOC2S870Qe3Y1FXfbIODXiN1RCSA+HzIDRlz7RIDDggyxAmCnbRvVzUMaTffkV8t/xEdiwXGofr7g3aVbx7pVePH5sDMg74YzCuVwEw0223eDpGar9TgMbZRcPOrIgSCcQZcXe6TfCOXeL5AYs38VsDA7CBsTq7LTTh6nLBqWN7TN0mjDNCFXPGfIBO86kfXH+4Fa46cFFNQdr9n4lp0K9JcgfmB33HclNaUF7GBwuIQH04Dk/IzQZwtriT3XmHKp7A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3y9zUzJfeMOokh9/LQm459xD7NiKI0haYmgcGHawF34=; b=MLCYzyAYAUObKn4gleQfWQa3SKhAaO55ThTX415NZun3GuCIRDtkv17HBZxk0tH4QkjIadlQ0WZ3QgR1E5tAyVcZYMfZejVfDT7vhKLm5zpK1F1HehGlKWEVscO03KpvtBxs2sopF30W+5myvVLgXOp4jQdj8r3EkwWmK7x5Rl4= Received: from AS8PR08MB7080.eurprd08.prod.outlook.com (2603:10a6:20b:401::19) by GV2PR08MB8170.eurprd08.prod.outlook.com (2603:10a6:150:74::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.24; Tue, 27 Sep 2022 03:27:07 +0000 Received: from AS8PR08MB7080.eurprd08.prod.outlook.com ([fe80::ccaf:19b0:8cba:f92]) by AS8PR08MB7080.eurprd08.prod.outlook.com ([fe80::ccaf:19b0:8cba:f92%5]) with mapi id 15.20.5654.026; Tue, 27 Sep 2022 03:27:04 +0000 From: Ruifeng Wang To: Akhil Goyal , "dev@dpdk.org" CC: "thomas@monjalon.net" , "david.marchand@redhat.com" , "hemant.agrawal@nxp.com" , "vattunuru@marvell.com" , "ferruh.yigit@xilinx.com" , "andrew.rybchenko@oktetlabs.ru" , "konstantin.v.ananyev@yandex.ru" , "jiawenwu@trustnetic.com" , "yisen.zhuang@huawei.com" , "irusskikh@marvell.com" , "jerinj@marvell.com" , "adwivedi@marvell.com" , "maxime.coquelin@redhat.com" , "chandu@amd.com" , "Ajit Khaparde (ajit.khaparde@broadcom.com)" , "anoobj@marvell.com" , "pablo.de.lara.guarch@intel.com" , "matan@nvidia.com" , "g.singh@nxp.com" , "qiming.yang@intel.com" , "wenjun1.wu@intel.com" , "jianwang@trustnetic.com" , "jingjing.wu@intel.com" , "beilei.xing@intel.com" , "ndabilpuram@marvell.com" , "roy.fan.zhang@intel.com" , nd Subject: RE: [PATCH v4 0/6] crypto/security session framework rework Thread-Topic: [PATCH v4 0/6] crypto/security session framework rework Thread-Index: AQHY0dxMpyhS//YzOkCX4QyWL7uU263ynRtA Date: Tue, 27 Sep 2022 03:27:04 +0000 Message-ID: References: <20220924163542.4159562-1-gakhil@marvell.com> <20220926191424.1069668-1-gakhil@marvell.com> In-Reply-To: <20220926191424.1069668-1-gakhil@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 9FAB592BDFB5A345872A00FAB4DA8AC7.0 x-checkrecipientchecked: true Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-traffictypediagnostic: AS8PR08MB7080:EE_|GV2PR08MB8170:EE_|DBAEUR03FT027:EE_|PA4PR08MB6272:EE_ X-MS-Office365-Filtering-Correlation-Id: 1f96d64e-8d5c-4912-c4c0-08daa0382e0b x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: pQLFJBdh5g6zPv8hZBgbPx4gM7k2og9B7LmbMoTAH81iN5eXDBGjk5xMGqpVhFeSTgRE2OwN3dtIZuotPvPA3GM8K+mEjb22jr2WuEpSFEEVpd5vWvtNEqrT/brJQDcRKTNvAoNRj0qRP/ALtr1/14c9YWdMHA100M8g8JHDrQLGvkmiixEhHZaQqYTyipdVGshAexQ4vYfZxxtG8iGsCaz2Sw75yVMtFcAv+kIUknUGsnWAsGzuqjNT4eUuDWlEKrp2kJqqTwoaRSY10mbY9mZN+xNELihwlZkWnAqIlt40jI/PCm9A2HpRnm4xCxD93Ml8TgLjjMmt0d/Gkx8CCVorgN0OGCLkMJ4hvtXQ1ZBA/hgdgB8lkE5GbVtlgZf5wzYhSPjaxCaYdtkcdDSdhNO3g5UIEZwGi7TUwY+UAHCpZPv590AquSjkcRR3hcsshIskD8nQaqY2j/aHOs07tOjhHXZ+pfSPTJDHEIE/speE93/cxWgUtMncddK1ggiK8QPDYEd0rS++sSS2XBjvyCDlduEwBgWAEFAJWcCWKgDk1OBauE+FgBgKarMx5Mb+lLEalXiIo/ysJVAz0tDyZdxZsdSln13zNmXkFVtWS24LWxOsZCXD6NKl8n0cp2BU23bn57axgGUW7m5egvVwSnzc3P2KRNoULvQ6ZDJTUBE4GG2weSypKrZ25J4j7a/ewccPLwNsy5h1x2IGHc9Utpx2DbK9lpzPsTWP66m3/zXiaq7Mve8etmmsExax0k/SG5wSc4iBosqWqIyEHburHS0axak+3O4IPM4O47DZNUh00Z5acj9Hlt4x3z6LiL+KFNwWmmbFoPrmYj5kWJ9WHw== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR08MB7080.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(376002)(136003)(346002)(366004)(396003)(39860400002)(451199015)(122000001)(38100700002)(110136005)(76116006)(83380400001)(54906003)(7416002)(15650500001)(55016003)(5660300002)(2906002)(316002)(53546011)(8936002)(52536014)(86362001)(33656002)(66446008)(41300700001)(26005)(186003)(4326008)(8676002)(64756008)(66476007)(66556008)(7696005)(9686003)(6506007)(66946007)(38070700005)(966005)(71200400001)(478600001)(23180200003); DIR:OUT; SFP:1101; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV2PR08MB8170 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT027.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: ce2529be-7a2d-4f26-8fdd-08daa038260e X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6Qb5mkZJYhEenVXy/VSs3SY/BoTulw/MJ2IGtisOIunE8kmHzsQevXDo1fRRJvNHQdpTJnmnCuYuMWS6TzV2wx2ppoUGNLYXEnUfaeaYxw2OBo9vN18RUHpzYX00RoS98CK5JjBDh6L8EgJNUX3YVW6QYg9X0xVYFUHvjBSEthAiSNOW0SzOftuD3F4hk5H8ch+MLlbUf+rHaSmlVVGnJTBvZ9DbfOvXml5iEo2fG4WwrnFQ78Ca+mqNv1V5Vpx9L3IdfSzABCA+qN+WuC2zBUixOrvaGQfHOZDeUuXIZcYLHrZEgNMatAv9zS8uGERxk9jabHiQPv4KcWGduJ9onUxu4xgKW2sNXl1lJKgSX9FlNYRRRFIwT8t+OX/bW05/d1pSzc8nc9aaxdpn41/Yw8wXYy7EbH++hNquhPhnluRiAxtUCNXk8xJcdM+S9jbiwwbyzcV5Kj5sYYSI3ZC5DnzKGTRHeIoXQ+7SqV9Jlw34E/TooZ+bG3PZQjF2wNPmBDJtiQvOTo5tzJDj7rtrsYL4VdiYn6o5UDe3qo4w9yIK+aLwwZhaTnNDLDUv/DUn+dZFaKR43a6AyXCQxkRRD8/kntvqscMwHl4THmEAQBmF0p6x8hUzyCirCN1Q5UCTLIn68i8QS0T2tGBTbWIbmmP0FpkBYZlxQpE89Lcst99jNPlrX5sVxxokKKp+NhmDQlkVsnd+GabkqtOE9xMFaOYwY0tivX6Si+GB9MIMEuWS0hayCbZ2uWYjj3qHGY7wiJ92I6NVAY+IWiD3AbyFcOOPsoN5AWlCbe2gkpuydcv1Cok6SnGB0OYthdhizK8SoYt1q8DlCiQ3Kk9Bj4UgFA== X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230022)(4636009)(376002)(346002)(136003)(39860400002)(396003)(451199015)(40470700004)(46966006)(36840700001)(316002)(110136005)(54906003)(5660300002)(356005)(81166007)(40460700003)(33656002)(52536014)(7696005)(86362001)(8936002)(4326008)(70586007)(70206006)(8676002)(15650500001)(2906002)(9686003)(40480700001)(26005)(336012)(55016003)(83380400001)(966005)(41300700001)(478600001)(186003)(53546011)(6506007)(82740400003)(36860700001)(82310400005)(47076005)(23180200003); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Sep 2022 03:27:17.7326 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1f96d64e-8d5c-4912-c4c0-08daa0382e0b X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DBAEUR03FT027.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR08MB6272 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 > -----Original Message----- > From: Akhil Goyal > Sent: Tuesday, September 27, 2022 3:14 AM > To: dev@dpdk.org > Cc: thomas@monjalon.net; david.marchand@redhat.com; hemant.agrawal@nxp.co= m; > vattunuru@marvell.com; ferruh.yigit@xilinx.com; andrew.rybchenko@oktetlab= s.ru; > konstantin.v.ananyev@yandex.ru; jiawenwu@trustnetic.com; yisen.zhuang@hua= wei.com; > irusskikh@marvell.com; jerinj@marvell.com; adwivedi@marvell.com; > maxime.coquelin@redhat.com; chandu@amd.com; Ruifeng Wang ; Ajit > Khaparde (ajit.khaparde@broadcom.com) ; anoob= j@marvell.com; > pablo.de.lara.guarch@intel.com; matan@nvidia.com; g.singh@nxp.com; qiming= .yang@intel.com; > wenjun1.wu@intel.com; jianwang@trustnetic.com; jingjing.wu@intel.com; > beilei.xing@intel.com; ndabilpuram@marvell.com; roy.fan.zhang@intel.com; = Akhil Goyal > > Subject: [PATCH v4 0/6] crypto/security session framework rework >=20 > This patchset reworks the symmetric crypto and security session data stru= cture to use a > single virtual/physical contiguous buffer for symmetric crypto/security s= ession and driver > private data. > In addition the session data structure is now private. > The session is represented as an opaque pointer in the application. >=20 > With the change the session is no longer supported to be accessed by mult= iple device > drivers. For the same reason rte_cryptodev_sym_session_init/clear APIs ar= e deprecated as > rte_cryptodev_sym_session_create/free will initialize and clear the drive= r specific data > field. >=20 > The change was also submitted last year during DPDK 21.11 timeframe also[= 1], but was not > applied due to lack of feedback from community. Please help in getting th= is cleanup merged > in this cycle. >=20 > Now the similar work was already done for asymmetric crypto. > This patchset is rebased over current tree and fixes all the issues repor= ted so far. >=20 > Changes in v4: > - squashed armv8_crypto fixes. > http://patches.dpdk.org/project/dpdk/cover/20220926100120.3980185-1-ruife= ng.wang@arm.com/ >=20 Verified for armv8 crypto PMD. Test cases are passing. For the series, Tested-by: Ruifeng Wang Thanks, Ruifeng