Lines Matching refs:tx_buf
217 struct iavf_tx_buffer *tx_buf;
222 tx_buf = &tx_ring->tx_bi[i];
227 struct iavf_tx_desc *eop_desc = tx_buf->next_to_watch;
236 iavf_trace(clean_tx_irq, tx_ring, tx_desc, tx_buf);
243 tx_buf->next_to_watch = NULL;
246 total_bytes += tx_buf->bytecount;
247 total_packets += tx_buf->gso_segs;
250 napi_consume_skb(tx_buf->skb, napi_budget);
254 dma_unmap_addr(tx_buf, dma),
255 dma_unmap_len(tx_buf, len),
259 tx_buf->skb = NULL;
260 dma_unmap_len_set(tx_buf, len, 0);
265 tx_ring, tx_desc, tx_buf);
267 tx_buf++;
272 tx_buf = tx_ring->tx_bi;
277 if (dma_unmap_len(tx_buf, len)) {
279 dma_unmap_addr(tx_buf, dma),
280 dma_unmap_len(tx_buf, len),
282 dma_unmap_len_set(tx_buf, len, 0);
287 tx_buf++;
292 tx_buf = tx_ring->tx_bi;