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()
1117 struct ixgbe_tx_buffer *tx_buffer; in ixgbe_clean_tx_irq() local
1126 tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbe_clean_tx_irq()
1131 union ixgbe_adv_tx_desc *eop_desc = tx_buffer->next_to_watch; in ixgbe_clean_tx_irq()
1145 tx_buffer->next_to_watch = NULL; in ixgbe_clean_tx_irq()
1148 total_bytes += tx_buffer->bytecount; in ixgbe_clean_tx_irq()
1149 total_packets += tx_buffer->gso_segs; in ixgbe_clean_tx_irq()
1150 if (tx_buffer->tx_flags & IXGBE_TX_FLAGS_IPSEC) in ixgbe_clean_tx_irq()
1155 xdp_return_frame(tx_buffer->xdpf); in ixgbe_clean_tx_irq()
1157 napi_consume_skb(tx_buffer->skb, napi_budget); in ixgbe_clean_tx_irq()
1161 dma_unmap_addr(tx_buffer, dma), in ixgbe_clean_tx_irq()
1162 dma_unmap_len(tx_buffer, len), in ixgbe_clean_tx_irq()
1166 dma_unmap_len_set(tx_buffer, len, 0); in ixgbe_clean_tx_irq()
1170 tx_buffer++; in ixgbe_clean_tx_irq()
1175 tx_buffer = tx_ring->tx_buffer_info; in ixgbe_clean_tx_irq()
1180 if (dma_unmap_len(tx_buffer, len)) { in ixgbe_clean_tx_irq()
1182 dma_unmap_addr(tx_buffer, dma), in ixgbe_clean_tx_irq()
1183 dma_unmap_len(tx_buffer, len), in ixgbe_clean_tx_irq()
1185 dma_unmap_len_set(tx_buffer, len, 0); in ixgbe_clean_tx_irq()
1190 tx_buffer++; in ixgbe_clean_tx_irq()
1195 tx_buffer = tx_ring->tx_buffer_info; in ixgbe_clean_tx_irq()
6044 struct ixgbe_tx_buffer *tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbe_clean_tx_ring() local
6056 xdp_return_frame(tx_buffer->xdpf); in ixgbe_clean_tx_ring()
6058 dev_kfree_skb_any(tx_buffer->skb); in ixgbe_clean_tx_ring()
6062 dma_unmap_addr(tx_buffer, dma), in ixgbe_clean_tx_ring()
6063 dma_unmap_len(tx_buffer, len), in ixgbe_clean_tx_ring()
6067 eop_desc = tx_buffer->next_to_watch; in ixgbe_clean_tx_ring()
6072 tx_buffer++; in ixgbe_clean_tx_ring()
6077 tx_buffer = tx_ring->tx_buffer_info; in ixgbe_clean_tx_ring()
6082 if (dma_unmap_len(tx_buffer, len)) in ixgbe_clean_tx_ring()
6084 dma_unmap_addr(tx_buffer, dma), in ixgbe_clean_tx_ring()
6085 dma_unmap_len(tx_buffer, len), in ixgbe_clean_tx_ring()
6090 tx_buffer++; in ixgbe_clean_tx_ring()
6094 tx_buffer = tx_ring->tx_buffer_info; in ixgbe_clean_tx_ring()
8306 struct ixgbe_tx_buffer *tx_buffer; in ixgbe_tx_map() local
8335 tx_buffer = first; in ixgbe_tx_map()
8342 dma_unmap_len_set(tx_buffer, len, size); in ixgbe_tx_map()
8343 dma_unmap_addr_set(tx_buffer, dma, dma); in ixgbe_tx_map()
8388 tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbe_tx_map()
8433 tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbe_tx_map()
8434 if (dma_unmap_len(tx_buffer, len)) in ixgbe_tx_map()
8436 dma_unmap_addr(tx_buffer, dma), in ixgbe_tx_map()
8437 dma_unmap_len(tx_buffer, len), in ixgbe_tx_map()
8439 dma_unmap_len_set(tx_buffer, len, 0); in ixgbe_tx_map()
8440 if (tx_buffer == first) in ixgbe_tx_map()