net/mlx5: Fix mlx5 ifc cmd_hca_cap bad offsets
authorTariq Toukan <tariqt@mellanox.com>
Wed, 13 Apr 2016 16:11:03 +0000 (19:11 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 12 May 2016 18:20:46 +0000 (14:20 -0400)
commitc16aea129bf788127465771cab97134a94af33e4
treef39b61a5e3ce335995ef42636c8b7c63b32884d4
parent94d7f1a255db84233a2da70b27d9abf9c0a57135
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>
Acked-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
include/linux/mlx5/mlx5_ifc.h