Commit 418f8399 authored by Majd Dibbiny's avatar Majd Dibbiny Committed by David S. Miller

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: e126ba97 ('mlx5: Add driver for Mellanox Connect-IB adapters')
Signed-off-by: default avatarMajd Dibbiny <majd@mellanox.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e71ba91e
...@@ -560,6 +560,7 @@ struct mlx5_modify_qp_mbox_in { ...@@ -560,6 +560,7 @@ struct mlx5_modify_qp_mbox_in {
__be32 optparam; __be32 optparam;
u8 rsvd0[4]; u8 rsvd0[4];
struct mlx5_qp_context ctx; struct mlx5_qp_context ctx;
u8 rsvd2[16];
}; };
struct mlx5_modify_qp_mbox_out { struct mlx5_modify_qp_mbox_out {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment