summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOr Gerlitz2017-06-13 17:12:13 +0200
committerSaeed Mahameed2017-06-22 13:30:14 +0200
commit137ffd15f71ec29ff1a57728081569698591225a (patch)
tree44ccc79d755ce4c6b0458eb0c360f26158e34555
parentnet/mlx5e: IPoIB, Support the flash device ethtool callback (diff)
downloadkernel-qcow2-linux-137ffd15f71ec29ff1a57728081569698591225a.tar.gz
kernel-qcow2-linux-137ffd15f71ec29ff1a57728081569698591225a.tar.xz
kernel-qcow2-linux-137ffd15f71ec29ff1a57728081569698591225a.zip
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: f32f5bd2eb7e ('net/mlx5: Configure cache line size for start and end padding') Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Reported-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
-rw-r--r--include/linux/mlx5/mlx5_ifc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index 8f197b070cea..d6b99d5d0f24 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -824,7 +824,7 @@ struct mlx5_ifc_cmd_hca_cap_bits {
u8 cc_modify_allowed[0x1];
u8 start_pad[0x1];
u8 cache_line_128byte[0x1];
- u8 reserved_at_163[0xb];
+ u8 reserved_at_165[0xb];
u8 gid_table_size[0x10];
u8 out_of_seq_cnt[0x1];