Home
last modified time | relevance | path

Searched refs:tx_bi (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/intel/ixgbe/
Dixgbe_xsk.c400 struct ixgbe_tx_buffer *tx_bi; in ixgbe_xmit_zc() local
421 tx_bi = &xdp_ring->tx_buffer_info[xdp_ring->next_to_use]; in ixgbe_xmit_zc()
422 tx_bi->bytecount = desc.len; in ixgbe_xmit_zc()
423 tx_bi->xdpf = NULL; in ixgbe_xmit_zc()
424 tx_bi->gso_segs = 1; in ixgbe_xmit_zc()
452 struct ixgbe_tx_buffer *tx_bi) in ixgbe_clean_xdp_tx_buffer() argument
454 xdp_return_frame(tx_bi->xdpf); in ixgbe_clean_xdp_tx_buffer()
456 dma_unmap_addr(tx_bi, dma), in ixgbe_clean_xdp_tx_buffer()
457 dma_unmap_len(tx_bi, len), DMA_TO_DEVICE); in ixgbe_clean_xdp_tx_buffer()
458 dma_unmap_len_set(tx_bi, len, 0); in ixgbe_clean_xdp_tx_buffer()
[all …]
/Linux-v6.6/drivers/net/ethernet/intel/i40e/
Di40e_xsk.c641 struct i40e_tx_buffer *tx_bi) in i40e_clean_xdp_tx_buffer() argument
643 xdp_return_frame(tx_bi->xdpf); in i40e_clean_xdp_tx_buffer()
646 dma_unmap_addr(tx_bi, dma), in i40e_clean_xdp_tx_buffer()
647 dma_unmap_len(tx_bi, len), DMA_TO_DEVICE); in i40e_clean_xdp_tx_buffer()
648 dma_unmap_len_set(tx_bi, len, 0); in i40e_clean_xdp_tx_buffer()
663 struct i40e_tx_buffer *tx_bi; in i40e_clean_xdp_tx_irq() local
681 tx_bi = &tx_ring->tx_bi[ntc]; in i40e_clean_xdp_tx_irq()
683 if (tx_bi->xdpf) { in i40e_clean_xdp_tx_irq()
684 i40e_clean_xdp_tx_buffer(tx_ring, tx_bi); in i40e_clean_xdp_tx_irq()
685 tx_bi->xdpf = NULL; in i40e_clean_xdp_tx_irq()
[all …]
Di40e_txrx.c121 first = &tx_ring->tx_bi[i]; in i40e_program_fdir_filter()
127 tx_buf = &tx_ring->tx_bi[i]; in i40e_program_fdir_filter()
797 if (!tx_ring->tx_bi) in i40e_clean_tx_ring()
803 &tx_ring->tx_bi[i]); in i40e_clean_tx_ring()
807 memset(tx_ring->tx_bi, 0, bi_size); in i40e_clean_tx_ring()
831 kfree(tx_ring->tx_bi); in i40e_free_tx_resources()
832 tx_ring->tx_bi = NULL; in i40e_free_tx_resources()
941 tx_buf = &tx_ring->tx_bi[i]; in i40e_clean_tx_irq()
995 tx_buf = tx_ring->tx_bi; in i40e_clean_tx_irq()
1015 tx_buf = tx_ring->tx_bi; in i40e_clean_tx_irq()
[all …]
Di40e_txrx.h331 struct i40e_tx_buffer *tx_bi; member
Di40e_main.c4408 tx_buf = &tx_ring->tx_bi[i]; in i40e_clean_fdir_tx_irq()
4438 tx_buf = tx_ring->tx_bi; in i40e_clean_fdir_tx_irq()
4462 tx_buf = tx_ring->tx_bi; in i40e_clean_fdir_tx_irq()
/Linux-v6.6/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c63 if (!tx_ring->tx_bi) in iavf_clean_tx_ring()
68 iavf_unmap_and_free_tx_resource(tx_ring, &tx_ring->tx_bi[i]); in iavf_clean_tx_ring()
71 memset(tx_ring->tx_bi, 0, bi_size); in iavf_clean_tx_ring()
95 kfree(tx_ring->tx_bi); in iavf_free_tx_resources()
96 tx_ring->tx_bi = NULL; in iavf_free_tx_resources()
220 tx_buf = &tx_ring->tx_bi[i]; in iavf_clean_tx_irq()
270 tx_buf = tx_ring->tx_bi; in iavf_clean_tx_irq()
290 tx_buf = tx_ring->tx_bi; in iavf_clean_tx_irq()
657 WARN_ON(tx_ring->tx_bi); in iavf_setup_tx_descriptors()
659 tx_ring->tx_bi = kzalloc(bi_size, GFP_KERNEL); in iavf_setup_tx_descriptors()
[all …]
Diavf_txrx.h333 struct iavf_tx_buffer *tx_bi; member