Skip to content

Commit 19da170

Browse files
kliteynSaeed Mahameed
authored andcommitted
net/mlx5: Fix wrong reserved field in hca_cap_2 in mlx5_ifc
Fixing the wrong size of a field in hca_cap_2. The bug was introduced by adding new fields for HWS and not fixing the reserved field size. Fixes: 34c626c ("net/mlx5: Added missing mlx5_ifc definition for HW Steering") Signed-off-by: Yevgeny Kliteynik <[email protected]> Reviewed-by: Tariq Toukan <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
1 parent f25389e commit 19da170

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/mlx5/mlx5_ifc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2115,7 +2115,7 @@ struct mlx5_ifc_cmd_hca_cap_2_bits {
21152115
u8 ts_cqe_metadata_size2wqe_counter[0x5];
21162116
u8 reserved_at_250[0x10];
21172117

2118-
u8 reserved_at_260[0x120];
2118+
u8 reserved_at_260[0x20];
21192119

21202120
u8 format_select_dw_gtpu_dw_0[0x8];
21212121
u8 format_select_dw_gtpu_dw_1[0x8];

0 commit comments

Comments
 (0)