net/mlx5: Fix the size of modify QP mailbox
authorMajd Dibbiny <majd@mellanox.com>
Thu, 9 Jun 2016 21:07:28 +0000 (00:07 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Jun 2016 05:06:25 +0000 (22:06 -0700)
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 <majd@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/mlx5/qp.h

index 64221027bf1f0d8bdaa2a1506e18da338e0f0c1e..1532dcf6fc5e8ccc79c39d2c7b41f06a07f07066 100644 (file)
@@ -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 {