Lines Matching refs:tx_buffer
30 struct iavf_tx_buffer *tx_buffer) in iavf_unmap_and_free_tx_resource() argument
32 if (tx_buffer->skb) { in iavf_unmap_and_free_tx_resource()
33 if (tx_buffer->tx_flags & IAVF_TX_FLAGS_FD_SB) in iavf_unmap_and_free_tx_resource()
34 kfree(tx_buffer->raw_buf); in iavf_unmap_and_free_tx_resource()
36 dev_kfree_skb_any(tx_buffer->skb); in iavf_unmap_and_free_tx_resource()
37 if (dma_unmap_len(tx_buffer, len)) in iavf_unmap_and_free_tx_resource()
39 dma_unmap_addr(tx_buffer, dma), in iavf_unmap_and_free_tx_resource()
40 dma_unmap_len(tx_buffer, len), in iavf_unmap_and_free_tx_resource()
42 } else if (dma_unmap_len(tx_buffer, len)) { in iavf_unmap_and_free_tx_resource()
44 dma_unmap_addr(tx_buffer, dma), in iavf_unmap_and_free_tx_resource()
45 dma_unmap_len(tx_buffer, len), in iavf_unmap_and_free_tx_resource()
49 tx_buffer->next_to_watch = NULL; in iavf_unmap_and_free_tx_resource()
50 tx_buffer->skb = NULL; in iavf_unmap_and_free_tx_resource()
51 dma_unmap_len_set(tx_buffer, len, 0); in iavf_unmap_and_free_tx_resource()