aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/ulp')
-rw-r--r--drivers/infiniband/ulp/ipoib/ipoib_cm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_cm.c b/drivers/infiniband/ulp/ipoib/ipoib_cm.c
index 52b1bebfa744..4e8d0281f8bc 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib_cm.c
+++ b/drivers/infiniband/ulp/ipoib/ipoib_cm.c
@@ -637,6 +637,7 @@ static inline int post_send(struct ipoib_dev_priv *priv,
637 priv->tx_sge[0].addr = addr; 637 priv->tx_sge[0].addr = addr;
638 priv->tx_sge[0].length = len; 638 priv->tx_sge[0].length = len;
639 639
640 priv->tx_wr.num_sge = 1;
640 priv->tx_wr.wr_id = wr_id | IPOIB_OP_CM; 641 priv->tx_wr.wr_id = wr_id | IPOIB_OP_CM;
641 642
642 return ib_post_send(tx->qp, &priv->tx_wr, &bad_wr); 643 return ib_post_send(tx->qp, &priv->tx_wr, &bad_wr);