Commit 02773ea7 authored by Artemy Kovalyov's avatar Artemy Kovalyov Committed by Greg Kroah-Hartman

IB/mlx5: Fix MODIFY_QP command input structure

commit e3353c26 upstream.

Make MODIFY_QP command input structure compliant to specification

Fixes: e126ba97 ('mlx5: Add driver for Mellanox Connect-IB adapters')
Signed-off-by: default avatarArtemy Kovalyov <artemyko@mellanox.com>
Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 148a19e6
...@@ -534,9 +534,9 @@ struct mlx5_destroy_qp_mbox_out { ...@@ -534,9 +534,9 @@ struct mlx5_destroy_qp_mbox_out {
struct mlx5_modify_qp_mbox_in { struct mlx5_modify_qp_mbox_in {
struct mlx5_inbox_hdr hdr; struct mlx5_inbox_hdr hdr;
__be32 qpn; __be32 qpn;
u8 rsvd1[4];
__be32 optparam;
u8 rsvd0[4]; u8 rsvd0[4];
__be32 optparam;
u8 rsvd1[4];
struct mlx5_qp_context ctx; struct mlx5_qp_context ctx;
}; };
......
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