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 E8781A0C46; Tue, 31 Aug 2021 08:52:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D037C406A3; Tue, 31 Aug 2021 08:52:00 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id E0BF44068A for ; Tue, 31 Aug 2021 08:51:59 +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 SMTP id 17V4ZocM031427; Mon, 30 Aug 2021 23:51:56 -0700 Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2104.outbound.protection.outlook.com [104.47.58.104]) by mx0a-0016f401.pphosted.com with ESMTP id 3asdgxgf63-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 30 Aug 2021 23:51:56 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WKi9Qs+TPWWAlzKzilIDTV9xUyLdoyDy12uGTyeeYuTgRMmfbujPJyJrB8/LEXgrkdaBBWH40y7cWCA/6E/n39dHIDl+uVT3XwH+efsq0Wuyt6ft+WnYteqTITchLeoOn+vglN1HjKkYImF8WVx2eQHn1TSlUshZQiApo+eYcxg8g3YN1UqnBFQ7CJgdLeQszkHlq7+FyAkFLbjSmMAwUNTPNrySctWm4lMweiu4m8FZqUyhfyPyIxLLkqXAGLa1inOZopiBeQTC7UxJ8JWbCUtR+iYzGZ11f2Q6VmKAD0DAqwPMgEyV83X4JdWbdfsth/Lwz7pGTFMu4xGPdmSjpA== 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=Mz4SmzfCI1a4pJiGLJdx/5tJPdkPe5oD6fdUx5gb2mw=; b=B6VeYDnK5/agvwi7XQvhIMOQOV7jFib1Yrew3KoVhySdUInAsQCzUpL0N+iK/SMSGd0kRE09ge0oGSYBRr/hDGm24b8Wo+gmV3hskEAzM8I7yOkAtgl8APGWN4wmgwo3Cnbjo24ClcorAkIk1ynOgG5dzS6B1l3qzcanlsO1CK4RAHYNat2sE5Uyym1/BOMlGsbu2vatYhCSuOwgULByi68eYBWv/W4gOSBXt5dsGfRv/aOzJTIFssXSd3ZF63BOLYRWOrHqXUH2q2vvsbYhjnPrkq/suWpgMyFd7GVwvry9IHSw0nP+iqJ22PXPZ5406JfNayptBFi22tI4XQqgPA== 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=Mz4SmzfCI1a4pJiGLJdx/5tJPdkPe5oD6fdUx5gb2mw=; b=Q4neHxuGsrfbSAh5Vu2E7Bvdwjd+whYM1CrIdm9PNrwisuIk5PXg+DYJVX3IOKPEa+vVKGfTY5Ixqnc+iqePb/gJ7vZ5gQfh1KLMWDsBXDIONOA/HatTsM6SsM2yytcygo5w8wY0Bi6cLGlrOugDN/khk4K6ivz5CcRUwnS4xZ8= Received: from PH0PR18MB4425.namprd18.prod.outlook.com (2603:10b6:510:ef::13) by PH0PR18MB4558.namprd18.prod.outlook.com (2603:10b6:510:ac::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.19; Tue, 31 Aug 2021 06:51:54 +0000 Received: from PH0PR18MB4425.namprd18.prod.outlook.com ([fe80::9434:7913:c2dd:8fcd]) by PH0PR18MB4425.namprd18.prod.outlook.com ([fe80::9434:7913:c2dd:8fcd%9]) with mapi id 15.20.4457.024; Tue, 31 Aug 2021 06:51:53 +0000 From: Shijith Thotton To: Akhil Goyal , "dev@dpdk.org" CC: Jerin Jacob Kollanukkaran , Anoob Joseph , Pavan Nikhilesh Bhagavatula , Abhinandan Gujjar , Ray Kinsella , Ankur Dwivedi Thread-Topic: [PATCH v2] eventdev: update crypto adapter metadata structures Thread-Index: AQHXndmaOq12uQPMNUedwCl+RcRtTKuNIYmAgAAL/WA= Date: Tue, 31 Aug 2021 06:51:53 +0000 Message-ID: References: <639b24d9d48612de0dbf430a0dfba8da36a21188.1630352495.git.sthotton@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: 54921b62-14c2-4935-a0bb-08d96c4bd158 x-ms-traffictypediagnostic: PH0PR18MB4558: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: J1dnAX5mSpQSi/CNpk5w9tGmF9Gsk3hfV1aIzMsKT+lnE+WTw4kBLiNCrzB8kDwFwvukf0lfOzdcgrYx8Sxes2ys3rkQxmx694KkcPSRDJ61pAB909GSd19LaUBxVvWEXG5DQNDMyPZQY8ywmalxHbPtbkVdzh3WdfYQxLSnNLGJMArUx6w1iQkdy+wnrlZv1GpI4cYGJ0Rgh+4iMa1kdVmjtI7Dji0noCt3f3J9xkaH2lI0njmoifndESbBWBehz1+T54KAWI2IRHBxMaIx+nYxOgyhnKr1+5wekaXFMy9rqbQmW9Ciw2KfOE7LoVyVpJTPrasoZyHk3IRCKupYqhYrwW/W7B5JaGkQoY6fJbeVPdQ927M+p2T/pkoZHOvb2N0ScQ0FP+AQEFVE58PfpcB4y782pDkEFWa3LQf1reEkuo+/usXh3lZpxpOPiDL6g1v91wpI78j0GmiGNWxJ1ky9PfZeru33rvwa2ZqTkE+L+iAeJCvtSDz4wYzst8DkVp4QIfemG/wG+xyOSGa7gFhyqMAhBinrWJXrvoFSlOongKV4fpI1cRscD2tLaNgw+F4qvkbQeacu93jZvXTQj3Y1B9TAMKZyExZVJpSOT9D3yn/EKYHw/669RTb5lhsh0jtm0EEmtCacpAb0A+7gKcSgShgl/J/v+v9CHUcBi5V4hKXs2FEzAoqPuUzP2Bp+RuZPaT9UGM9pSjd4EozRQA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR18MB4425.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(136003)(366004)(39860400002)(396003)(376002)(33656002)(122000001)(6506007)(9686003)(26005)(7696005)(478600001)(186003)(110136005)(4744005)(66476007)(64756008)(107886003)(8676002)(38070700005)(2906002)(38100700002)(15650500001)(8936002)(4326008)(71200400001)(54906003)(66446008)(66946007)(52536014)(5660300002)(76116006)(66556008)(83380400001)(86362001)(55016002)(316002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?iz2mBTNeraCj6B02GNmOMqN+VwqLVLBdiqvgNR5oN802rhtYqHvmjUjKVFbN?= =?us-ascii?Q?EnGcyLKexeQE+Tn7NQtifV4Xqp7lu0PCEDxOiKf/nQkP0EX8IDHGdB9oRFVz?= =?us-ascii?Q?fqj5f4dM1UDPHr5vDdCXX4502JhpZHj2iYZ8gtob0pl5h1sdeK8Ar3tgMF03?= =?us-ascii?Q?hzpfyVyPqH/Ri9JmEYEkFBhtxJSIt6j6Eyd+z9hRazk95YhI+uyGnorf314o?= =?us-ascii?Q?zlcsuKnx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gsr?= =?us-ascii?Q?cp70lkImV53cpMAFfpPgsMwsazMC+Xku+8zdfvJ6mcsyuJ4XNbY9iHor/FmK?= =?us-ascii?Q?pcpUgwwF9LrN55ENIDx8f5ZdNcTLJH/Pgh18Uxj3Z++9TiOaNOrNNN2vBAfp?= =?us-ascii?Q?fwBhqgzCqww4QWUV6wsTq4hgSQGEWxy7H7QhrpP4LFjPe5Z6AbbSBVEgn/5N?= =?us-ascii?Q?ZGw=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: PH0PR18MB4425.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 54921b62-14c2-4935-a0bb-08d96c4bd158 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Aug 2021 06:51:53.7690 (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: 7IJ7O9ZBd5j2wUUMwYBWXhNEqDWX7I/mOYy/1dHfGRbElvChEcUOpJqP51FEWcZkIF4Xbm5OVgzFx3KhZ0xyuw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR18MB4558 X-Proofpoint-ORIG-GUID: UCnpM9sxL1rWrygAN8-l-dOTsqQHIiaz X-Proofpoint-GUID: UCnpM9sxL1rWrygAN8-l-dOTsqQHIiaz X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-08-31_03,2021-08-30_01,2020-04-07_01 Subject: Re: [dpdk-dev] [PATCH v2] eventdev: update crypto adapter metadata structures 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 Sender: "dev" > >> In crypto adapter metadata, reserved bytes in request info structure is >> a space holder for response info. It enforces an order of operation if >> the structures are updated using memcpy to avoid overwriting response >> info. It is logical to move the reserved space out of request info. It >> also solves the ordering issue mentioned before. >> >> This patch removes the reserve field from request info and makes event >> crypto metadata type to structure from union to make space for response >> info. >> >> App and drivers are updated as per metadata change. >> >> Signed-off-by: Shijith Thotton >> --- >> v2: >> * Updated deprecation notice. >> >Please also update release notes API/ABI section for the changes introduce= d in >this patch. I will send v3 with the changes.