summaryrefslogtreecommitdiffstats
path: root/include/uapi/rdma
diff options
context:
space:
mode:
authorNoa Osherovich <noaos@mellanox.com>2017-11-02 14:22:28 +0100
committerDoug Ledford <dledford@redhat.com>2017-11-13 20:42:05 +0100
commitf17966f19575eac9d5dea68b08f6292dd3d4d3db (patch)
tree914cd1df0f3086975da8c8b88c1d88e0f1898ff4 /include/uapi/rdma
parentIB/core: Avoid unnecessary return value check (diff)
downloadlinux-f17966f19575eac9d5dea68b08f6292dd3d4d3db.tar.xz
linux-f17966f19575eac9d5dea68b08f6292dd3d4d3db.zip
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 <noaos@mellanox.com> Reviewed-by: Yishai Hadas <yishaih@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/uapi/rdma')
-rw-r--r--include/uapi/rdma/mlx5-abi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/rdma/mlx5-abi.h b/include/uapi/rdma/mlx5-abi.h
index 442b46b74a3a..21722e3c2c70 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 {