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 0C5FA4611C; Fri, 24 Jan 2025 08:20:33 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 771C840E1B; Fri, 24 Jan 2025 08:20:32 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 54E8040E15 for ; Fri, 24 Jan 2025 08:20:30 +0100 (CET) Received: from pps.filterd (m0431383.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 50O6Rr6J024550 for ; Thu, 23 Jan 2025 23:20:29 -0800 Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2046.outbound.protection.outlook.com [104.47.55.46]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 44c5m7r2mw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 23 Jan 2025 23:20:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=JaeJ6BciPYXzP37pOar2N6sV/CPxNhqske5kWy+nNxhJS07vr2pDA3EfIAw/cKhdSwrWnGuh5nt1RqOjjFjHw7AkDIiQCFSslBcCYpbEo3WQb0bFcAWs/hUAyviB7SMiZTKAZPfCA+4ASTx2AsuSyScSY1tlLkLJvTNZb/mrjGtfDqCtuve+LAGdmyBW7XzeSnVYlHwXqmImbmWVw95v/4q7NpHL4BClFPLiXXTw4UELSq52WG9b9afGfQY7cyTkPYVqBndYjMPpj9bPGkjX5Y1w0XD2tc+7nKS7BDcgWg720a+iLwjZ72bhvvniHryBQV9BmBVWQJwSd20JYJ4btQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=rDhYFcDO8wvYH8nOwctp9TlIHyePJw5G7svHRAjvuQA=; b=cq0rW7aB1WBWWpRmGZUaKoHfO6wb34iAa16pp1WbAz2iKUpZKhUmgnm0lXzmEOGkYKmdwgx9ZPAypIa8WvVF8MRL+YkZTBUOMk80k521R2HTmm3Nr0uHTlUpIjjVsW6hyRf6qYqjV5gPoOv150D+yG11gzKWDNgvEooDY2oygWPl+vCmHS+WESNSBIf9QQPGO90Tif+0mnHuaDGmJyOtqBkQY6cxJqGFuSJNTF/E6Ttk0jLG5AqSt2jbqQN5lrECdOKfp9nnq9gf9FwOUhOZXUKNK5/VCojYYuZxdNSjdlQTHCyXDizULIRIkfXHosOwrxMdUTAU0rVVbX2fvTi+sw== 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.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rDhYFcDO8wvYH8nOwctp9TlIHyePJw5G7svHRAjvuQA=; b=MdAZtIX2Mf9a5IR4IjnHYE7N10xR+lXTikh/rzsevmed4ZCh4Chg30ewxq8RE4xnGF7UjS/RoU1iDf9NzjW6Ig/Fv/hFOITa9YPkFeRhg7kdFlJmogEhsQ+DXvcsOu+nLQHIvkR/nEgtcxVT9KmHhnetTjrT9Q3sD9y+3wrhT2Y= Received: from SA1PR18MB4789.namprd18.prod.outlook.com (2603:10b6:806:1dc::7) by MN0PR18MB5900.namprd18.prod.outlook.com (2603:10b6:208:4c0::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8377.17; Fri, 24 Jan 2025 07:20:27 +0000 Received: from SA1PR18MB4789.namprd18.prod.outlook.com ([fe80::f565:7807:9b12:2727]) by SA1PR18MB4789.namprd18.prod.outlook.com ([fe80::f565:7807:9b12:2727%7]) with mapi id 15.20.8356.020; Fri, 24 Jan 2025 07:20:26 +0000 From: Jerin Jacob To: Vamsi Krishna Attunuru , "dev@dpdk.org" CC: Vamsi Krishna Attunuru Subject: RE: [PATCH v0 1/1] common/cnxk: fix DPI mailbox structure Thread-Topic: [PATCH v0 1/1] common/cnxk: fix DPI mailbox structure Thread-Index: AQHbZ0zbFhcMPWY0YEOD/X0Wl4/AfrMlkhkg Date: Fri, 24 Jan 2025 07:20:26 +0000 Message-ID: References: <20250115123654.1490937-1-vattunuru@marvell.com> In-Reply-To: <20250115123654.1490937-1-vattunuru@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SA1PR18MB4789:EE_|MN0PR18MB5900:EE_ x-ms-office365-filtering-correlation-id: e6e82a7c-991f-475c-8e24-08dd3c47933a x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|376014|1800799024|38070700018|7053199007; x-microsoft-antispam-message-info: =?us-ascii?Q?DpLoHVK2alBjNsz/zavcgysbZjQaCeP8of0PR/JeVRstkuhwKgQOAaUWlI6x?= =?us-ascii?Q?44+r1bWS5BWmtsgzA0omUoG/fVTM1R4L+2YRSGD4dGKKKwNxDd3F4/nGDCpQ?= =?us-ascii?Q?PPrrrfi3+olsIcBkjlAaruX063EkyRrDb+/wnnzOkeZ2e1l6IpNZz+5PNnW6?= =?us-ascii?Q?ix5f96um65osfIndfuvjz0VRKGuCZCTBcLBiLJOwOVCNBOITXnxdZUQ3MHu1?= =?us-ascii?Q?+0I7nEBil7fZcD+ikigKCZXl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sdQSO6CmPgoDOLJU4wDJoiLwE/kFsKEOJQyowp68fcz/zgNHGOzknSR2Y6fM?= =?us-ascii?Q?CYnTQwLWGZAhxtliFtZLdPolEK7V/BGNWXajhV/cE2EQOT51Hfpx/B4+Y75u?= =?us-ascii?Q?uLdGTrxdpebT3NNMfOPMHHlHZ26jQgXLDduFHyE5/KcCoJWJ0MZQI8c8x3NY?= =?us-ascii?Q?6Bd5y8MrGuj5oXrSYj4WzyPkHgfUTdtnsMFBfU4YlLCCZIEakt2Q5lja6GcW?= =?us-ascii?Q?0ieza4Vey7Ym4WH6BPeGPU/5Sde8pU/AFL0Ze7bbI80eOuiwKVwnACaYl3eQ?= =?us-ascii?Q?8vuP+SE9MjHIpC861M85CZgvVL3XMABG?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA1PR18MB4789.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(376014)(1800799024)(38070700018)(7053199007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?e+X+hBK2pZ+4QbY//cQXnqN6aJ0EiEjd5TsaQeKK58ampzpNc5ojpKu5mejp?= =?us-ascii?Q?569kU6V2P7OsGWTHZSvaJRrzJPlH18AD4jJWHgKTaAYh2NGu35RiUJx19NYC?= =?us-ascii?Q?7B3At8QK0pG8I2qA8l4WBV1zXJDJ8uKjX1mzN9DTh+Uc4MnuYp1UNkMYIl3C?= =?us-ascii?Q?yeQyIJnzxTyqXRUVJhj0eMydBPvRCpkranDVcEngI1r6bBY7efbmsieWSd7Q?= =?us-ascii?Q?2hDexfB9jCqFGtSw5u3ZAeGFUYjk0iM5ZLK/5SaReh5miVbTHW/73kjeSVuC?= =?us-ascii?Q?XCyshs5i3UyJi5//z1FW1zitccXbYbKa+uZAj1r4vo7B6eS2/YGtY3Gtoz9V?= =?us-ascii?Q?9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XSv6lmLABC7jhciITCmx/Ic1Ryui?= =?us-ascii?Q?+eePfzjIlgbe27ZUPD3zc60rxRg11Mi2igJWkcD6AyQ/GhZ+zeNLW3KIyDxJ?= =?us-ascii?Q?PsibtYrAyZv9vTTmxLaZkLnBs395LjRFQ+4YPWEKU72DeVyLzhR6dcJnarM4?= =?us-ascii?Q?Fmt6IyGYO1OC1Xj82VsMqX/O78U0ssU7t0w6wASDJX0oxrXtLrENmwKLHp9k?= =?us-ascii?Q?UWLE7RRZk/OUMeO1RCMkUyvLq5mjrWUdjZajWXU48aWpWQhk7SwGfYgOz8t5?= =?us-ascii?Q?neK9R7u4sJW1NhC8ebYrOwy1mrHhFDprl+iyLGmrj67o+vMYDfm7feY+Bprc?= =?us-ascii?Q?4B7X9hrGyoq/e4tpVQYyOdiUi6+kRWEywbjfCZ3m?= 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: SA1PR18MB4789.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e6e82a7c-991f-475c-8e24-08dd3c47933a X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jan 2025 07:20:26.6765 (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: ZW6GWaCgZRn6a24flKWp+21fw55T/N3As0bU3Eytdjw8MI0bSbDrMD9dpaOcBOoLS97xtDofiXwNg1aSIze1Yw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR18MB5900 X-Proofpoint-ORIG-GUID: SjqB0tMnS-e5lDLSIifoOw_PJhDr6oVC X-Proofpoint-GUID: SjqB0tMnS-e5lDLSIifoOw_PJhDr6oVC X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-01-24_02,2025-01-23_01,2024-11-22_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 > -----Original Message----- > From: Vamsi Krishna > Sent: Wednesday, January 15, 2025 6:07 PM > To: dev@dpdk.org > Cc: Jerin Jacob ; Vamsi Krishna Attunuru > > Subject: [PATCH v0 1/1] common/cnxk: fix DPI mailbox structure >=20 > From: Vamsi Attunuru >=20 > In the existing DPI mailbox structure, one of the fields spans a 64-bit b= oundary, > making it appear unusual and complicatng extraction using bit operations. >=20 > Patch enlarges csize fields to ensure that mailbox fields are correctly p= ositioned. >=20 > Fixes: b6e395692b6d ("common/cnxk: add DPI DMA support") >=20 > Signed-off-by: Vamsi Attunuru Applied to dpdk-next-net-mrvl/for-main. Thanks > --- > drivers/common/cnxk/roc_dpi_priv.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/common/cnxk/roc_dpi_priv.h > b/drivers/common/cnxk/roc_dpi_priv.h > index 1f975915f7..05b6751ca6 100644 > --- a/drivers/common/cnxk/roc_dpi_priv.h > +++ b/drivers/common/cnxk/roc_dpi_priv.h > @@ -27,7 +27,7 @@ typedef union dpi_mbox_msg_t { > /* Command code */ > uint64_t cmd : 4; > /* Command buffer size in 8-byte words */ > - uint64_t csize : 14; > + uint64_t csize : 16; > /* aura of the command buffer */ > uint64_t aura : 20; > /* SSO PF function */ > -- > 2.34.1