aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@mellanox.com>2011-06-15 10:43:43 -0400
committerRoland Dreier <roland@purestorage.com>2011-07-19 00:04:33 -0400
commit98a13e487a3bdac8508e4dcb98d63385fabe6767 (patch)
tree3f1abd2d7711e2ba2c7369aebca4f99b729ab7ee
parentccf863219675aa86bebdd6a2806acb8176478e37 (diff)
mlx4_core: Fix location of counter index in QP context struct
Fix the address handle portion of the QP context structure to have the correct bit location for the counter index field. Signed-off-by: Eli Cohen <eli@mellanox.co.il> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.co.il> Signed-off-by: Roland Dreier <roland@purestorage.com>
-rw-r--r--include/linux/mlx4/qp.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/mlx4/qp.h b/include/linux/mlx4/qp.h
index 9e9eb21056c..6486d880bdb 100644
--- a/include/linux/mlx4/qp.h
+++ b/include/linux/mlx4/qp.h
@@ -99,7 +99,7 @@ struct mlx4_qp_path {
99 u8 fl; 99 u8 fl;
100 u8 reserved1[2]; 100 u8 reserved1[2];
101 u8 pkey_index; 101 u8 pkey_index;
102 u8 reserved2; 102 u8 counter_index;
103 u8 grh_mylmc; 103 u8 grh_mylmc;
104 __be16 rlid; 104 __be16 rlid;
105 u8 ackto; 105 u8 ackto;
@@ -111,8 +111,7 @@ struct mlx4_qp_path {
111 u8 sched_queue; 111 u8 sched_queue;
112 u8 vlan_index; 112 u8 vlan_index;
113 u8 reserved3[2]; 113 u8 reserved3[2];
114 u8 counter_index; 114 u8 reserved4[2];
115 u8 reserved4;
116 u8 dmac[6]; 115 u8 dmac[6];
117}; 116};
118 117