Lines Matching refs:tx_buffer

554 	struct ixgbe_tx_buffer *tx_buffer;  in ixgbe_print_buffer()  local
556 tx_buffer = &ring->tx_buffer_info[ring->next_to_clean]; in ixgbe_print_buffer()
559 (u64)dma_unmap_addr(tx_buffer, dma), in ixgbe_print_buffer()
560 dma_unmap_len(tx_buffer, len), in ixgbe_print_buffer()
561 tx_buffer->next_to_watch, in ixgbe_print_buffer()
562 (u64)tx_buffer->time_stamp); in ixgbe_print_buffer()
575 struct ixgbe_tx_buffer *tx_buffer; in ixgbe_dump() local
676 tx_buffer = &ring->tx_buffer_info[i]; in ixgbe_dump()
678 if (dma_unmap_len(tx_buffer, len) > 0) { in ixgbe_dump()
694 (u64)dma_unmap_addr(tx_buffer, dma), in ixgbe_dump()
695 dma_unmap_len(tx_buffer, len), in ixgbe_dump()
696 tx_buffer->next_to_watch, in ixgbe_dump()
697 (u64)tx_buffer->time_stamp, in ixgbe_dump()
698 tx_buffer->skb, in ixgbe_dump()
702 tx_buffer->skb) in ixgbe_dump()
705 tx_buffer->skb->data, in ixgbe_dump()
706 dma_unmap_len(tx_buffer, len), in ixgbe_dump()
1118 struct ixgbe_tx_buffer *tx_buffer; in ixgbe_clean_tx_irq() local
1128 tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbe_clean_tx_irq()
1133 union ixgbe_adv_tx_desc *eop_desc = tx_buffer->next_to_watch; in ixgbe_clean_tx_irq()
1147 tx_buffer->next_to_watch = NULL; in ixgbe_clean_tx_irq()
1150 total_bytes += tx_buffer->bytecount; in ixgbe_clean_tx_irq()
1151 total_packets += tx_buffer->gso_segs; in ixgbe_clean_tx_irq()
1152 if (tx_buffer->tx_flags & IXGBE_TX_FLAGS_IPSEC) in ixgbe_clean_tx_irq()
1157 xdp_return_frame(tx_buffer->xdpf); in ixgbe_clean_tx_irq()
1159 napi_consume_skb(tx_buffer->skb, napi_budget); in ixgbe_clean_tx_irq()
1163 dma_unmap_addr(tx_buffer, dma), in ixgbe_clean_tx_irq()
1164 dma_unmap_len(tx_buffer, len), in ixgbe_clean_tx_irq()
1168 dma_unmap_len_set(tx_buffer, len, 0); in ixgbe_clean_tx_irq()
1172 tx_buffer++; in ixgbe_clean_tx_irq()
1177 tx_buffer = tx_ring->tx_buffer_info; in ixgbe_clean_tx_irq()
1182 if (dma_unmap_len(tx_buffer, len)) { in ixgbe_clean_tx_irq()
1184 dma_unmap_addr(tx_buffer, dma), in ixgbe_clean_tx_irq()
1185 dma_unmap_len(tx_buffer, len), in ixgbe_clean_tx_irq()
1187 dma_unmap_len_set(tx_buffer, len, 0); in ixgbe_clean_tx_irq()
1192 tx_buffer++; in ixgbe_clean_tx_irq()
1197 tx_buffer = tx_ring->tx_buffer_info; in ixgbe_clean_tx_irq()
6036 struct ixgbe_tx_buffer *tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbe_clean_tx_ring() local
6048 xdp_return_frame(tx_buffer->xdpf); in ixgbe_clean_tx_ring()
6050 dev_kfree_skb_any(tx_buffer->skb); in ixgbe_clean_tx_ring()
6054 dma_unmap_addr(tx_buffer, dma), in ixgbe_clean_tx_ring()
6055 dma_unmap_len(tx_buffer, len), in ixgbe_clean_tx_ring()
6059 eop_desc = tx_buffer->next_to_watch; in ixgbe_clean_tx_ring()
6064 tx_buffer++; in ixgbe_clean_tx_ring()
6069 tx_buffer = tx_ring->tx_buffer_info; in ixgbe_clean_tx_ring()
6074 if (dma_unmap_len(tx_buffer, len)) in ixgbe_clean_tx_ring()
6076 dma_unmap_addr(tx_buffer, dma), in ixgbe_clean_tx_ring()
6077 dma_unmap_len(tx_buffer, len), in ixgbe_clean_tx_ring()
6082 tx_buffer++; in ixgbe_clean_tx_ring()
6086 tx_buffer = tx_ring->tx_buffer_info; in ixgbe_clean_tx_ring()
8290 struct ixgbe_tx_buffer *tx_buffer; in ixgbe_tx_map() local
8319 tx_buffer = first; in ixgbe_tx_map()
8326 dma_unmap_len_set(tx_buffer, len, size); in ixgbe_tx_map()
8327 dma_unmap_addr_set(tx_buffer, dma, dma); in ixgbe_tx_map()
8372 tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbe_tx_map()
8417 tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbe_tx_map()
8418 if (dma_unmap_len(tx_buffer, len)) in ixgbe_tx_map()
8420 dma_unmap_addr(tx_buffer, dma), in ixgbe_tx_map()
8421 dma_unmap_len(tx_buffer, len), in ixgbe_tx_map()
8423 dma_unmap_len_set(tx_buffer, len, 0); in ixgbe_tx_map()
8424 if (tx_buffer == first) in ixgbe_tx_map()