Skip to content

Commit

Permalink
IB/mlx5: Fix MODIFY_QP command input structure
Browse files Browse the repository at this point in the history
Make MODIFY_QP command input structure compliant to specification

Fixes: e126ba9 ('mlx5: Add driver for Mellanox Connect-IB adapters')
Signed-off-by: Artemy Kovalyov <artemyko@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
  • Loading branch information
Artemy Kovalyov authored and Doug Ledford committed Jun 23, 2016
1 parent 402ca53 commit e3353c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/mlx5/qp.h
Original file line number Diff line number Diff line change
Expand Up @@ -555,9 +555,9 @@ struct mlx5_destroy_qp_mbox_out {
struct mlx5_modify_qp_mbox_in {
struct mlx5_inbox_hdr hdr;
__be32 qpn;
u8 rsvd1[4];
__be32 optparam;
u8 rsvd0[4];
__be32 optparam;
u8 rsvd1[4];
struct mlx5_qp_context ctx;
u8 rsvd2[16];
};
Expand Down

0 comments on commit e3353c2

Please sign in to comment.