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 A371F43FB4 for ; Mon, 6 May 2024 13:44:51 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 594FE402EB; Mon, 6 May 2024 13:44:49 +0200 (CEST) Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02on2069.outbound.protection.outlook.com [40.107.212.69]) by mails.dpdk.org (Postfix) with ESMTP id 1D5C0402E1; Mon, 6 May 2024 13:44:46 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ACkbuk7RJfUEDn9ID2i1TzlckR72mIDbxqSSrHfwx2SrZ+iaXD7yYganfVH3aI1iBd37dEl9JfvYO+Q9WVGWbMsF6jS/h5E7xgRClmFNn3dZxSI9NyeQddDq/ejglFxvqqr/ObouT5+LNH1sRxUUk/si8qQSzXaYdW4nQxGg82bYeUZcWeCzThsO+3KgywervNxO68NhlHzL9jEMjNoezhkriMKIJfI7bpiUfnNJVJglwfeK0TNPpC5zrauoZlb1DZcw3Vm/8sIYISR0fY8AZMiASvT/qyyKzB2upFtuwxOzXhJXzc/JzsAj38R9ZDiDjMpJScTMtFPib9OSesYi/A== 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=ZhRdSC9cbjyqAFGbKxTmqmF0N5GTl+NuoD/SISivetI=; b=XwZPNP3FrspFM6tWS7S2/LKBTV4pmnRYxbBny6NwGUagmcGR2jiLRSmGFj94u5ALXC3mqzLti8Eh/sPy75snHUHHHGfDjSZhJQKytTScn5S8R6axVGl/usdRoTtXiOJTXlux1pQjpincrn0NpjhspPyQapq//V5LMsnU0NymRQqh+592/32PYb1tcdlxSldiKrp85pmnfZ6T+NgVY3Z/d6SnZgCy5/qiGpTf/XzYkFn7cRB5qASnW2mFYcLjLF47WIc5PK5chdwCE/siwiPQBt9zFZY757eUyRZioLoEbHAs2XzIZoACHGuZFfb9d4tAcwlsuz/mmvWe0PK8kHMk8g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.233) smtp.rcpttodomain=monjalon.net smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZhRdSC9cbjyqAFGbKxTmqmF0N5GTl+NuoD/SISivetI=; b=O0D3b1kY5cTqF0P5Cwvts0pqhBRRKUHwIZ/EiPS321FPhBiMYlSIkLdhPTpPGmxMuKY3mSPXrbmZptZwImvumbc6bl0/K7bX8dHcAqEC/GMPMYA1coonOKtrkxcdTQL9a/5rIGu7rQd8jFFFYK2iss8p8w1S2h+AjNZev/z2q1i/LFPwdYTN1pzW6zz15FzBOiTXNRsiEAmZTUEur1wQaFdkeT9bttfK+Rb9UGFUBOLL9yDw7dGBCcLcOtKR1KjwpnTgtxvxWm9soFP3TFLJnxvXDNjSiEsTKwiAQeXPNz3hS3T2+S3dRkfPEo3f9Ivd3gs7SexpfpeqGedBzYPfGQ== Received: from PH0PR07CA0023.namprd07.prod.outlook.com (2603:10b6:510:5::28) by IA1PR12MB8538.namprd12.prod.outlook.com (2603:10b6:208:455::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.41; Mon, 6 May 2024 11:44:41 +0000 Received: from CY4PEPF0000E9D5.namprd05.prod.outlook.com (2603:10b6:510:5:cafe::d6) by PH0PR07CA0023.outlook.office365.com (2603:10b6:510:5::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.42 via Frontend Transport; Mon, 6 May 2024 11:44:41 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.233) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.118.233 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.233; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.233) by CY4PEPF0000E9D5.mail.protection.outlook.com (10.167.241.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.18 via Frontend Transport; Mon, 6 May 2024 11:44:41 +0000 Received: from drhqmail202.nvidia.com (10.126.190.181) by mail.nvidia.com (10.127.129.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 6 May 2024 04:44:33 -0700 Received: from drhqmail203.nvidia.com (10.126.190.182) by drhqmail202.nvidia.com (10.126.190.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 6 May 2024 04:44:33 -0700 Received: from nvidia.com (10.127.8.12) by mail.nvidia.com (10.126.190.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4 via Frontend Transport; Mon, 6 May 2024 04:44:29 -0700 From: Itamar Gozlan To: , , , , , , , Dariusz Sosnowski , Ori Kam , Matan Azrad , Alex Vesker CC: , Subject: [v2 02/16] common/mlx5: fix error in mlx5 prm structs Date: Mon, 6 May 2024 14:44:05 +0300 Message-ID: <20240506114419.966498-2-igozlan@nvidia.com> X-Mailer: git-send-email 2.39.3 In-Reply-To: <20240506114419.966498-1-igozlan@nvidia.com> References: <20240314114220.203241-1-igozlan@nvidia.com> <20240506114419.966498-1-igozlan@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000E9D5:EE_|IA1PR12MB8538:EE_ X-MS-Office365-Filtering-Correlation-Id: aaa1b9b4-8275-4eaa-ff8a-08dc6dc1ea9e X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230031|1800799015|82310400017|376005|36860700004|921011; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?DpbsBOcwZoXlna56U7cL1AgR/9njX5R+eLKc2Y5FhILPTnI+tctZcYPnIPp7?= =?us-ascii?Q?1LwVtURIWRWBp+jtw5bvXOmmK5/PMjF07rx36gW8lF+/bM8A3YUHF9IulxlQ?= =?us-ascii?Q?9PYLQ/XeK50gIAwQNXBYclzXgOGU7wMNbb4pc+AMymMGm72tcBdWvcBurDGR?= =?us-ascii?Q?WNxj6+JaY3WwX++NXijCCZ4G8y38PAyrJCnNm00/mlVFBtEDp5XMds3UlG/+?= =?us-ascii?Q?CB6FOl53PJt/Fyj1/tvBYlC9gPrOO8PDop4W3h7UkEGkgeN2Tk8pi7eGixM+?= =?us-ascii?Q?RUCebUd89/nd4H6n+lthiHKKIzV8wXbClr0UJLYj5qXU1RptH73tp6g/C11O?= =?us-ascii?Q?WHFxmvWyppKkZ/PjcfI7muFbph6V507LQLytq4IvySTwbpU5A6E+gdYQQTWS?= =?us-ascii?Q?CHE4lGCx2+HWRv+nQYpLKZa/J41xOtHUYuZ7pXczWCpS9Wxp/M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GU3p1NGnUKIWnEYZLMxRYc6gJm5Hk1tILjDzCGtFIPzQ?= =?us-ascii?Q?qFgIkp59q1FMtoNSFGZu0C2Dp6c5?= X-Forefront-Antispam-Report: CIP:216.228.118.233; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc7edge2.nvidia.com; CAT:NONE; SFS:(13230031)(1800799015)(82310400017)(376005)(36860700004)(921011); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 May 2024 11:44:41.1547 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: aaa1b9b4-8275-4eaa-ff8a-08dc6dc1ea9e X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.118.233]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000E9D5.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB8538 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org From: Yevgeny Kliteynik Fix wrong reserved size and add helpful comment Fixes: 365cdf5f8ce7 ("net/mlx5/hws: add command layer") Cc: stable@dpdk.org Signed-off-by: Yevgeny Kliteynik Acked-by: Matan Azrad --- drivers/common/mlx5/mlx5_prm.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/common/mlx5/mlx5_prm.h b/drivers/common/mlx5/mlx5_prm.h index c671c75bfd..c6846cdb7e 100644 --- a/drivers/common/mlx5/mlx5_prm.h +++ b/drivers/common/mlx5/mlx5_prm.h @@ -2360,8 +2360,8 @@ struct mlx5_ifc_cmd_hca_cap_2_bits { u8 reserved_at_d0[0x3]; u8 log_conn_track_max_alloc[0x5]; u8 reserved_at_d8[0x3]; - u8 log_max_conn_track_offload[0x5]; - u8 cross_vhca_object_to_object_supported[0x20]; /* End of DW7. */ + u8 log_max_conn_track_offload[0x5]; /* End of DW7. */ + u8 cross_vhca_object_to_object_supported[0x20]; u8 allowed_object_for_other_vhca_access_high[0x20]; u8 allowed_object_for_other_vhca_access[0x20]; u8 reserved_at_140[0x20]; @@ -3655,7 +3655,7 @@ struct mlx5_ifc_stc_ste_param_vport_bits { u8 eswitch_owner_vhca_id[0x10]; u8 vport_number[0x10]; u8 eswitch_owner_vhca_id_valid[0x1]; - u8 reserved_at_21[0x59]; + u8 reserved_at_21[0x5f]; }; union mlx5_ifc_stc_param_bits { -- 2.39.3