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 789D441D8D for ; Mon, 27 Feb 2023 08:14:33 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 74C0340ED6; Mon, 27 Feb 2023 08:14:33 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2079.outbound.protection.outlook.com [40.107.243.79]) by mails.dpdk.org (Postfix) with ESMTP id E48C940A84 for ; Mon, 27 Feb 2023 08:14:31 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jfqd+F3TZpYEKBcCB8y7dHgK1x8BQbxYkaoJvd7nnXGrZIHfAGc2UHrnH61nvLdLZ3yzuNnbmM8zB8FR+Iy0WZEmqbYUw1qgPKNz8gTRXlsLHbt1GKeWSMKASmjgA5hca6auIx4EAFcnwIWtL6yQnZVg+qz1JevXHeezq9WUYcD56GRmtOAJec7BtmqZ0dXftS2ntqFRHeymd8ETXEAzvQZ+d1Sz9D9nletU4U6//4MFdwiNgNGCnWs3JSfCztPsRdJcHn4kFIkV7lqAb7iwAxuDHokuukdV33inJQ75N2QQU+BXoDhmvFneGt9kUwP3rK/j6cOZv6faEhB4eABlUQ== 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=IzEmk7iN6h8svwYrUTLwB19V8JNE41o0diHIsa3DwMA=; b=HKfu4EAgTuwlu/Bf7JDGSvquCiO1LvOaGw0rUgpzi4IEQM/psd/0MlGx1+jrc9j4CCp1tyo+lFjWwhz9+AdbZd8Kb2Jpc61rIbENiLuXyPzssAFTmmZLFpUZqnABWTIkx1akXI/xsYF7Q8l/WcTO8SCdCXkAjWvVquLA3SPoPmjwWDmy33BSrLPw9GQY2sInlm1FSlYmzIUSMUwiQJG+c0XH9oSOl9JdqfgE9cV6QUFlPjSoJ3DtFiC/HNA52XRb806jJvtbN6i8c9loIji+6jUUajOSmGdvxruJhoUiLnnLe380V+3t4pJk/nnfqu1cCDVtEvJHU9a9+Lmz62c0zg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=dpdk.org 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 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=IzEmk7iN6h8svwYrUTLwB19V8JNE41o0diHIsa3DwMA=; b=FxMXuWJcvPP71ImP/3V9KMh03/7UuOX89wqVsrSBXmfIPQ7oNUg5s5gZnmCTjOLHw1d00f61mrCXKINUP5wzqpHPjxA6dGCLWcTlxnMQas/S+x12HKBpRupqc4YHm43FTCXo6Sue9+AKrRGtXe38YClX6TwdmFvPZAhEOAAKw+MtdrSJ8HbhaMKq5LBoxZka7hfI6au0I8iIEmrnVFYrhCHWVDXgM0Xjyf3BlH6aQnNahCEynP5KNQ7uvZ9SmLV6YSGcnVYkOVvu9Dx2VQIYP3Q4ZpJeI73XaFFU18IziyuN9Y15qL3JL0nz5CXPb0QoaxYS0RvlFZI5isaFWo/EhQ== Received: from DM6PR13CA0024.namprd13.prod.outlook.com (2603:10b6:5:bc::37) by CY8PR12MB7433.namprd12.prod.outlook.com (2603:10b6:930:53::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.27; Mon, 27 Feb 2023 07:14:30 +0000 Received: from DM6NAM11FT025.eop-nam11.prod.protection.outlook.com (2603:10b6:5:bc:cafe::b9) by DM6PR13CA0024.outlook.office365.com (2603:10b6:5:bc::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.16 via Frontend Transport; Mon, 27 Feb 2023 07:14:30 +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 DM6NAM11FT025.mail.protection.outlook.com (10.13.172.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.16 via Frontend Transport; Mon, 27 Feb 2023 07:14:30 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) 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.36; Sun, 26 Feb 2023 23:14:20 -0800 Received: from nvidia.com (10.126.230.37) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Sun, 26 Feb 2023 23:14:17 -0800 From: Xueming Li To: Alex Vesker CC: Erez Shitrit , Matan Azrad , "dpdk stable" Subject: patch 'common/mlx5: fix offset of a field' has been queued to stable release 22.11.2 Date: Mon, 27 Feb 2023 15:00:29 +0800 Message-ID: <20230227070107.15664-121-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230227070107.15664-1-xuemingl@nvidia.com> References: <20230227062349.13764-1-xuemingl@nvidia.com> <20230227070107.15664-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.37] X-ClientProxiedBy: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT025:EE_|CY8PR12MB7433:EE_ X-MS-Office365-Filtering-Correlation-Id: 56dd5c7b-362b-45c8-011a-08db189244e8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2xoi55wsaSI/KodCGGrkjfGnb5GyXBSM6cArd6NFCHA0KMUhG/3dOOt2ASIn/fjArxbRPjLiGkf2qJR0Zo+q4QdyN1dOymFuc7/25dGFp+v75ay7+wM+rngigJNPY3Ww576y5m8k+5M0vvYPXw+YGi7WfdHPw3rCJt95FGHTtzyEPnq60U2IIs/JxGH4J8Ts5tlupiqzYl5Jo338jXBoPMLr/mDe605wJDu3b6NoQ5aIp/u2ue8G9lApfvc8fFuQO+imFEuMcaI8xQAjzZ7fye3k+FYx5dg5Ui7doxIPev99pzIap2Ilf/PoIn+9jMlRQcMUj5ukbY1wrgs8GU/fctvp3FR+K+QnIUnhF6/plTDr86TwvGoMVRn0Ehg6xXIj1bgELVO7fMSohnRyKHKsO2RuQSMkXNJgc+fG2kDu5AZq6YgBWvQn7IcA4ksEZeFid/pJ4oUAHEOv0fjWQFZeqFepqPu7zzQut1YEZKL6259oc5FNF98KosxUDQSEUah9E15Liwkp7JdcAwuQZC4GEP1Oq988kGVrnVkDT/xx4nz8RmXt9FgCcXHCdmDiLvU8P3NfyVNrp2FpH+sOe04WPojkyNG8FP8ENaEpIe7e+munUmoNpWD5tZybOusgwSppfrNTbQsM7G3msnnAzLP+fswMQUTM4A31+DzZuiPZvwfhFGmtqeYGIcvIVEcYITSJNYI0nIyr9eJiZeBnvqww6ljK7b+Fj/DEOX0giaQ+64q+mNzVNpDy2/fPKbZ/3Gb+MF+HUyUO49AzY9qxvVtRJzIsSoRxHqNvba6nqEkQp8sSR2boXNpBePmd7OPTBUTG 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:(13230025)(4636009)(376002)(39860400002)(136003)(396003)(346002)(451199018)(36840700001)(40470700004)(46966006)(6862004)(6636002)(7636003)(54906003)(8936002)(316002)(82740400003)(336012)(37006003)(16526019)(8676002)(6286002)(36756003)(186003)(26005)(478600001)(53546011)(82310400005)(40460700003)(356005)(7696005)(966005)(86362001)(1076003)(6666004)(55016003)(2906002)(40480700001)(2616005)(5660300002)(34020700004)(70586007)(70206006)(4326008)(83380400001)(426003)(47076005)(41300700001)(36860700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2023 07:14:30.1841 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 56dd5c7b-362b-45c8-011a-08db189244e8 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: DM6NAM11FT025.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR12MB7433 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 Hi, FYI, your patch has been queued to stable release 22.11.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 03/01/23. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://git.dpdk.org/dpdk-stable/log/?h=22.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/commit/?h=22.11-staging&id=575cfce6a7a8fab4c7c200db67fa521f56e2b70a Thanks. Xueming Li --- >From 575cfce6a7a8fab4c7c200db67fa521f56e2b70a Mon Sep 17 00:00:00 2001 From: Alex Vesker Date: Thu, 8 Dec 2022 13:08:59 +0200 Subject: [PATCH] common/mlx5: fix offset of a field Cc: Xueming Li [ upstream commit d1cbb4063c1c320673435fced7edd5ce6e465d5c ] The offset of format_select_dw_8_6_ext was incorrect. Update the reserved offsets to correct value. Fixes: 365cdf5f8ce7 ("net/mlx5/hws: add command layer") Signed-off-by: Alex Vesker Reviewed-by: Erez Shitrit Acked-by: Matan Azrad --- drivers/common/mlx5/mlx5_prm.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/common/mlx5/mlx5_prm.h b/drivers/common/mlx5/mlx5_prm.h index 6ec5185a7c..3732fd0871 100644 --- a/drivers/common/mlx5/mlx5_prm.h +++ b/drivers/common/mlx5/mlx5_prm.h @@ -2123,10 +2123,11 @@ struct mlx5_ifc_cmd_hca_cap_2_bits { u8 hairpin_sq_wqe_bb_size[0x5]; u8 hairpin_sq_wq_in_host_mem[0x1]; u8 hairpin_data_buffer_locked[0x1]; - u8 reserved_at_16a[0x36]; - u8 reserved_at_1a0[0xb]; + u8 reserved_at_16a[0x16]; + u8 reserved_at_180[0x20]; + u8 reserved_at_1a0[0xa]; u8 format_select_dw_8_6_ext[0x1]; - u8 reserved_at_1ac[0x14]; + u8 reserved_at_1ac[0x15]; u8 general_obj_types_127_64[0x40]; u8 reserved_at_200[0x53]; u8 flow_counter_bulk_log_max_alloc[0x5]; -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-02-27 14:08:44.797006800 +0800 +++ 0122-common-mlx5-fix-offset-of-a-field.patch 2023-02-27 14:08:40.889237000 +0800 @@ -1 +1 @@ -From d1cbb4063c1c320673435fced7edd5ce6e465d5c Mon Sep 17 00:00:00 2001 +From 575cfce6a7a8fab4c7c200db67fa521f56e2b70a Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit d1cbb4063c1c320673435fced7edd5ce6e465d5c ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org