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 2DAC0A00C4; Mon, 18 Apr 2022 21:36:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1C9F74014F; Mon, 18 Apr 2022 21:36:18 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 4122140141 for ; Mon, 18 Apr 2022 21:36:17 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 23ICOi6r032051; Mon, 18 Apr 2022 12:36:16 -0700 Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2168.outbound.protection.outlook.com [104.47.58.168]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3ffu5pgh9c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 18 Apr 2022 12:36:15 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bP5Jc5XFfUocEIap3Y3qFdusVJIpoGpOEkGFknQ0g0jHU1VgnfMPAGt1yiIfpjIfiZ9IX19evKMSy5kyd3mivmBk2rOWofFEY5PBbfP2RnHEhQB4itoOOLqVOZOIFh9zDVnlm1v8jV+TroVR+nyA6p5PUwKJba9FCb82mupoMzoLB6hINksK6z2ZwBZdmI2ZEk6NjN4vaaI8P+sTuZ1bb2ICBJISemG9gv1ldAUKPzTl054PBocqZaciD0A7UPmgxTpbuPQDimtIlLeEr/Itl+fbJP59+1AwqJpIyWgLgtQfg1NCJxGrodj+vUvuUo2FEdPROSS0xLdPGnVBeuxGIA== 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=0V/mlAhWv/q95Q0+AfxasjMmnN9na8bAn4HVSHa/G70=; b=Qxy76/+R1DeZFxQ87rCGMsc4hYsohjrYYfmICn1v4vpQGuMGPMNzkyXXMKXHutXnaZSpKjUaTFcvhfQpX/OluJrVU3XCaYhy9SGe2XD8USekvri4/KnZ9pK6VSk8VpQaT7elKh77yUwDV4qFFy0mBWW5yRc4Pq4PmaCXZcm7jK8qokjk/X+i7DxIZxISXXGhAE4jvBGXF9yEtI8eph6T5wXOvwes+yCWZonIViZ2tF3AKy4iwBOCobxzOLIG/KswH66p7IdsNhNUbKWDZQJWyFh/PMv6+7k+RnuPwh4ydOjcGUiMWYB6K8GOKLnM3aR5gSJH+wOPxMlTafN4xO5Y+A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0V/mlAhWv/q95Q0+AfxasjMmnN9na8bAn4HVSHa/G70=; b=n6cFnCIRVwb3RaikKTz0cE+xTMan8ImhehxmAN5BrDiQqgPpU1urIwz8b4gKXKuBIJ+MsUtLKiOpDhDAAsgxn+SALxuRWkyvECk97nm07NOHxN2VxeNxIvMKiGZOhZRH59OFV562CEz8VHzWQ9MBKZgk4QtKvIn+vFN2CZTqU0I= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by SJ0PR18MB5110.namprd18.prod.outlook.com (2603:10b6:a03:439::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.20; Mon, 18 Apr 2022 19:36:11 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::a0df:8676:6ad2:4338]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::a0df:8676:6ad2:4338%6]) with mapi id 15.20.5164.025; Mon, 18 Apr 2022 19:36:10 +0000 From: Akhil Goyal To: "Gujjar, Abhinandan S" , Volodymyr Fialko , "dev@dpdk.org" , "Jayatheerthan, Jay" , "Vangati, Narender" CC: Jerin Jacob Kollanukkaran , Anoob Joseph Subject: RE: [PATCH 1/2] security: introduce per session event metadata Thread-Topic: [PATCH 1/2] security: introduce per session event metadata Thread-Index: AQHYQDnFfv+VO3bY0UKgR1ETLX3qmKzffiMAgAAR5wCAABDogIAN6FtggAisvlA= Date: Mon, 18 Apr 2022 19:36:10 +0000 Message-ID: References: <20220325111615.1118946-1-vfialko@marvell.com> <20220325111615.1118946-2-vfialko@marvell.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 07053edb-e442-43d2-42c0-08da2172b13d x-ms-traffictypediagnostic: SJ0PR18MB5110:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: WJukf/dmnq4u0FqsV6khrTyjEf8FQpVHAGj7OF96FebH9reVyDnAAyXY2jBpPB+jXdG5vL1isvNMrdkKc6uAdeI+mDtIizxQiPmg9Yf+ZkNfwGLbbZe/TuNRz5bVMXNnfgfrwCJu9IAAWaPgDuxnY+xxF5IyEP6QpFVNc/OVwjjhOJvR3T2ZJpPT4PuJhusmXRMueWfQQTRNVe9soAF1mqb1U7uTVrn8YGS0KeSVq5XpwDOfoAUIdImoOjNPmPpUBXEddRwb4vBDP+jHSKL85Lwfj+WOxDboyuD243RApbVevifmGJtWbD2YRGS68iiI/+FqJ2Bs0Q9YpYXzlQXWXxCDGAlPi34ceUgWa02NYnFkp9yRX8WtW12Hy+Usr+Jk98o3N897huJ2ImtmGVvWR3g0Xbyq/BUeXujZn+UkvclSRP+0EzTifQjOrenL7Ddq3GAGq6j0MS7aRy8QZUI+x7scJ4oANrgb78U7ZTqP08+ld2q2R5ZSwPozVeTwfnILL7+PwNDa+erNyk7mVHoH1Oy+L7JEHqoOsrCWjHfgYX5PT4Jk64aoq5f17QU3csDWu33t/EteBiigDouTnnq9sDKOHBQRLjhXcNSuI14oNSpgKEOY9HoxRMrZVa8B/+sAjtq0Ah+cJWQyTPWZM7aIpTHoxo+g8ZTn+EMP6vIdSYSllWURtVDsv5Qvd4m+vqhgxSlUzv8JNzcxXgARteTZRA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(508600001)(8676002)(64756008)(4326008)(66946007)(38100700002)(66476007)(66446008)(38070700005)(122000001)(76116006)(26005)(83380400001)(86362001)(54906003)(110136005)(316002)(66556008)(71200400001)(7696005)(6506007)(107886003)(55236004)(9686003)(52536014)(15650500001)(186003)(8936002)(55016003)(2906002)(5660300002)(33656002)(4744005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?GF8KXw/4TddbM7A6uO/wvgsLEriJqP1/hmC5EYdwdlxNJECgsa1c+wx9a9uW?= =?us-ascii?Q?TkMw/S7mb8qdqvrcYgMbhVoIpAtwT0SOpposlu71VZABPRtTG3QvzjeJ1hvB?= =?us-ascii?Q?Gaame+yyVvkWgvOwcLokUoFBEJsdAmXJMRVRM0wNd0O8GdX5WfOrZX3prPeU?= =?us-ascii?Q?ui2Qo3LoAmcfnsL42hgg9deHiC4qyM8R1kZS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QvgIlLaiTUQ4X3Lgr3yg/S3w22lDuXvoed11gn6HNeQP+jVHGawZrx?= =?us-ascii?Q?KjKrMXnvLQ7xRhZmqf7ZUboapOofGgzd9SOIHxhb/aq25RmL1e+5YA+u/zvW?= =?us-ascii?Q?CO85BF2B3JmCrDFNjtwkHzV2fX3uX5HjcD6TbhiHwANOCL+K033CuPT+QSpE?= =?us-ascii?Q?duhWskQSW4oKkIDfEFV7qMwp26o2iSLjXhft4psMYLvP787msvoJ8V+75kKM?= =?us-ascii?Q?UUEGG8ZSwn+5/rG/yuIN7k3WfQ4mk/A9wjk3tAPf82hQy7pgEKmJ4gFoYTzd?= =?us-ascii?Q?Oj4yKyHY/8VohR1bJ/Q/fxGrbb6YIrXtXVMJO3G9b414h6m8UX7FwPY6KXrd?= =?us-ascii?Q?qYWmI0kskwevXLM58zTMFxYYIfd5lWtg0qG2VCo5c1mSVwOL+U+j97TfXYfv?= =?us-ascii?Q?Jy3vAeLyyv/X0oMhCSD/HkEiZrth3D6pxxseJF6+j4afub04dO7DMy3apdAB?= =?us-ascii?Q?q0D6DUWeiTrE3WoRfiBta5YS5e1NCq83m1Xu8/5jOhAbXo7a7z1TMKN6UP0Z?= =?us-ascii?Q?UmmeVPsu4uN8Vqg8ZjkCFMFq4VoCDm1y+YSwI+jwH+YADmjHm1sukV53G+l2?= =?us-ascii?Q?30Z8gu6M0bCuRPsLJZKyRiaIAL78e+KVYYJO1dwQu33v509PFY49iSno+zXA?= =?us-ascii?Q?ZNyHB4L+jg=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 07053edb-e442-43d2-42c0-08da2172b13d X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Apr 2022 19:36:10.8979 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: s+OdHBye8odzrKpTDkQwM68oZawUg8eFQoIMJ6/MAG7WufSFHpDJT2ne5SFM4oRyxc7gMKVFgEBc6fwYL5p3lA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR18MB5110 X-Proofpoint-GUID: 1EPRt-FW09dVJq5OcjFtLnIufEsNGU09 X-Proofpoint-ORIG-GUID: 1EPRt-FW09dVJq5OcjFtLnIufEsNGU09 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-04-18_02,2022-04-15_01,2022-02-23_01 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 Hi Abhinandan and others, > We may need to stick to the approach introduced in this patch only. > As if we propose, a new single API for all type of sessions, the driver w= ould need > to > Get the event metadata from the session private data. This is not possibl= e with > Your use case which gets it inside the eventdev library for sw adapter ca= se as it > cannot > Get the session private data without knowing the cdev_id. >=20 > Hence, we will take this patch as is in next release for security session= s(as it is an > ABI break) > And would also introduce a similar change for crypto sessions in next rel= ease. > This way we can get rid of using userdata which is wrong implementation. On another thought, we have posted a new patchset to use event crypto adapt= er. Please review and provide feedback. Thanks, Akhil