Searched refs:tx_bi (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_xsk.c | 400 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/ |
D | i40e_xsk.c | 570 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 …]
|
D | i40e_txrx.c | 121 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 …]
|
D | i40e_txrx.h | 330 struct i40e_tx_buffer *tx_bi; member
|
D | i40e_main.c | 4404 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/ |
D | iavf_txrx.c | 63 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 …]
|
D | iavf_txrx.h | 333 struct iavf_tx_buffer *tx_bi; member
|