diff options
Diffstat (limited to 'drivers/infiniband/ulp/ipoib/ipoib_ib.c')
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib_ib.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_ib.c b/drivers/infiniband/ulp/ipoib/ipoib_ib.c index 5063dd509ad2..52bc2bd5799a 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_ib.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_ib.c | |||
@@ -345,12 +345,12 @@ static inline int post_send(struct ipoib_dev_priv *priv, | |||
345 | { | 345 | { |
346 | struct ib_send_wr *bad_wr; | 346 | struct ib_send_wr *bad_wr; |
347 | 347 | ||
348 | priv->tx_sge.addr = addr; | 348 | priv->tx_sge.addr = addr; |
349 | priv->tx_sge.length = len; | 349 | priv->tx_sge.length = len; |
350 | 350 | ||
351 | priv->tx_wr.wr_id = wr_id; | 351 | priv->tx_wr.wr_id = wr_id; |
352 | priv->tx_wr.wr.ud.remote_qpn = qpn; | 352 | priv->tx_wr.wr.ud.remote_qpn = qpn; |
353 | priv->tx_wr.wr.ud.ah = address; | 353 | priv->tx_wr.wr.ud.ah = address; |
354 | 354 | ||
355 | return ib_post_send(priv->qp, &priv->tx_wr, &bad_wr); | 355 | return ib_post_send(priv->qp, &priv->tx_wr, &bad_wr); |
356 | } | 356 | } |