diff options
Diffstat (limited to 'drivers/infiniband/hw')
-rw-r--r-- | drivers/infiniband/hw/mlx4/cq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx4/cq.c b/drivers/infiniband/hw/mlx4/cq.c index 8415ecce5c4..a3c5af1d7ec 100644 --- a/drivers/infiniband/hw/mlx4/cq.c +++ b/drivers/infiniband/hw/mlx4/cq.c | |||
@@ -699,7 +699,7 @@ repoll: | |||
699 | } | 699 | } |
700 | 700 | ||
701 | wc->slid = be16_to_cpu(cqe->rlid); | 701 | wc->slid = be16_to_cpu(cqe->rlid); |
702 | wc->sl = be16_to_cpu(cqe->sl_vid >> 12); | 702 | wc->sl = be16_to_cpu(cqe->sl_vid) >> 12; |
703 | g_mlpath_rqpn = be32_to_cpu(cqe->g_mlpath_rqpn); | 703 | g_mlpath_rqpn = be32_to_cpu(cqe->g_mlpath_rqpn); |
704 | wc->src_qp = g_mlpath_rqpn & 0xffffff; | 704 | wc->src_qp = g_mlpath_rqpn & 0xffffff; |
705 | wc->dlid_path_bits = (g_mlpath_rqpn >> 24) & 0x7f; | 705 | wc->dlid_path_bits = (g_mlpath_rqpn >> 24) & 0x7f; |