Lines Matching refs:tx_buffer
553 struct ixgbe_tx_buffer *tx_buffer; in ixgbe_print_buffer() local
555 tx_buffer = &ring->tx_buffer_info[ring->next_to_clean]; in ixgbe_print_buffer()
558 (u64)dma_unmap_addr(tx_buffer, dma), in ixgbe_print_buffer()
559 dma_unmap_len(tx_buffer, len), in ixgbe_print_buffer()
560 tx_buffer->next_to_watch, in ixgbe_print_buffer()
561 (u64)tx_buffer->time_stamp); in ixgbe_print_buffer()
574 struct ixgbe_tx_buffer *tx_buffer; in ixgbe_dump() local
675 tx_buffer = &ring->tx_buffer_info[i]; in ixgbe_dump()
677 if (dma_unmap_len(tx_buffer, len) > 0) { in ixgbe_dump()
693 (u64)dma_unmap_addr(tx_buffer, dma), in ixgbe_dump()
694 dma_unmap_len(tx_buffer, len), in ixgbe_dump()
695 tx_buffer->next_to_watch, in ixgbe_dump()
696 (u64)tx_buffer->time_stamp, in ixgbe_dump()
697 tx_buffer->skb, in ixgbe_dump()
701 tx_buffer->skb) in ixgbe_dump()
704 tx_buffer->skb->data, in ixgbe_dump()
705 dma_unmap_len(tx_buffer, len), in ixgbe_dump()
1155 struct ixgbe_tx_buffer *tx_buffer; in ixgbe_clean_tx_irq() local
1165 tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbe_clean_tx_irq()
1170 union ixgbe_adv_tx_desc *eop_desc = tx_buffer->next_to_watch; in ixgbe_clean_tx_irq()
1184 tx_buffer->next_to_watch = NULL; in ixgbe_clean_tx_irq()
1187 total_bytes += tx_buffer->bytecount; in ixgbe_clean_tx_irq()
1188 total_packets += tx_buffer->gso_segs; in ixgbe_clean_tx_irq()
1189 if (tx_buffer->tx_flags & IXGBE_TX_FLAGS_IPSEC) in ixgbe_clean_tx_irq()
1194 xdp_return_frame(tx_buffer->xdpf); in ixgbe_clean_tx_irq()
1196 napi_consume_skb(tx_buffer->skb, napi_budget); in ixgbe_clean_tx_irq()
1200 dma_unmap_addr(tx_buffer, dma), in ixgbe_clean_tx_irq()
1201 dma_unmap_len(tx_buffer, len), in ixgbe_clean_tx_irq()
1205 dma_unmap_len_set(tx_buffer, len, 0); in ixgbe_clean_tx_irq()
1209 tx_buffer++; in ixgbe_clean_tx_irq()
1214 tx_buffer = tx_ring->tx_buffer_info; in ixgbe_clean_tx_irq()
1219 if (dma_unmap_len(tx_buffer, len)) { in ixgbe_clean_tx_irq()
1221 dma_unmap_addr(tx_buffer, dma), in ixgbe_clean_tx_irq()
1222 dma_unmap_len(tx_buffer, len), in ixgbe_clean_tx_irq()
1224 dma_unmap_len_set(tx_buffer, len, 0); in ixgbe_clean_tx_irq()
1229 tx_buffer++; in ixgbe_clean_tx_irq()
1234 tx_buffer = tx_ring->tx_buffer_info; in ixgbe_clean_tx_irq()
6061 struct ixgbe_tx_buffer *tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbe_clean_tx_ring() local
6073 xdp_return_frame(tx_buffer->xdpf); in ixgbe_clean_tx_ring()
6075 dev_kfree_skb_any(tx_buffer->skb); in ixgbe_clean_tx_ring()
6079 dma_unmap_addr(tx_buffer, dma), in ixgbe_clean_tx_ring()
6080 dma_unmap_len(tx_buffer, len), in ixgbe_clean_tx_ring()
6084 eop_desc = tx_buffer->next_to_watch; in ixgbe_clean_tx_ring()
6089 tx_buffer++; in ixgbe_clean_tx_ring()
6094 tx_buffer = tx_ring->tx_buffer_info; in ixgbe_clean_tx_ring()
6099 if (dma_unmap_len(tx_buffer, len)) in ixgbe_clean_tx_ring()
6101 dma_unmap_addr(tx_buffer, dma), in ixgbe_clean_tx_ring()
6102 dma_unmap_len(tx_buffer, len), in ixgbe_clean_tx_ring()
6107 tx_buffer++; in ixgbe_clean_tx_ring()
6111 tx_buffer = tx_ring->tx_buffer_info; in ixgbe_clean_tx_ring()
8313 struct ixgbe_tx_buffer *tx_buffer; in ixgbe_tx_map() local
8342 tx_buffer = first; in ixgbe_tx_map()
8349 dma_unmap_len_set(tx_buffer, len, size); in ixgbe_tx_map()
8350 dma_unmap_addr_set(tx_buffer, dma, dma); in ixgbe_tx_map()
8395 tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbe_tx_map()
8440 tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbe_tx_map()
8441 if (dma_unmap_len(tx_buffer, len)) in ixgbe_tx_map()
8443 dma_unmap_addr(tx_buffer, dma), in ixgbe_tx_map()
8444 dma_unmap_len(tx_buffer, len), in ixgbe_tx_map()
8446 dma_unmap_len_set(tx_buffer, len, 0); in ixgbe_tx_map()
8447 if (tx_buffer == first) in ixgbe_tx_map()