Skip to contentSkip to conversation

net/mlx5/hws: fix incorrect dw_8_6_ext PRM offset

PATCH In review Alex Vesker 3 participants 3 messages Dec 8, 2022 – Dec 21, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/mlx5/hws: fix incorrect dw_8_6_ext PRM offset

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")
---
 drivers/common/mlx5/mlx5_prm.h | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
drivers/common/mlx5/mlx5_prm.h +4 -3
index 2b5c43ee6e..62f39bb413 100644
@@ -2121,10 +2121,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];
Signature · 1 line
2.18.1
#2 lore raw
In reply to Alex Vesker

Hi,

Quoted 10 lines

-----Original Message-----
From: Alex Vesker <[email protected]>
Sent: Thursday, December 8, 2022 1:09 PM
To: Alex Vesker <[email protected]>; Slava Ovsiienko <[email protected]>; NBU-Contact-Thomas Monjalon (EXTERNAL) <[email protected]>; Suanming Mou <[email protected]>; Matan Azrad <[email protected]>
Cc: [email protected]; Ori Kam <[email protected]>
Subject: [PATCH] net/mlx5/hws: fix incorrect dw_8_6_ext PRM offset

Quoted 4 lines

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")

Missing Cc: [email protected]

Added during integration

Quoted 3 lines

---

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh