Commit 7a32f296 authored by Edward Srouji's avatar Edward Srouji Committed by Saeed Mahameed

net/mlx5: Fix modify_cq_in alignment

Fix modify_cq_in alignment to match the device specification.
After this fix the 'cq_umem_valid' field will be in the right offset.

Cc: <stable@vger.kernel.org> # 4.19
Fixes: bd371975 ("net/mlx5: Update mlx5_ifc with DEVX UID bits")
Signed-off-by: default avatarEdward Srouji <edwards@mellanox.com>
Reviewed-by: default avatarYishai Hadas <yishaih@mellanox.com>
Signed-off-by: default avatarLeon Romanovsky <leonro@mellanox.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
parent 987f6c69
...@@ -5975,10 +5975,12 @@ struct mlx5_ifc_modify_cq_in_bits { ...@@ -5975,10 +5975,12 @@ struct mlx5_ifc_modify_cq_in_bits {
struct mlx5_ifc_cqc_bits cq_context; struct mlx5_ifc_cqc_bits cq_context;
u8 reserved_at_280[0x40]; u8 reserved_at_280[0x60];
u8 cq_umem_valid[0x1]; u8 cq_umem_valid[0x1];
u8 reserved_at_2c1[0x5bf]; u8 reserved_at_2e1[0x1f];
u8 reserved_at_300[0x580];
u8 pas[0][0x40]; u8 pas[0][0x40];
}; };
......
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