summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtemy Kovalyov <artemyko@mellanox.com>2016-06-17 15:33:31 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-20 11:53:22 +0200
commit738ed2dcdd73482974c9528e1a5edba906c796bd (patch)
treebd7b5bccc867c8a7f5e3b9dc93d89a8891e624b1
parente47661ff86d8729aaf9df53cb4924292f7993a20 (diff)
IB/mlx5: Fix MODIFY_QP command input structure
commit e3353c268b06236d6c40fa1714c114f21f44451c upstream. Make MODIFY_QP command input structure compliant to specification Fixes: e126ba97dba9 ('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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--include/linux/mlx5/qp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mlx5/qp.h b/include/linux/mlx5/qp.h
index d51eff713549..ce21d29e18e7 100644
--- a/include/linux/mlx5/qp.h
+++ b/include/linux/mlx5/qp.h
@@ -378,9 +378,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;
};