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 5C22DA00C2; Mon, 26 Sep 2022 12:09:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0A0194069B; Mon, 26 Sep 2022 12:09:56 +0200 (CEST) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130054.outbound.protection.outlook.com [40.107.13.54]) by mails.dpdk.org (Postfix) with ESMTP id 18DA5400D7 for ; Mon, 26 Sep 2022 12:09:55 +0200 (CEST) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=KLOt0TTRU0qNRirlKtqduevr7fn9bJ2JSwoYNasqwglrbFRy8LIDtzB2RQom1imt/8tHW1yfAhiFNFswUy03HX85iqEig4OtVh/0ok/TjI8RwtlZRH9VetJMofwDuhJsO3JPxQqknzZaculqyrNhh9oWFU9kH1BZK8k2XuAf5N/mCZyEX8eClSO+WH2RJ+Ase73HY877CNQyWP+Wvhnm7yZWj0KncdYgXkWagbdcc7tL0MJ4ag+PhIxwhh7P2QOERqfy414aBLcpSYsGPNcbCUC033L2SUsAb5d3tdzxphWPAi+4+yuXzYOTBq0wt32EBNEcHvc4gcpteJIbV2exuw== 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=JDd7CVALUtmZnOFHwqKwDtA6Jt1enI4P0wxAVwj5Okk=; b=NrpupUM5f0LyVijUPugCr+rJIXY281BSEvMIJm6zIDzoZvCAGDIp1FnMD1m8v+vFAN3IoMQImL2usnSzJSGxC6wX98SRHuvkpVDAQ4KEKRTOMFIalyLbRKHty15CupvBVWSGwy8AH9ixAaHcpXgoJD3Bv5jRPMKIXbQYI3T3v4zTx+KhZzgWMZtSLre8eihalV5L5TM4WQJW253vxHVBgxjYYZvvTKfkRzgjUyhUsw+Y7ZU7gUxm51Ust6NzHkOYJJ3th55+v4DgAiCnZzaD+ll4t4BgyMvGGtMA1f1BV2wmi12whl82l/kuBQrIKch+GKH0jmulKkrbo/y90ul8Bg== 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=JDd7CVALUtmZnOFHwqKwDtA6Jt1enI4P0wxAVwj5Okk=; b=RqYBeOYxR0L1u4pj3MT0Nd0nUGwWJ7WAfczA0s5eth9IT3H2TOtKoGrS1f5oV9WgYmSS1ZuvgdkchNpjtVs8cOWKdw+D4HD6eeiUUbY6QZSOj486LYhheU6+gO7XVnNMyBkrPIcJdWv5VORUau8KzEiwTkecT8hYyqjX92pMhrA= Received: from AM5PR0502CA0008.eurprd05.prod.outlook.com (2603:10a6:203:91::18) by DU0PR08MB9002.eurprd08.prod.outlook.com (2603:10a6:10:467::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.24; Mon, 26 Sep 2022 10:09:53 +0000 Received: from VE1EUR03FT043.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:91:cafe::e) by AM5PR0502CA0008.outlook.office365.com (2603:10a6:203:91::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.25 via Frontend Transport; Mon, 26 Sep 2022 10:09:51 +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 VE1EUR03FT043.mail.protection.outlook.com (10.152.19.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.14 via Frontend Transport; Mon, 26 Sep 2022 10:09:50 +0000 Received: ("Tessian outbound 9236804a5e9b:v124"); Mon, 26 Sep 2022 10:09:50 +0000 X-CR-MTA-TID: 64aa7808 Received: from 28ab89eeadc0.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 630FB6C2-C88B-4AC8-8DF9-451CF9F36B8C.1; Mon, 26 Sep 2022 10:09:45 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 28ab89eeadc0.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 26 Sep 2022 10:09:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mzOTzDbLxnsucPwuVv8vazoQLUIeluFdKhBkrv8iTzbSy6xG/z/Dk5ep3Jf1QXuf2mIgOsJ9ML1VaQF2kTXOppg9OioLABfGaDHceOmF1ub4967dlw91SqPDJQr9tsVvjilgpkkW3Y8zIIgyNDkSuA1W3gvMJFzrskDmCFfpZ+CgNLoAfpAIWBOpuQZuhG7lSjQJz16qnWC/2bFdvAww5SZY+tUUQYMDmU6/Nzh+8s7/hXJLNaHrNeYaLGrrTHcRHE9psqFgzWrYzm6oS4xGV+LAtFAaLa76eykAyhMKUa4vBa6ThCCoHq0oj38D6i42XMBxSyX1YdENwRiHJAD3Ew== 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=JDd7CVALUtmZnOFHwqKwDtA6Jt1enI4P0wxAVwj5Okk=; b=fHfpYxDtzYZwVm/z6qmFLz7pkPWelIsz6b1E/yg6mhBH0pq+TXcNafI0O2ewRD8AfZISv6C1JdR99GqIdjIUUtaWqviaa8RHyIYbCLUCspR4XaWUD5+3OS7/33e1gr5zP1tL2YJ57++WBDynUBOjf6Y9hLLyD38WIUk/xDPVZuUi1B8t6XfU02BrBtyJ8ZJPY7D6kcOu0Rr9d2/B7dq/cVqR5WeK07JsBDIFB7jYV/zpWkVOsZwKQ34ZPjy33NNCWq6mUisoT2Tllc2r5LDHaOxASFFSXXGgsxiIHmzUwfqffK6k1AJy+1UsTrfMIPz8cVwUwxxdjeqHlw2Y/gXDbQ== 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=JDd7CVALUtmZnOFHwqKwDtA6Jt1enI4P0wxAVwj5Okk=; b=RqYBeOYxR0L1u4pj3MT0Nd0nUGwWJ7WAfczA0s5eth9IT3H2TOtKoGrS1f5oV9WgYmSS1ZuvgdkchNpjtVs8cOWKdw+D4HD6eeiUUbY6QZSOj486LYhheU6+gO7XVnNMyBkrPIcJdWv5VORUau8KzEiwTkecT8hYyqjX92pMhrA= Received: from AS8PR08MB7080.eurprd08.prod.outlook.com (2603:10a6:20b:401::19) by AM8PR08MB6404.eurprd08.prod.outlook.com (2603:10a6:20b:362::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.25; Mon, 26 Sep 2022 10:09:40 +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.025; Mon, 26 Sep 2022 10:09:40 +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 v3 0/6] crypto/security session framework rework Thread-Topic: [PATCH v3 0/6] crypto/security session framework rework Thread-Index: AQHY0DPHHC3wnulR00ecPLSz67anIK3xfbMw Date: Mon, 26 Sep 2022 10:09:40 +0000 Message-ID: References: <20220921150258.2061702-1-gakhil@marvell.com> <20220924163542.4159562-1-gakhil@marvell.com> In-Reply-To: <20220924163542.4159562-1-gakhil@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 797131B7C234044DBB8CC64CF785717B.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_|AM8PR08MB6404:EE_|VE1EUR03FT043:EE_|DU0PR08MB9002:EE_ X-MS-Office365-Filtering-Correlation-Id: ea392dd3-74e6-4d4e-e7d3-08da9fa73ffe 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: oSCqERYYBLjNcgyjN27T/8+ub3OmGvJLtzaR5DccRqjejEdneTBed3WZRTm03AaJ64ltMCPD46r13xu/ZM8Zs/v+Z7hR/IbP7I99Gk0dNkqhZtIkHQ293nT7379h/aol/iVMjEo+r0k1+U1wkGF5jTir5ojiGY7Xzjk9qenXMT9rrujeHduD2085SnExuuApve4FU6FcuwUVS6eCI2T6jZwfMdGhrcq87bCU27WBez+613bKrp+hOZrpQtf5Fgdu/Sv4H+mnl3xNeqkp8mx8xBWl4eRwQWFlo2iNztozIO2oqUNwaroGS4CpGJDjac1jPo4+HHlASmENAx+LBM3kj2VO7G2vIOf7G5vpJMSyphiO4MJR5N59DTZJWgQVuKrPqzDkR3T49lppTUJc5WwnNrHHC0oWJq5juWDQkjW3tATtgf8WWuqI1nzwcFH+TctOtri0n8nvvDhJhj/8rcujEO04/4F8aWJs9SgKIZE6NekslrwWoO2VqXFkly3ABRr2/G31n52rMObojO6PZA2Edm4v2kBVVIgava6V9TN7t8yeorla54A50+YHAl6XqrmOfGJvvGiZXPnZB4IfMIWxTcj3ybivCxImWLEe/+5+SN6nNaEwB36xtqRS+8qMSHhDOwBRXrv0WukzWWI3PHkZmC+IWn0EwlwqGNiGvX2FVszISw9fengnb+Wo+4o1VmbJGOpc0gNx51jSZaNrr7VizzCh1I0XBaHg9VKZ15VU6b+Oi1xTrxIwyp/s3IxrHyYYXlswgZ7tNioQmVEphO5p6kNbcwcidPIoDNoguvNoG2y93LiSbWK8C/6jam7dL4dYZgyd4a8F9qwNX9vOjrdaCw== 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)(136003)(396003)(39850400004)(346002)(366004)(376002)(451199015)(83380400001)(186003)(122000001)(38100700002)(38070700005)(5660300002)(7416002)(6506007)(2906002)(15650500001)(52536014)(55016003)(8936002)(53546011)(478600001)(966005)(76116006)(41300700001)(26005)(9686003)(4326008)(7696005)(66556008)(64756008)(66446008)(8676002)(66946007)(316002)(66476007)(71200400001)(110136005)(54906003)(33656002)(86362001)(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: AM8PR08MB6404 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: VE1EUR03FT043.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: c167ae00-8a03-47a9-f371-08da9fa739d1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6MTRNR5SstGJB5zELqyydxo4DS0qBSadYyDFA6bcdHIio/ZP45OSRPr9qXL8gWLTk2xvkBPngGFltgU32gtMYEi9evLu92oKNdz891Vr2U9XOfYiEY9m5Hk/q1HzouPW1MvZqlHc/tTBIM5XU9j1xvgL2GRBhd9s028UUoVFh4G4Vg5/hhD3Du4KYXFjivdyupGK+cDWnGxSXBwYdCZBXTalwdfffL3rZ3eV3VTSywdnvMh4JIQgydy22buOvR8T2EF/ZeidcDriYiZIyMnye1BmBIi/XI3Krfx1rpIId3vVrdFfQmqNtTB2VDzYgCxZCJy3CgfLd98a6PEXqei88ep7xnNYFZDlsw8ODoQqQoJWD+rtD1cwoVJdor/tdYEXuBm81hebL9z337+iv72bTuOS937AX8Sn95jayhsp7U7CDOtHC31Vq/NC+EZXGe6jNDzO/YK1FKzdp7HNrt4iLCDvAQGR67y6UqSKVNPq9AXrJZs+Gl1nvXxQ7nwQHEuwSeoHASHpayqR4YXWv99j96mfFqcxiDFEKvW+L2bztGLAp1LY8fw3S8WY4xIwyEmT0hKiZ352XHQT7dHIhHIqA+uJxdL7x1rHaBRNxTJ8mJVs3iWf8ow0LIubeFHfQU/pWD6CELqoOQHRFxt+2Hge6XN/dFXHbiytrG41V+gpKpmnyRzysd1U5MrvOp6is3LEYm767blHaUztcETQlwrWChi+ToaoqV0LPQjA+mpsJdM+YcDAjJCuAWAbIY/OC+vwcpIt/IzydwvZ1qlnhGq6BPicU5uOtcHzPAv/0C/7aMTrh/nGrzGwp21TfhNgqtkHnP89Ix7RUk2O5CoBGKWNXw== 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)(396003)(376002)(39850400004)(346002)(136003)(451199015)(40470700004)(46966006)(36840700001)(2906002)(82310400005)(356005)(186003)(81166007)(336012)(41300700001)(40460700003)(478600001)(316002)(6506007)(33656002)(8676002)(4326008)(26005)(70586007)(9686003)(55016003)(15650500001)(5660300002)(86362001)(40480700001)(54906003)(966005)(53546011)(110136005)(52536014)(8936002)(7696005)(36860700001)(70206006)(83380400001)(47076005)(82740400003)(23180200003); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2022 10:09:50.7228 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ea392dd3-74e6-4d4e-e7d3-08da9fa73ffe 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: VE1EUR03FT043.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB9002 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: Sunday, September 25, 2022 12:36 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 v3 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 v3: > - Updated release notes > - fixed checkpatch issues > - renamed macro to get sess priv data to align with crypto macro > - added acked-by/tested-by >=20 Hi Akhil, Thanks for the changes. Armv8 crypo PMD has build issue with this series. I updated code based on your series to fix the build. And an issue found in unit test is also fixed. http://patches.dpdk.org/project/dpdk/cover/20220926100120.3980185-1-ruifeng= .wang@arm.com/ Could you merge my changes into your series? Thanks.