Lines Matching refs:tx_buffer

569 	struct ixgbe_tx_buffer *tx_buffer;  in ixgbe_print_buffer()  local
571 tx_buffer = &ring->tx_buffer_info[ring->next_to_clean]; in ixgbe_print_buffer()
574 (u64)dma_unmap_addr(tx_buffer, dma), in ixgbe_print_buffer()
575 dma_unmap_len(tx_buffer, len), in ixgbe_print_buffer()
576 tx_buffer->next_to_watch, in ixgbe_print_buffer()
577 (u64)tx_buffer->time_stamp); in ixgbe_print_buffer()
590 struct ixgbe_tx_buffer *tx_buffer; in ixgbe_dump() local
691 tx_buffer = &ring->tx_buffer_info[i]; in ixgbe_dump()
693 if (dma_unmap_len(tx_buffer, len) > 0) { in ixgbe_dump()
709 (u64)dma_unmap_addr(tx_buffer, dma), in ixgbe_dump()
710 dma_unmap_len(tx_buffer, len), in ixgbe_dump()
711 tx_buffer->next_to_watch, in ixgbe_dump()
712 (u64)tx_buffer->time_stamp, in ixgbe_dump()
713 tx_buffer->skb, in ixgbe_dump()
717 tx_buffer->skb) in ixgbe_dump()
720 tx_buffer->skb->data, in ixgbe_dump()
721 dma_unmap_len(tx_buffer, len), in ixgbe_dump()
1353 struct ixgbe_tx_buffer *tx_buffer; in ixgbe_clean_tx_irq() local
1363 tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbe_clean_tx_irq()
1368 union ixgbe_adv_tx_desc *eop_desc = tx_buffer->next_to_watch; in ixgbe_clean_tx_irq()
1382 tx_buffer->next_to_watch = NULL; in ixgbe_clean_tx_irq()
1385 total_bytes += tx_buffer->bytecount; in ixgbe_clean_tx_irq()
1386 total_packets += tx_buffer->gso_segs; in ixgbe_clean_tx_irq()
1387 if (tx_buffer->tx_flags & IXGBE_TX_FLAGS_IPSEC) in ixgbe_clean_tx_irq()
1392 xdp_return_frame(tx_buffer->xdpf); in ixgbe_clean_tx_irq()
1394 napi_consume_skb(tx_buffer->skb, napi_budget); in ixgbe_clean_tx_irq()
1398 dma_unmap_addr(tx_buffer, dma), in ixgbe_clean_tx_irq()
1399 dma_unmap_len(tx_buffer, len), in ixgbe_clean_tx_irq()
1403 dma_unmap_len_set(tx_buffer, len, 0); in ixgbe_clean_tx_irq()
1407 tx_buffer++; in ixgbe_clean_tx_irq()
1412 tx_buffer = tx_ring->tx_buffer_info; in ixgbe_clean_tx_irq()
1417 if (dma_unmap_len(tx_buffer, len)) { in ixgbe_clean_tx_irq()
1419 dma_unmap_addr(tx_buffer, dma), in ixgbe_clean_tx_irq()
1420 dma_unmap_len(tx_buffer, len), in ixgbe_clean_tx_irq()
1422 dma_unmap_len_set(tx_buffer, len, 0); in ixgbe_clean_tx_irq()
1427 tx_buffer++; in ixgbe_clean_tx_irq()
1432 tx_buffer = tx_ring->tx_buffer_info; in ixgbe_clean_tx_irq()
6590 struct ixgbe_tx_buffer *tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbe_clean_tx_ring() local
6602 xdp_return_frame(tx_buffer->xdpf); in ixgbe_clean_tx_ring()
6604 dev_kfree_skb_any(tx_buffer->skb); in ixgbe_clean_tx_ring()
6608 dma_unmap_addr(tx_buffer, dma), in ixgbe_clean_tx_ring()
6609 dma_unmap_len(tx_buffer, len), in ixgbe_clean_tx_ring()
6613 eop_desc = tx_buffer->next_to_watch; in ixgbe_clean_tx_ring()
6618 tx_buffer++; in ixgbe_clean_tx_ring()
6623 tx_buffer = tx_ring->tx_buffer_info; in ixgbe_clean_tx_ring()
6628 if (dma_unmap_len(tx_buffer, len)) in ixgbe_clean_tx_ring()
6630 dma_unmap_addr(tx_buffer, dma), in ixgbe_clean_tx_ring()
6631 dma_unmap_len(tx_buffer, len), in ixgbe_clean_tx_ring()
6636 tx_buffer++; in ixgbe_clean_tx_ring()
6640 tx_buffer = tx_ring->tx_buffer_info; in ixgbe_clean_tx_ring()
8949 struct ixgbe_tx_buffer *tx_buffer; in ixgbe_tx_map() local
8978 tx_buffer = first; in ixgbe_tx_map()
8985 dma_unmap_len_set(tx_buffer, len, size); in ixgbe_tx_map()
8986 dma_unmap_addr_set(tx_buffer, dma, dma); in ixgbe_tx_map()
9031 tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbe_tx_map()
9076 tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbe_tx_map()
9077 if (dma_unmap_len(tx_buffer, len)) in ixgbe_tx_map()
9079 dma_unmap_addr(tx_buffer, dma), in ixgbe_tx_map()
9080 dma_unmap_len(tx_buffer, len), in ixgbe_tx_map()
9082 dma_unmap_len_set(tx_buffer, len, 0); in ixgbe_tx_map()
9083 if (tx_buffer == first) in ixgbe_tx_map()