From: Noa Osherovich Date: Thu, 2 Nov 2017 13:22:28 +0000 (+0200) Subject: IB/mlx5: Fix ABI alignment to 64 bit X-Git-Tag: v4.19~2157^2~40 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f17966f19575eac9d5dea68b08f6292dd3d4d3db;p=platform%2Fkernel%2Flinux-rpi.git 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: b4f34597a5ce ('IB/mlx5: Expose multi-packet RQ capabilities') Signed-off-by: Noa Osherovich Reviewed-by: Yishai Hadas Signed-off-by: Leon Romanovsky Signed-off-by: Doug Ledford --- diff --git a/include/uapi/rdma/mlx5-abi.h b/include/uapi/rdma/mlx5-abi.h index 442b46b..21722e3 100644 --- a/include/uapi/rdma/mlx5-abi.h +++ b/include/uapi/rdma/mlx5-abi.h @@ -202,6 +202,7 @@ struct mlx5_ib_striding_rq_caps { * supported_qpts |= 1 << IB_QPT_RAW_PACKET */ __u32 supported_qpts; + __u32 reserved; }; enum mlx5_ib_query_dev_resp_flags {