Skip to content

Commit 137ffd1

Browse files
ogerlitzSaeed Mahameed
authored andcommitted
net/mlx5: Fix offset of hca cap reserved field
The offending commit pushed fwd the field by two bits but didn't increment the offset, fix that. Currently, no damage was done b/c this is just a field name, but lets have it right. Fixes: f32f5bd ('net/mlx5: Configure cache line size for start and end padding') Signed-off-by: Or Gerlitz <[email protected]> Reported-by: Saeed Mahameed <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
1 parent e2e086c commit 137ffd1

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
@@ -824,7 +824,7 @@ struct mlx5_ifc_cmd_hca_cap_bits {
824824
u8 cc_modify_allowed[0x1];
825825
u8 start_pad[0x1];
826826
u8 cache_line_128byte[0x1];
827-
u8 reserved_at_163[0xb];
827+
u8 reserved_at_165[0xb];
828828
u8 gid_table_size[0x10];
829829

830830
u8 out_of_seq_cnt[0x1];

0 commit comments

Comments
 (0)