Lines Matching refs:tx_req
699 struct ipoib_tx_buf *tx_req) in post_send() argument
701 ipoib_build_sge(priv, tx_req); in post_send()
711 struct ipoib_tx_buf *tx_req; in ipoib_cm_send() local
750 tx_req = &tx->tx_ring[tx->tx_head & (ipoib_sendq_size - 1)]; in ipoib_cm_send()
751 tx_req->skb = skb; in ipoib_cm_send()
753 if (unlikely(ipoib_dma_map_tx(priv->ca, tx_req))) { in ipoib_cm_send()
778 rc = post_send(priv, tx, tx->tx_head & (ipoib_sendq_size - 1), tx_req); in ipoib_cm_send()
782 ipoib_dma_unmap_tx(priv, tx_req); in ipoib_cm_send()
799 struct ipoib_tx_buf *tx_req; in ipoib_cm_handle_tx_wc() local
811 tx_req = &tx->tx_ring[wr_id]; in ipoib_cm_handle_tx_wc()
813 ipoib_dma_unmap_tx(priv, tx_req); in ipoib_cm_handle_tx_wc()
817 dev->stats.tx_bytes += tx_req->skb->len; in ipoib_cm_handle_tx_wc()
819 dev_kfree_skb_any(tx_req->skb); in ipoib_cm_handle_tx_wc()
1206 struct ipoib_tx_buf *tx_req; in ipoib_cm_tx_destroy() local
1232 tx_req = &p->tx_ring[p->tx_tail & (ipoib_sendq_size - 1)]; in ipoib_cm_tx_destroy()
1233 ipoib_dma_unmap_tx(priv, tx_req); in ipoib_cm_tx_destroy()
1234 dev_kfree_skb_any(tx_req->skb); in ipoib_cm_tx_destroy()