Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1521282

[PATCH 3.16 017/346] IB/mlx5: Fix MODIFY_QP command input structure

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.kernel
Subject [PATCH 3.16 017/346] IB/mlx5: Fix MODIFY_QP command input structure
Date 2016-11-14 05:10 +0100
Message-ID <sDgKM-1LS-99@gated-at.bofh.it> (permalink)
References <sDeSC-o3-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


3.16.39-rc1 review patch.  If anyone has any objections, please let me know.

------------------

From: Artemy Kovalyov <artemyko@mellanox.com>

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: Ben Hutchings <ben@decadent.org.uk>
---
 include/linux/mlx5/qp.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/include/linux/mlx5/qp.h
+++ b/include/linux/mlx5/qp.h
@@ -442,9 +442,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];
 };

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 3.16 017/346] IB/mlx5: Fix MODIFY_QP command input structure Ben Hutchings <ben@decadent.org.uk> - 2016-11-14 05:10 +0100

csiph-web