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 <e...@mellanox.co.il>
Signed-off-by: Or Gerlitz <ogerl...@mellanox.co.il>
---
 include/linux/mlx4/qp.h |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Index: b/include/linux/mlx4/qp.h
===================================================================
--- a/include/linux/mlx4/qp.h
+++ b/include/linux/mlx4/qp.h
@@ -99,7 +99,7 @@ struct mlx4_qp_path {
        u8                      fl;
        u8                      reserved1[2];
        u8                      pkey_index;
-       u8                      reserved2;
+       u8                      counter_index;
        u8                      grh_mylmc;
        __be16                  rlid;
        u8                      ackto;
@@ -111,8 +111,7 @@ struct mlx4_qp_path {
        u8                      sched_queue;
        u8                      vlan_index;
        u8                      reserved3[2];
-       u8                      counter_index;
-       u8                      reserved4;
+       u8                      reserved4[2];
        u8                      dmac[6];
 };


--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to