Lines Matching refs:tx_buffer
566 struct ixgbe_tx_buffer *tx_buffer; in ixgbe_print_buffer() local
568 tx_buffer = &ring->tx_buffer_info[ring->next_to_clean]; in ixgbe_print_buffer()
571 (u64)dma_unmap_addr(tx_buffer, dma), in ixgbe_print_buffer()
572 dma_unmap_len(tx_buffer, len), in ixgbe_print_buffer()
573 tx_buffer->next_to_watch, in ixgbe_print_buffer()
574 (u64)tx_buffer->time_stamp); in ixgbe_print_buffer()
587 struct ixgbe_tx_buffer *tx_buffer; in ixgbe_dump() local
688 tx_buffer = &ring->tx_buffer_info[i]; in ixgbe_dump()
690 if (dma_unmap_len(tx_buffer, len) > 0) { in ixgbe_dump()
706 (u64)dma_unmap_addr(tx_buffer, dma), in ixgbe_dump()
707 dma_unmap_len(tx_buffer, len), in ixgbe_dump()
708 tx_buffer->next_to_watch, in ixgbe_dump()
709 (u64)tx_buffer->time_stamp, in ixgbe_dump()
710 tx_buffer->skb, in ixgbe_dump()
714 tx_buffer->skb) in ixgbe_dump()
717 tx_buffer->skb->data, in ixgbe_dump()
718 dma_unmap_len(tx_buffer, len), in ixgbe_dump()
1170 struct ixgbe_tx_buffer *tx_buffer; in ixgbe_clean_tx_irq() local
1180 tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbe_clean_tx_irq()
1185 union ixgbe_adv_tx_desc *eop_desc = tx_buffer->next_to_watch; in ixgbe_clean_tx_irq()
1199 tx_buffer->next_to_watch = NULL; in ixgbe_clean_tx_irq()
1202 total_bytes += tx_buffer->bytecount; in ixgbe_clean_tx_irq()
1203 total_packets += tx_buffer->gso_segs; in ixgbe_clean_tx_irq()
1204 if (tx_buffer->tx_flags & IXGBE_TX_FLAGS_IPSEC) in ixgbe_clean_tx_irq()
1209 xdp_return_frame(tx_buffer->xdpf); in ixgbe_clean_tx_irq()
1211 napi_consume_skb(tx_buffer->skb, napi_budget); in ixgbe_clean_tx_irq()
1215 dma_unmap_addr(tx_buffer, dma), in ixgbe_clean_tx_irq()
1216 dma_unmap_len(tx_buffer, len), in ixgbe_clean_tx_irq()
1220 dma_unmap_len_set(tx_buffer, len, 0); in ixgbe_clean_tx_irq()
1224 tx_buffer++; in ixgbe_clean_tx_irq()
1229 tx_buffer = tx_ring->tx_buffer_info; in ixgbe_clean_tx_irq()
1234 if (dma_unmap_len(tx_buffer, len)) { in ixgbe_clean_tx_irq()
1236 dma_unmap_addr(tx_buffer, dma), in ixgbe_clean_tx_irq()
1237 dma_unmap_len(tx_buffer, len), in ixgbe_clean_tx_irq()
1239 dma_unmap_len_set(tx_buffer, len, 0); in ixgbe_clean_tx_irq()
1244 tx_buffer++; in ixgbe_clean_tx_irq()
1249 tx_buffer = tx_ring->tx_buffer_info; in ixgbe_clean_tx_irq()
6402 struct ixgbe_tx_buffer *tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbe_clean_tx_ring() local
6414 xdp_return_frame(tx_buffer->xdpf); in ixgbe_clean_tx_ring()
6416 dev_kfree_skb_any(tx_buffer->skb); in ixgbe_clean_tx_ring()
6420 dma_unmap_addr(tx_buffer, dma), in ixgbe_clean_tx_ring()
6421 dma_unmap_len(tx_buffer, len), in ixgbe_clean_tx_ring()
6425 eop_desc = tx_buffer->next_to_watch; in ixgbe_clean_tx_ring()
6430 tx_buffer++; in ixgbe_clean_tx_ring()
6435 tx_buffer = tx_ring->tx_buffer_info; in ixgbe_clean_tx_ring()
6440 if (dma_unmap_len(tx_buffer, len)) in ixgbe_clean_tx_ring()
6442 dma_unmap_addr(tx_buffer, dma), in ixgbe_clean_tx_ring()
6443 dma_unmap_len(tx_buffer, len), in ixgbe_clean_tx_ring()
6448 tx_buffer++; in ixgbe_clean_tx_ring()
6452 tx_buffer = tx_ring->tx_buffer_info; in ixgbe_clean_tx_ring()
8682 struct ixgbe_tx_buffer *tx_buffer; in ixgbe_tx_map() local
8711 tx_buffer = first; in ixgbe_tx_map()
8718 dma_unmap_len_set(tx_buffer, len, size); in ixgbe_tx_map()
8719 dma_unmap_addr_set(tx_buffer, dma, dma); in ixgbe_tx_map()
8764 tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbe_tx_map()
8809 tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbe_tx_map()
8810 if (dma_unmap_len(tx_buffer, len)) in ixgbe_tx_map()
8812 dma_unmap_addr(tx_buffer, dma), in ixgbe_tx_map()
8813 dma_unmap_len(tx_buffer, len), in ixgbe_tx_map()
8815 dma_unmap_len_set(tx_buffer, len, 0); in ixgbe_tx_map()
8816 if (tx_buffer == first) in ixgbe_tx_map()