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 8A01743CA5; Thu, 14 Mar 2024 12:43:20 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 73B1442E9C; Thu, 14 Mar 2024 12:43:20 +0100 (CET) Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02on2062.outbound.protection.outlook.com [40.107.212.62]) by mails.dpdk.org (Postfix) with ESMTP id 12F5340297 for ; Thu, 14 Mar 2024 12:43:09 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ncbB5LPUFO30qxvTDbRbngrVOnLdMIuVzPmz/4rCKKIYZATsDtAdiarSuQiqkKnej0qhZ9xVeMfE4ewhZovGYxdDAWyhT7f+UbKK8dTPi3MVOhpBC91YFKn6zvxq/XRKNB3JQlYeIloSDBDHVE0oAN65BEgJzVgES/rrqfPjwfGfROqDS/z5svt0eIyWvoB0Ho22pT0hrd+gjApW5JS+ssEAcN/Vnk5Q84ZZsLEJLWqFOJiyS+ypuWkymg7YZ15SD3kNKFyIIHbDmJ7SWJf3XW1wb25iegkTJBjJOOM/FzUWJZDMw5pharWlS/eOOb5rFKw9ZHasNYbKtiIv0MrQOw== 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=6MwGpcDESHnRGLgyGJ+OnBEi0nQiB5wKVH2oA2mF8HI=; b=ZtWQRpU5V/cMcocj9er2sZ40GJ4bjN0zRJKrWyN1YfvYgBgiKFwG7czc399XJj3+bJLqG+j14IFz0IBHIu94n92D/dw+7Bn9wgaTxYJc9v6NDiHRh7xFlIMQf0EqFzuIfQDG5OA7BpCXPvmIqv+U0Kl82dudcjn6mpflQY2/7gdSHfeJPfzGXxPqj6sJgOdhrn1FFoUoijXJ9juHXH4VxVPI2b1leQtuUEPEn9xqJTAxVv6wc2EwYXlI3lmj77hOOp/Fi04Bi6IBT9pNvAcHC3R1z7dFMOIYcz6+hzbOHbwpd7LVQgEdeOIC8Sa/9NWXqmuK1A69uD0mdnf5iA3nIg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) 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=6MwGpcDESHnRGLgyGJ+OnBEi0nQiB5wKVH2oA2mF8HI=; b=A3QVuot8QIhuuyaUEIP5pBVk/b7u1bkFm3xHsvpRA2nMitXZsg7oFIQ5KTmPxttBmogOrhhjs+f3bJLW1JPKUiu5iqUpk0p321DKShGzQefYqbbOepLRMkdIO7lLReRo+M7ELS+DdU+VfyKWgp+zDgBykEu/i4s/hUaYaEv1MTlODkEs2LxbyOMTX9KnxEhmsTwB7AxiTILGhUr1fz8h1/24SV7YndWkNSaaGTEHe5idmnsEkT7dk8wFWErRzyh5+7KCH68DodbcpQPVbJCKfHpVy58sgojvebbC2xqBAQQCqeSaPS+61//IMjX7pLj6AUIEifvh7JIDMKqEaB1xZA== Received: from DM6PR05CA0060.namprd05.prod.outlook.com (2603:10b6:5:335::29) by DS7PR12MB5838.namprd12.prod.outlook.com (2603:10b6:8:79::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.18; Thu, 14 Mar 2024 11:43:06 +0000 Received: from CY4PEPF0000E9D7.namprd05.prod.outlook.com (2603:10b6:5:335:cafe::62) by DM6PR05CA0060.outlook.office365.com (2603:10b6:5:335::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.20 via Frontend Transport; Thu, 14 Mar 2024 11:43:05 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) 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.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by CY4PEPF0000E9D7.mail.protection.outlook.com (10.167.241.78) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.12 via Frontend Transport; Thu, 14 Mar 2024 11:43:05 +0000 Received: from rnnvmail204.nvidia.com (10.129.68.6) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Thu, 14 Mar 2024 04:42:51 -0700 Received: from rnnvmail204.nvidia.com (10.129.68.6) by rnnvmail204.nvidia.com (10.129.68.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.12; Thu, 14 Mar 2024 04:42:50 -0700 Received: from nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.12 via Frontend Transport; Thu, 14 Mar 2024 04:42:47 -0700 From: Itamar Gozlan To: , , , , , , , Dariusz Sosnowski , Ori Kam , Suanming Mou , Matan Azrad CC: , Subject: [PATCH 02/13] common/mlx5: fix error in mlx5 prm structs Date: Thu, 14 Mar 2024 13:42:09 +0200 Message-ID: <20240314114220.203241-2-igozlan@nvidia.com> X-Mailer: git-send-email 2.39.3 In-Reply-To: <20240314114220.203241-1-igozlan@nvidia.com> References: <20240314114220.203241-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: CY4PEPF0000E9D7:EE_|DS7PR12MB5838:EE_ X-MS-Office365-Filtering-Correlation-Id: 5a44cb1f-3936-41a6-b5e1-08dc441be98e 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; X-Microsoft-Antispam-Message-Info: AXm2uqiKIGuwOjFLWzJvMG22j/Hwasbv+xqijP0cRGXk6XJ3mhSYyUzp2KixX2yxG+THue7Si3MPl+F//yIDpr6UI5yb1g4Oo4nkpuw12dZT/PaGnjwRntiiJrKRoH15OQk6C3urLIkpF2Lifrf84+K29Caztj8wj2SS2RB7zxkvueHvSqF7Ss0lKCNZ9nEjhz/FIkc3nxLhb74+2RFj/aYuiSvsw3K8kvmNBbik2kK/DIx9OLhw/ALaqY18ZB8YBcV9qfxmOM0CbncXndY8JS2wJo4U4/fVxXLqEy5++mgR87OlTwF1UJe7EAP/5SxUojGJgv1TidgnaXUkqQ8+egdpeaGAGCTc1yXeucHME6lHZP5erbj9W38yk4wUoU/W8jnq/S0bkwXm4HvcihOcT8iq4cweJMpUFCVGLQKTkJDCNMcLpJTSwIZmfRd3pF9VQ2+/Rf3mXybIRoAfxZ8N9FyP+2KuPMQB/869P6DbZcWF9hjJzJ37dVabN1CxZhMSrbcFePROt3W/8Y1s2SeyODtrtIBpS+YB0DWytEw27gYpo+NfJMfGHZ/T0RVpdP8TykPfiiFMzA1V0s3mXQKP7ev+YXeU6bNvAcnoRzzqOWV6vYOtYFkegC6OOxsbHYCWbU+kmJ7i1Op8kst2JSbhw1efEuAsUa/A/3cPjWDxEon03atUpFAGphaEPTxujLafBbWABbr5MN0HNNbiuAcHBYzXpGFKtsCP1oQRKs07T4N5SwrZHyus2lMARqM27Z9e9rB335bA8YjFHdscxgpitw== X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230031)(82310400014)(1800799015)(36860700004)(376005)(921011); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Mar 2024 11:43:05.2080 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5a44cb1f-3936-41a6-b5e1-08dc441be98e X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000E9D7.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB5838 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 From: Yevgeny Kliteynik Fix wrong reserved size and add helpful comment Fixes: 365cdf5f8ce ("net/mlx5/hws: add command layer") 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