patch 'common/mlx5: fix offset of a field' has been queued to stable release 22.11.2

Xueming Li xuemingl at nvidia.com
Mon Feb 27 08:00:29 CET 2023


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 <xuemingl at nvidia.com>

---
>From 575cfce6a7a8fab4c7c200db67fa521f56e2b70a Mon Sep 17 00:00:00 2001
From: Alex Vesker <valex at nvidia.com>
Date: Thu, 8 Dec 2022 13:08:59 +0200
Subject: [PATCH] common/mlx5: fix offset of a field
Cc: Xueming Li <xuemingl at nvidia.com>

[ 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 <valex at nvidia.com>
Reviewed-by: Erez Shitrit <erezsh at nvidia.com>
Acked-by: Matan Azrad <matan at nvidia.com>
---
 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 <xuemingl at nvidia.com>
+
+[ upstream commit d1cbb4063c1c320673435fced7edd5ce6e465d5c ]
@@ -10 +12,0 @@
-Cc: stable at dpdk.org


More information about the stable mailing list