Skip to content

Commit

Permalink
net/mlx5: Fix the size of modify QP mailbox
Browse files Browse the repository at this point in the history
Add 16 reserved bytes at the end of mlx5_modify_qp_mbox_in to
match the hardware spec definition.

Fixes: e126ba9 ('mlx5: Add driver for Mellanox Connect-IB adapters')
Signed-off-by: Majd Dibbiny <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
majdmellanox authored and davem330 committed Jun 10, 2016
1 parent e71ba91 commit 418f839
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/mlx5/qp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 418f839

Please sign in to comment.