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 1D2F1A0C4D; Tue, 31 Aug 2021 06:00:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DECF2410D8; Tue, 31 Aug 2021 06:00:23 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id D7042406A2 for ; Tue, 31 Aug 2021 06:00:22 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 17UNTq6l017221; Mon, 30 Aug 2021 21:00:18 -0700 Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2171.outbound.protection.outlook.com [104.47.56.171]) by mx0b-0016f401.pphosted.com with ESMTP id 3as92bgpje-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 30 Aug 2021 21:00:18 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VNoCwwhdGbVBeDQiHQ2dyUF+oR/JSUMaQ7tN/fES9IxRgxpJ86fpYHhystCUwru0Lqu7FJlS92GkyvQrHVXF79+aRVcQ1jU4MdrwHLI1+cF9oAcLV1Bhh5YV5zG8Oi00ke0Y88LFErXuvITarg2EpNobn3PZZwODw1ws5G08YTmoLdvJEvB/Nf3sAx4B4l4CdAkZ8ofbqgtnD4v3hRnwRBKXHzwvF1HAv7s2bxKQYuESBRjV2YGsrcRJj4pjzVa0FptxYISbi8wh3D0B5VNDBFtAUV5yHss6ky7VpFwTgDcZUnW8tbnfEqQ4ODPfOA2GCYOpuENFLE9QRiGUZLYHzw== 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=xZMj5J5Bc3qBmhgYfk/KZ6NW1YZ+HZG478pQ2M3e9uI=; b=Wkc356bjVh+lTjVcUWb+6prh5w22Dm6zknnzJwpZnjYh4QgzDS8w4fZ+tYmODrBcAQ9RjP7q2M0pcGSee/AdUVvM+vlCpgUFqC8M6BG6Uwh1CzY/6bAqmJVgu+mW5daM3ZeVGPh9udWrKksDZaW36I2iY8K/URvC6cCDYY3bZ20n919OmMxBlJWnB2wk5y3yk/81eURl4Yhvx8hNrWq1hWwM0ePKIvoeGgmOCqG4eMoqpFOgP4QFZWlWlDSTfbRPWRBuTl/PI01csYN2UosAE11+dn5RTHAkCa+KwhI6BaSJFIYKQiyGoywbZdWDma1hXyjABiG3ulfplF66UdCyTQ== 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=xZMj5J5Bc3qBmhgYfk/KZ6NW1YZ+HZG478pQ2M3e9uI=; b=fqoOT9q9xdWp5H+8dJau2xORj209mPwAV5vcl+p5At7vfL9Au8Kbq2kd/XLCxeF0gtNRuAJdLj+Vp3Dfiu4JeEoiw96wErGcKuwFOYJwqUODSJNaXzJcCU8aUu7rUMV2NXD1uCMpjmu3a1rK66uh/Ph8sulV8hOhgOHm3lJPkVs= Received: from PH0PR18MB4672.namprd18.prod.outlook.com (2603:10b6:510:c9::16) by PH0PR18MB4557.namprd18.prod.outlook.com (2603:10b6:510:a6::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.18; Tue, 31 Aug 2021 04:00:13 +0000 Received: from PH0PR18MB4672.namprd18.prod.outlook.com ([fe80::85aa:3d01:94f6:984]) by PH0PR18MB4672.namprd18.prod.outlook.com ([fe80::85aa:3d01:94f6:984%4]) with mapi id 15.20.4457.024; Tue, 31 Aug 2021 04:00:13 +0000 From: Anoob Joseph To: Shijith Thotton , "dev@dpdk.org" CC: Shijith Thotton , Jerin Jacob Kollanukkaran , Pavan Nikhilesh Bhagavatula , Akhil Goyal , Abhinandan Gujjar , Ray Kinsella , Ankur Dwivedi Thread-Topic: [PATCH v2] eventdev: update crypto adapter metadata structures Thread-Index: AQHXndmab6Gl5F8RC06AqRDVyOOvUquM/W6A Date: Tue, 31 Aug 2021 04:00:13 +0000 Message-ID: References: <639b24d9d48612de0dbf430a0dfba8da36a21188.1630352495.git.sthotton@marvell.com> In-Reply-To: Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 174b2ff1-bc0d-4645-3035-08d96c33d590 x-ms-traffictypediagnostic: PH0PR18MB4557: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: K/lU3y79XIP5TVwEvexZ0ccftQq+Nx0pP9xsjoEMDfYxO1fL2d8zEXRZZsIdUPqMhQoDM8KUK8POpaQhApePjrSDrBP3zmOKrjywWCI+DeVKUiJVhpHnJO8pUxFE8yLfc0voAs9m5HKMYDFAVPiDiOSaFx71VOqK6wxupxm2Uzvc/MudK/9osbK6CzhAo2TIkWGJqyx9/PfgXX1OpPqZRCfFUOrgjfSS5rmE6JXMmL4zfYizUkcTQJhnlSXECBJ96Bh+ltl25o1RZf7usKXOaxQJcYJGsFf5vhCVMS4+Hp3JubGV4jzA/NELiVeNqqFu4ix4SOklpeyAV928Wk0qBhsrexEQOjIqp6pmzBxK6iZ25FpaLHSFWHbA7egQzfZdRkwnxwpiilR0HYuAgA3rF1pZhNaPRSBc1shX5JS1RsqCUnh1vSW1W0a89stpkCO2S79aURNccokm+YZMTSIzSmpHYxUUxH/7cagQcC+4Gnpvj0YK+B+5EnwhP/POPCxP5bioU5KwB9EpAcRanCXlrLwP0Fnr6X6eMpzs+UrYeVRXa6ILP9r8FVTa4cK+1sKhfCQq8QErj69VCTfYCHKvTJH2yN5NoJ8UF153QPLFotf8LAzkL+gtU1HDAWG4PyOwNlXIj0NnzuhLsSD9S7YTxbF8WMmgOnmWWJh46FaS66r4EJKD5gJOqxEi82PKL2E8XICSB0kYGNCIPJOHqm45BA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR18MB4672.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(5660300002)(2906002)(83380400001)(186003)(508600001)(107886003)(122000001)(86362001)(38100700002)(71200400001)(4326008)(4744005)(26005)(9686003)(66946007)(38070700005)(7696005)(66556008)(8936002)(66446008)(55016002)(33656002)(15650500001)(64756008)(66476007)(54906003)(8676002)(76116006)(6506007)(110136005)(52536014)(316002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?hE8wxt+wZNh+rjnFGta3/GryIHYxamlYQ8ycD4y4mQUKYKxnC0S3GLTlP0NQ?= =?us-ascii?Q?EORd08H0H6hF1YN3yzBd5UPGt+X2VnmyeQ81wSCUUgBQvU6DNHH7OjXWPSsv?= =?us-ascii?Q?6K+E3nTGNzo6MnmzLAX67or8VOHV6Fr8qj0Wz6CHd8SFbajxqfwhHsvBVzJc?= =?us-ascii?Q?3AicVkwzqB9dvCFjOzzTzlXbXZGy9LW3mLud7cx/OUrkYy8YVbsxmPigud45?= =?us-ascii?Q?JpVLRquQr61QRom3nIe7u+G6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q?+Z/n2taErH+3aL1ZelStUlu6a8JB5u6+hcFDuG62oi+Hx1cjQImqJAYCGP1X?= =?us-ascii?Q?9tzWlZJnp6zYDflmpTgRsfQUK1whKXWuf5Z280NYj8jNhD7FDXplDryvxCer?= =?us-ascii?Q?TKWpDrjISxTnQjEUCPOZGCuRw5x6X+1zG6nI79Ck3qnqT0n7gukrdSzpDjx+?= =?us-ascii?Q?nDo2/M/IuU3DrbRXhokDmcPV?= 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: PH0PR18MB4672.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 174b2ff1-bc0d-4645-3035-08d96c33d590 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Aug 2021 04:00:13.0430 (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: d5zkB4kaoW9kxFH+SbA4xvAEllfS1Rvc79GV7DztPI4odZQjYf3LrddwTHbEcdSz/bzhj8biUyZUNWdxSSl7jA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR18MB4557 X-Proofpoint-ORIG-GUID: nFCtxnKtkezwSH7VO5qz81jCbh3EaZRt X-Proofpoint-GUID: nFCtxnKtkezwSH7VO5qz81jCbh3EaZRt 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-30_06,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" >=20 > 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 struct= ures 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. >=20 > This patch removes the reserve field from request info and makes event cr= ypto > metadata type to structure from union to make space for response info. >=20 > App and drivers are updated as per metadata change. >=20 > Signed-off-by: Shijith Thotton Acked-by: Anoob Joseph