Commit f17966f1 authored by Noa Osherovich's avatar Noa Osherovich Committed by Doug Ledford

IB/mlx5: Fix ABI alignment to 64 bit

Struct mlx5_ib_striding_rq_caps was not aligned to 64 bit as
it should have been. Add a 32 bit reserved field.

Fixes: b4f34597 ('IB/mlx5: Expose multi-packet RQ capabilities')
Signed-off-by: default avatarNoa Osherovich <noaos@mellanox.com>
Reviewed-by: default avatarYishai Hadas <yishaih@mellanox.com>
Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 2e4c85c6
...@@ -202,6 +202,7 @@ struct mlx5_ib_striding_rq_caps { ...@@ -202,6 +202,7 @@ struct mlx5_ib_striding_rq_caps {
* supported_qpts |= 1 << IB_QPT_RAW_PACKET * supported_qpts |= 1 << IB_QPT_RAW_PACKET
*/ */
__u32 supported_qpts; __u32 supported_qpts;
__u32 reserved;
}; };
enum mlx5_ib_query_dev_resp_flags { enum mlx5_ib_query_dev_resp_flags {
......
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