Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_xsk.c570 struct i40e_tx_buffer *tx_bi) in i40e_clean_xdp_tx_buffer() argument
572 xdp_return_frame(tx_bi->xdpf); in i40e_clean_xdp_tx_buffer()
575 dma_unmap_addr(tx_bi, dma), in i40e_clean_xdp_tx_buffer()
576 dma_unmap_len(tx_bi, len), DMA_TO_DEVICE); in i40e_clean_xdp_tx_buffer()
577 dma_unmap_len_set(tx_bi, len, 0); in i40e_clean_xdp_tx_buffer()
592 struct i40e_tx_buffer *tx_bi; in i40e_clean_xdp_tx_irq() local
610 tx_bi = &tx_ring->tx_bi[ntc]; in i40e_clean_xdp_tx_irq()
612 if (tx_bi->xdpf) { in i40e_clean_xdp_tx_irq()
613 i40e_clean_xdp_tx_buffer(tx_ring, tx_bi); in i40e_clean_xdp_tx_irq()
614 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()
939 tx_buf = &tx_ring->tx_bi[i]; in i40e_clean_tx_irq()
993 tx_buf = tx_ring->tx_bi; in i40e_clean_tx_irq()
1013 tx_buf = tx_ring->tx_bi; in i40e_clean_tx_irq()
[all …]
Di40e_txrx.h330 struct i40e_tx_buffer *tx_bi; member
Di40e_main.c4404 tx_buf = &tx_ring->tx_bi[i]; in i40e_clean_fdir_tx_irq()
4434 tx_buf = tx_ring->tx_bi; in i40e_clean_fdir_tx_irq()
4458 tx_buf = tx_ring->tx_bi; in i40e_clean_fdir_tx_irq()
/linux-6.1.9/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()
202 tx_buf = &tx_ring->tx_bi[i]; in iavf_clean_tx_irq()
252 tx_buf = tx_ring->tx_bi; in iavf_clean_tx_irq()
272 tx_buf = tx_ring->tx_bi; in iavf_clean_tx_irq()
658 WARN_ON(tx_ring->tx_bi); in iavf_setup_tx_descriptors()
660 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