Lines Matching defs:wr
121 struct ib_recv_wr *wr,
136 wr->num_sge = i;
137 wr->wr_id = id | IPOIB_OP_CM | IPOIB_OP_RECV;
139 ret = ib_post_recv(rx->qp, wr, &bad_wr);
188 ipoib_warn(priv, "failed to post drain wr\n");
287 struct ib_recv_wr *wr,
295 wr->next = NULL;
296 wr->sg_list = sge;
297 wr->num_sge = 1;
304 struct ib_recv_wr wr;
325 ipoib_cm_init_rx_wr(priv, &t->wr, t->sge);
345 ret = ipoib_cm_post_receive_nonsrq(priv, rx, &t->wr, t->sge, i);
607 priv->tx_wr.wr.num_sge = i;
608 priv->tx_wr.wr.wr_id = wr_id | IPOIB_OP_CM;
609 priv->tx_wr.wr.opcode = IB_WR_SEND;
611 return ib_post_send(tx->qp, &priv->tx_wr.wr, &bad_wr);