Commit 137ffd15 authored by Or Gerlitz's avatar Or Gerlitz Committed by Saeed Mahameed

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: f32f5bd2 ('net/mlx5: Configure cache line size for start and end padding')
Signed-off-by: default avatarOr Gerlitz <ogerlitz@mellanox.com>
Reported-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
parent e2e086c1
...@@ -824,7 +824,7 @@ struct mlx5_ifc_cmd_hca_cap_bits { ...@@ -824,7 +824,7 @@ struct mlx5_ifc_cmd_hca_cap_bits {
u8 cc_modify_allowed[0x1]; u8 cc_modify_allowed[0x1];
u8 start_pad[0x1]; u8 start_pad[0x1];
u8 cache_line_128byte[0x1]; u8 cache_line_128byte[0x1];
u8 reserved_at_163[0xb]; u8 reserved_at_165[0xb];
u8 gid_table_size[0x10]; u8 gid_table_size[0x10];
u8 out_of_seq_cnt[0x1]; u8 out_of_seq_cnt[0x1];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment