summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMajd Dibbiny <majd@mellanox.com>2016-06-10 00:07:28 +0300
committerBen Hutchings <ben@decadent.org.uk>2016-08-22 22:38:10 +0100
commit74e4b89b661fc6cc10f81cf127eb4de9631ee6d0 (patch)
tree87c7d5cefb5de3b89f27fec29730bd3ac032bb3c /include
parent1a7af12ae0d7926a4a27225d6a0817761929cb2c (diff)
downloadlwn-74e4b89b661fc6cc10f81cf127eb4de9631ee6d0.tar.gz
lwn-74e4b89b661fc6cc10f81cf127eb4de9631ee6d0.zip
net/mlx5: Fix the size of modify QP mailbox
commit 418f8399a8bedf376ec13eb01088f04a76ebdd6f upstream. 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> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mlx5/qp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx5/qp.h b/include/linux/mlx5/qp.h
index 9709b30e2d69..f190a94af174 100644
--- a/include/linux/mlx5/qp.h
+++ b/include/linux/mlx5/qp.h
@@ -445,6 +445,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 {