Lines Matching refs:tx_req
600 struct ipoib_cm_tx_buf *tx_req,
604 struct mbuf *mb = tx_req->mb;
605 u64 *mapping = tx_req->mapping;
622 struct ipoib_cm_tx_buf *tx_req;
650 tx_req = &tx->tx_ring[tx->tx_head & (ipoib_sendq_size - 1)];
651 tx_req->mb = mb;
652 if (unlikely(ipoib_dma_map_tx(priv->ca, (struct ipoib_tx_buf *)tx_req,
655 if (tx_req->mb)
656 m_freem(tx_req->mb);
660 if (unlikely(post_send(priv, tx, tx_req, tx->tx_head & (ipoib_sendq_size - 1)))) {
663 ipoib_dma_unmap_tx(priv->ca, (struct ipoib_tx_buf *)tx_req);
684 struct ipoib_cm_tx_buf *tx_req;
695 tx_req = &tx->tx_ring[wr_id];
697 ipoib_dma_unmap_tx(priv->ca, (struct ipoib_tx_buf *)tx_req);
702 m_freem(tx_req->mb);
1065 struct ipoib_cm_tx_buf *tx_req;
1094 tx_req = &p->tx_ring[p->tx_tail & (ipoib_sendq_size - 1)];
1095 ipoib_dma_unmap_tx(priv->ca, (struct ipoib_tx_buf *)tx_req);
1096 m_freem(tx_req->mb);