From: Majd Dibbiny Date: Thu, 9 Jun 2016 21:07:28 +0000 (+0300) Subject: net/mlx5: Fix the size of modify QP mailbox X-Git-Tag: v4.14-rc1~3052^2~3^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=418f8399a8bedf376ec13eb01088f04a76ebdd6f;p=platform%2Fkernel%2Flinux-rpi.git net/mlx5: Fix the size of modify QP mailbox Add 16 reserved bytes at the end of mlx5_modify_qp_mbox_in to match the hardware spec definition. Fixes: e126ba97dba9 ('mlx5: Add driver for Mellanox Connect-IB adapters') Signed-off-by: Majd Dibbiny Signed-off-by: Saeed Mahameed Signed-off-by: David S. Miller --- diff --git a/include/linux/mlx5/qp.h b/include/linux/mlx5/qp.h index 6422102..1532dcf 100644 --- a/include/linux/mlx5/qp.h +++ b/include/linux/mlx5/qp.h @@ -560,6 +560,7 @@ struct mlx5_modify_qp_mbox_in { __be32 optparam; u8 rsvd0[4]; struct mlx5_qp_context ctx; + u8 rsvd2[16]; }; struct mlx5_modify_qp_mbox_out {