Lines Matching defs:tx_req
586 struct ipoib_cm_tx_buf *tx_req,
590 struct mbuf *mb = tx_req->mb;
591 u64 *mapping = tx_req->mapping;
608 struct ipoib_cm_tx_buf *tx_req;
634 tx_req = &tx->tx_ring[tx->tx_head & (ipoib_sendq_size - 1)];
635 tx_req->mb = mb;
636 if (unlikely(ipoib_dma_map_tx(priv->ca, (struct ipoib_tx_buf *)tx_req,
639 if (tx_req->mb)
640 m_freem(tx_req->mb);
644 if (unlikely(post_send(priv, tx, tx_req, tx->tx_head & (ipoib_sendq_size - 1)))) {
647 ipoib_dma_unmap_tx(priv->ca, (struct ipoib_tx_buf *)tx_req);
668 struct ipoib_cm_tx_buf *tx_req;
679 tx_req = &tx->tx_ring[wr_id];
681 ipoib_dma_unmap_tx(priv->ca, (struct ipoib_tx_buf *)tx_req);
686 m_freem(tx_req->mb);
1050 struct ipoib_cm_tx_buf *tx_req;
1079 tx_req = &p->tx_ring[p->tx_tail & (ipoib_sendq_size - 1)];
1080 ipoib_dma_unmap_tx(priv->ca, (struct ipoib_tx_buf *)tx_req);
1081 m_freem(tx_req->mb);