Lines Matching refs:tx_buffer
28 struct iavf_tx_buffer *tx_buffer) in iavf_unmap_and_free_tx_resource() argument
30 if (tx_buffer->skb) { in iavf_unmap_and_free_tx_resource()
31 if (tx_buffer->tx_flags & IAVF_TX_FLAGS_FD_SB) in iavf_unmap_and_free_tx_resource()
32 kfree(tx_buffer->raw_buf); in iavf_unmap_and_free_tx_resource()
34 dev_kfree_skb_any(tx_buffer->skb); in iavf_unmap_and_free_tx_resource()
35 if (dma_unmap_len(tx_buffer, len)) in iavf_unmap_and_free_tx_resource()
37 dma_unmap_addr(tx_buffer, dma), in iavf_unmap_and_free_tx_resource()
38 dma_unmap_len(tx_buffer, len), in iavf_unmap_and_free_tx_resource()
40 } else if (dma_unmap_len(tx_buffer, len)) { in iavf_unmap_and_free_tx_resource()
42 dma_unmap_addr(tx_buffer, dma), in iavf_unmap_and_free_tx_resource()
43 dma_unmap_len(tx_buffer, len), in iavf_unmap_and_free_tx_resource()
47 tx_buffer->next_to_watch = NULL; in iavf_unmap_and_free_tx_resource()
48 tx_buffer->skb = NULL; in iavf_unmap_and_free_tx_resource()
49 dma_unmap_len_set(tx_buffer, len, 0); in iavf_unmap_and_free_tx_resource()