• Home
  • Raw
  • Download

Lines Matching refs:tx_buffer

3752 				    struct igb_tx_buffer *tx_buffer)  in igb_unmap_and_free_tx_resource()  argument
3754 if (tx_buffer->skb) { in igb_unmap_and_free_tx_resource()
3755 dev_kfree_skb_any(tx_buffer->skb); in igb_unmap_and_free_tx_resource()
3756 if (dma_unmap_len(tx_buffer, len)) in igb_unmap_and_free_tx_resource()
3758 dma_unmap_addr(tx_buffer, dma), in igb_unmap_and_free_tx_resource()
3759 dma_unmap_len(tx_buffer, len), in igb_unmap_and_free_tx_resource()
3761 } else if (dma_unmap_len(tx_buffer, len)) { in igb_unmap_and_free_tx_resource()
3763 dma_unmap_addr(tx_buffer, dma), in igb_unmap_and_free_tx_resource()
3764 dma_unmap_len(tx_buffer, len), in igb_unmap_and_free_tx_resource()
3767 tx_buffer->next_to_watch = NULL; in igb_unmap_and_free_tx_resource()
3768 tx_buffer->skb = NULL; in igb_unmap_and_free_tx_resource()
3769 dma_unmap_len_set(tx_buffer, len, 0); in igb_unmap_and_free_tx_resource()
4887 struct igb_tx_buffer *tx_buffer; in igb_tx_map() local
4905 tx_buffer = first; in igb_tx_map()
4912 dma_unmap_len_set(tx_buffer, len, size); in igb_tx_map()
4913 dma_unmap_addr_set(tx_buffer, dma, dma); in igb_tx_map()
4954 tx_buffer = &tx_ring->tx_buffer_info[i]; in igb_tx_map()
5002 tx_buffer = &tx_ring->tx_buffer_info[i]; in igb_tx_map()
5003 igb_unmap_and_free_tx_resource(tx_ring, tx_buffer); in igb_tx_map()
5004 if (tx_buffer == first) in igb_tx_map()
6431 struct igb_tx_buffer *tx_buffer; in igb_clean_tx_irq() local
6440 tx_buffer = &tx_ring->tx_buffer_info[i]; in igb_clean_tx_irq()
6445 union e1000_adv_tx_desc *eop_desc = tx_buffer->next_to_watch; in igb_clean_tx_irq()
6459 tx_buffer->next_to_watch = NULL; in igb_clean_tx_irq()
6462 total_bytes += tx_buffer->bytecount; in igb_clean_tx_irq()
6463 total_packets += tx_buffer->gso_segs; in igb_clean_tx_irq()
6466 dev_consume_skb_any(tx_buffer->skb); in igb_clean_tx_irq()
6470 dma_unmap_addr(tx_buffer, dma), in igb_clean_tx_irq()
6471 dma_unmap_len(tx_buffer, len), in igb_clean_tx_irq()
6475 tx_buffer->skb = NULL; in igb_clean_tx_irq()
6476 dma_unmap_len_set(tx_buffer, len, 0); in igb_clean_tx_irq()
6480 tx_buffer++; in igb_clean_tx_irq()
6485 tx_buffer = tx_ring->tx_buffer_info; in igb_clean_tx_irq()
6490 if (dma_unmap_len(tx_buffer, len)) { in igb_clean_tx_irq()
6492 dma_unmap_addr(tx_buffer, dma), in igb_clean_tx_irq()
6493 dma_unmap_len(tx_buffer, len), in igb_clean_tx_irq()
6495 dma_unmap_len_set(tx_buffer, len, 0); in igb_clean_tx_irq()
6500 tx_buffer++; in igb_clean_tx_irq()
6505 tx_buffer = tx_ring->tx_buffer_info; in igb_clean_tx_irq()
6534 if (tx_buffer->next_to_watch && in igb_clean_tx_irq()
6535 time_after(jiffies, tx_buffer->time_stamp + in igb_clean_tx_irq()
6557 tx_buffer->time_stamp, in igb_clean_tx_irq()
6558 tx_buffer->next_to_watch, in igb_clean_tx_irq()
6560 tx_buffer->next_to_watch->wb.status); in igb_clean_tx_irq()