• Home
  • Raw
  • Download

Lines Matching refs:tx_buffer

268 	struct ixgbevf_tx_buffer *tx_buffer;  in ixgbevf_clean_tx_irq()  local
277 tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbevf_clean_tx_irq()
282 union ixgbe_adv_tx_desc *eop_desc = tx_buffer->next_to_watch; in ixgbevf_clean_tx_irq()
296 tx_buffer->next_to_watch = NULL; in ixgbevf_clean_tx_irq()
299 total_bytes += tx_buffer->bytecount; in ixgbevf_clean_tx_irq()
300 total_packets += tx_buffer->gso_segs; in ixgbevf_clean_tx_irq()
301 if (tx_buffer->tx_flags & IXGBE_TX_FLAGS_IPSEC) in ixgbevf_clean_tx_irq()
306 page_frag_free(tx_buffer->data); in ixgbevf_clean_tx_irq()
308 napi_consume_skb(tx_buffer->skb, napi_budget); in ixgbevf_clean_tx_irq()
312 dma_unmap_addr(tx_buffer, dma), in ixgbevf_clean_tx_irq()
313 dma_unmap_len(tx_buffer, len), in ixgbevf_clean_tx_irq()
317 dma_unmap_len_set(tx_buffer, len, 0); in ixgbevf_clean_tx_irq()
321 tx_buffer++; in ixgbevf_clean_tx_irq()
326 tx_buffer = tx_ring->tx_buffer_info; in ixgbevf_clean_tx_irq()
331 if (dma_unmap_len(tx_buffer, len)) { in ixgbevf_clean_tx_irq()
333 dma_unmap_addr(tx_buffer, dma), in ixgbevf_clean_tx_irq()
334 dma_unmap_len(tx_buffer, len), in ixgbevf_clean_tx_irq()
336 dma_unmap_len_set(tx_buffer, len, 0); in ixgbevf_clean_tx_irq()
341 tx_buffer++; in ixgbevf_clean_tx_irq()
346 tx_buffer = tx_ring->tx_buffer_info; in ixgbevf_clean_tx_irq()
974 struct ixgbevf_tx_buffer *tx_buffer; in ixgbevf_xmit_xdp_ring() local
991 tx_buffer = &ring->tx_buffer_info[i]; in ixgbevf_xmit_xdp_ring()
993 dma_unmap_len_set(tx_buffer, len, len); in ixgbevf_xmit_xdp_ring()
994 dma_unmap_addr_set(tx_buffer, dma, dma); in ixgbevf_xmit_xdp_ring()
995 tx_buffer->data = xdp->data; in ixgbevf_xmit_xdp_ring()
996 tx_buffer->bytecount = len; in ixgbevf_xmit_xdp_ring()
997 tx_buffer->gso_segs = 1; in ixgbevf_xmit_xdp_ring()
998 tx_buffer->protocol = 0; in ixgbevf_xmit_xdp_ring()
1042 tx_buffer->next_to_watch = tx_desc; in ixgbevf_xmit_xdp_ring()
2388 struct ixgbevf_tx_buffer *tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbevf_clean_tx_ring() local
2395 page_frag_free(tx_buffer->data); in ixgbevf_clean_tx_ring()
2397 dev_kfree_skb_any(tx_buffer->skb); in ixgbevf_clean_tx_ring()
2401 dma_unmap_addr(tx_buffer, dma), in ixgbevf_clean_tx_ring()
2402 dma_unmap_len(tx_buffer, len), in ixgbevf_clean_tx_ring()
2406 eop_desc = tx_buffer->next_to_watch; in ixgbevf_clean_tx_ring()
2411 tx_buffer++; in ixgbevf_clean_tx_ring()
2416 tx_buffer = tx_ring->tx_buffer_info; in ixgbevf_clean_tx_ring()
2421 if (dma_unmap_len(tx_buffer, len)) in ixgbevf_clean_tx_ring()
2423 dma_unmap_addr(tx_buffer, dma), in ixgbevf_clean_tx_ring()
2424 dma_unmap_len(tx_buffer, len), in ixgbevf_clean_tx_ring()
2429 tx_buffer++; in ixgbevf_clean_tx_ring()
2433 tx_buffer = tx_ring->tx_buffer_info; in ixgbevf_clean_tx_ring()
3945 struct ixgbevf_tx_buffer *tx_buffer; in ixgbevf_tx_map() local
3963 tx_buffer = first; in ixgbevf_tx_map()
3970 dma_unmap_len_set(tx_buffer, len, size); in ixgbevf_tx_map()
3971 dma_unmap_addr_set(tx_buffer, dma, dma); in ixgbevf_tx_map()
4012 tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbevf_tx_map()
4048 tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbevf_tx_map()
4051 while (tx_buffer != first) { in ixgbevf_tx_map()
4052 if (dma_unmap_len(tx_buffer, len)) in ixgbevf_tx_map()
4054 dma_unmap_addr(tx_buffer, dma), in ixgbevf_tx_map()
4055 dma_unmap_len(tx_buffer, len), in ixgbevf_tx_map()
4057 dma_unmap_len_set(tx_buffer, len, 0); in ixgbevf_tx_map()
4061 tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbevf_tx_map()
4064 if (dma_unmap_len(tx_buffer, len)) in ixgbevf_tx_map()
4066 dma_unmap_addr(tx_buffer, dma), in ixgbevf_tx_map()
4067 dma_unmap_len(tx_buffer, len), in ixgbevf_tx_map()
4069 dma_unmap_len_set(tx_buffer, len, 0); in ixgbevf_tx_map()
4071 dev_kfree_skb_any(tx_buffer->skb); in ixgbevf_tx_map()
4072 tx_buffer->skb = NULL; in ixgbevf_tx_map()