summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/qp.h
diff options
context:
space:
mode:
authorMajd Dibbiny2016-06-09 23:07:28 +0200
committerDavid S. Miller2016-06-10 07:06:25 +0200
commit418f8399a8bedf376ec13eb01088f04a76ebdd6f (patch)
tree85bae0fe0a4fa12b101ab696de36d985e4897fc8 /include/linux/mlx5/qp.h
parentMerge tag 'mac80211-for-davem-2016-06-09' of git://git.kernel.org/pub/scm/lin... (diff)
downloadkernel-qcow2-linux-418f8399a8bedf376ec13eb01088f04a76ebdd6f.tar.gz
kernel-qcow2-linux-418f8399a8bedf376ec13eb01088f04a76ebdd6f.tar.xz
kernel-qcow2-linux-418f8399a8bedf376ec13eb01088f04a76ebdd6f.zip
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 <majd@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mlx5/qp.h')
-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 64221027bf1f..1532dcf6fc5e 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 {