aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx4/qp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/hw/mlx4/qp.c')
-rw-r--r--drivers/infiniband/hw/mlx4/qp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx4/qp.c b/drivers/infiniband/hw/mlx4/qp.c
index 6a60827b2301..bb1277c8fbf0 100644
--- a/drivers/infiniband/hw/mlx4/qp.c
+++ b/drivers/infiniband/hw/mlx4/qp.c
@@ -1231,7 +1231,7 @@ static int build_mlx_header(struct mlx4_ib_sqp *sqp, struct ib_send_wr *wr,
1231 for (i = 0; i < wr->num_sge; ++i) 1231 for (i = 0; i < wr->num_sge; ++i)
1232 send_size += wr->sg_list[i].length; 1232 send_size += wr->sg_list[i].length;
1233 1233
1234 ib_ud_header_init(send_size, mlx4_ib_ah_grh_present(ah), 0, &sqp->ud_header); 1234 ib_ud_header_init(send_size, 1, 0, mlx4_ib_ah_grh_present(ah), 0, &sqp->ud_header);
1235 1235
1236 sqp->ud_header.lrh.service_level = 1236 sqp->ud_header.lrh.service_level =
1237 be32_to_cpu(ah->av.sl_tclass_flowlabel) >> 28; 1237 be32_to_cpu(ah->av.sl_tclass_flowlabel) >> 28;