Lines Matching refs:tx_buffer

568 	struct ixgbe_tx_buffer *tx_buffer;  in ixgbe_print_buffer()  local
570 tx_buffer = &ring->tx_buffer_info[ring->next_to_clean]; in ixgbe_print_buffer()
573 (u64)dma_unmap_addr(tx_buffer, dma), in ixgbe_print_buffer()
574 dma_unmap_len(tx_buffer, len), in ixgbe_print_buffer()
575 tx_buffer->next_to_watch, in ixgbe_print_buffer()
576 (u64)tx_buffer->time_stamp); in ixgbe_print_buffer()
589 struct ixgbe_tx_buffer *tx_buffer; in ixgbe_dump() local
690 tx_buffer = &ring->tx_buffer_info[i]; in ixgbe_dump()
692 if (dma_unmap_len(tx_buffer, len) > 0) { in ixgbe_dump()
708 (u64)dma_unmap_addr(tx_buffer, dma), in ixgbe_dump()
709 dma_unmap_len(tx_buffer, len), in ixgbe_dump()
710 tx_buffer->next_to_watch, in ixgbe_dump()
711 (u64)tx_buffer->time_stamp, in ixgbe_dump()
712 tx_buffer->skb, in ixgbe_dump()
716 tx_buffer->skb) in ixgbe_dump()
719 tx_buffer->skb->data, in ixgbe_dump()
720 dma_unmap_len(tx_buffer, len), in ixgbe_dump()
1358 struct ixgbe_tx_buffer *tx_buffer; in ixgbe_clean_tx_irq() local
1368 tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbe_clean_tx_irq()
1373 union ixgbe_adv_tx_desc *eop_desc = tx_buffer->next_to_watch; in ixgbe_clean_tx_irq()
1387 tx_buffer->next_to_watch = NULL; in ixgbe_clean_tx_irq()
1390 total_bytes += tx_buffer->bytecount; in ixgbe_clean_tx_irq()
1391 total_packets += tx_buffer->gso_segs; in ixgbe_clean_tx_irq()
1392 if (tx_buffer->tx_flags & IXGBE_TX_FLAGS_IPSEC) in ixgbe_clean_tx_irq()
1397 xdp_return_frame(tx_buffer->xdpf); in ixgbe_clean_tx_irq()
1399 napi_consume_skb(tx_buffer->skb, napi_budget); in ixgbe_clean_tx_irq()
1403 dma_unmap_addr(tx_buffer, dma), in ixgbe_clean_tx_irq()
1404 dma_unmap_len(tx_buffer, len), in ixgbe_clean_tx_irq()
1408 dma_unmap_len_set(tx_buffer, len, 0); in ixgbe_clean_tx_irq()
1412 tx_buffer++; in ixgbe_clean_tx_irq()
1417 tx_buffer = tx_ring->tx_buffer_info; in ixgbe_clean_tx_irq()
1422 if (dma_unmap_len(tx_buffer, len)) { in ixgbe_clean_tx_irq()
1424 dma_unmap_addr(tx_buffer, dma), in ixgbe_clean_tx_irq()
1425 dma_unmap_len(tx_buffer, len), in ixgbe_clean_tx_irq()
1427 dma_unmap_len_set(tx_buffer, len, 0); in ixgbe_clean_tx_irq()
1432 tx_buffer++; in ixgbe_clean_tx_irq()
1437 tx_buffer = tx_ring->tx_buffer_info; in ixgbe_clean_tx_irq()
6581 struct ixgbe_tx_buffer *tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbe_clean_tx_ring() local
6593 xdp_return_frame(tx_buffer->xdpf); in ixgbe_clean_tx_ring()
6595 dev_kfree_skb_any(tx_buffer->skb); in ixgbe_clean_tx_ring()
6599 dma_unmap_addr(tx_buffer, dma), in ixgbe_clean_tx_ring()
6600 dma_unmap_len(tx_buffer, len), in ixgbe_clean_tx_ring()
6604 eop_desc = tx_buffer->next_to_watch; in ixgbe_clean_tx_ring()
6609 tx_buffer++; in ixgbe_clean_tx_ring()
6614 tx_buffer = tx_ring->tx_buffer_info; in ixgbe_clean_tx_ring()
6619 if (dma_unmap_len(tx_buffer, len)) in ixgbe_clean_tx_ring()
6621 dma_unmap_addr(tx_buffer, dma), in ixgbe_clean_tx_ring()
6622 dma_unmap_len(tx_buffer, len), in ixgbe_clean_tx_ring()
6627 tx_buffer++; in ixgbe_clean_tx_ring()
6631 tx_buffer = tx_ring->tx_buffer_info; in ixgbe_clean_tx_ring()
8945 struct ixgbe_tx_buffer *tx_buffer; in ixgbe_tx_map() local
8974 tx_buffer = first; in ixgbe_tx_map()
8981 dma_unmap_len_set(tx_buffer, len, size); in ixgbe_tx_map()
8982 dma_unmap_addr_set(tx_buffer, dma, dma); in ixgbe_tx_map()
9027 tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbe_tx_map()
9072 tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbe_tx_map()
9073 if (dma_unmap_len(tx_buffer, len)) in ixgbe_tx_map()
9075 dma_unmap_addr(tx_buffer, dma), in ixgbe_tx_map()
9076 dma_unmap_len(tx_buffer, len), in ixgbe_tx_map()
9078 dma_unmap_len_set(tx_buffer, len, 0); in ixgbe_tx_map()
9079 if (tx_buffer == first) in ixgbe_tx_map()