net/mlx5: Fix mlx5 ifc cmd_hca_cap bad offsets
authorTariq Toukan <tariqt@mellanox.com>
Mon, 11 Apr 2016 20:10:21 +0000 (23:10 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Apr 2016 21:21:09 +0000 (17:21 -0400)
commite1c9c62b9a3a761b56359a7437215ae2e9253821
tree7f60805579fccbb80178f7c3140ce950586cc1ac
parent993feee9795bb8f5368207ce075a9060bcb2c649
net/mlx5: Fix mlx5 ifc cmd_hca_cap bad offsets

All reserved fields after early_vf_enable are off by 1, since
early_vf_enable was not explicitly declared as array of size 1.

Reserved field before cqe_zip had a wrong size, it should
be 0x80 + 0x3f.

Fixes: b0844444590e ("net/mlx5_core: Introduce access function to read internal timer ")
Fixes: b4ff3a36d3e4 ("net/mlx5: Use offset based reserved field names in the IFC header file")
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/mlx5/mlx5_ifc.h