Searched refs:tx_bi (Results 1 – 7 of 7) sorted by relevance
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_xsk.c | 387 struct ixgbe_tx_buffer *tx_bi; in ixgbe_xmit_zc() local 408 tx_bi = &xdp_ring->tx_buffer_info[xdp_ring->next_to_use]; in ixgbe_xmit_zc() 409 tx_bi->bytecount = desc.len; in ixgbe_xmit_zc() 410 tx_bi->xdpf = NULL; in ixgbe_xmit_zc() 411 tx_bi->gso_segs = 1; in ixgbe_xmit_zc() 439 struct ixgbe_tx_buffer *tx_bi) in ixgbe_clean_xdp_tx_buffer() argument 441 xdp_return_frame(tx_bi->xdpf); in ixgbe_clean_xdp_tx_buffer() 443 dma_unmap_addr(tx_bi, dma), in ixgbe_clean_xdp_tx_buffer() 444 dma_unmap_len(tx_bi, len), DMA_TO_DEVICE); in ixgbe_clean_xdp_tx_buffer() 445 dma_unmap_len_set(tx_bi, len, 0); in ixgbe_clean_xdp_tx_buffer() [all …]
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_xsk.c | 460 struct i40e_tx_buffer *tx_bi; in i40e_xmit_zc() local 472 tx_bi = &xdp_ring->tx_bi[xdp_ring->next_to_use]; in i40e_xmit_zc() 473 tx_bi->bytecount = desc.len; in i40e_xmit_zc() 483 total_bytes += tx_bi->bytecount; in i40e_xmit_zc() 509 struct i40e_tx_buffer *tx_bi) in i40e_clean_xdp_tx_buffer() argument 511 xdp_return_frame(tx_bi->xdpf); in i40e_clean_xdp_tx_buffer() 514 dma_unmap_addr(tx_bi, dma), in i40e_clean_xdp_tx_buffer() 515 dma_unmap_len(tx_bi, len), DMA_TO_DEVICE); in i40e_clean_xdp_tx_buffer() 516 dma_unmap_len_set(tx_bi, len, 0); in i40e_clean_xdp_tx_buffer() 531 struct i40e_tx_buffer *tx_bi; in i40e_clean_xdp_tx_irq() local [all …]
|
D | i40e_txrx.c | 123 first = &tx_ring->tx_bi[i]; in i40e_program_fdir_filter() 129 tx_buf = &tx_ring->tx_bi[i]; in i40e_program_fdir_filter() 643 if (!tx_ring->tx_bi) in i40e_clean_tx_ring() 649 &tx_ring->tx_bi[i]); in i40e_clean_tx_ring() 653 memset(tx_ring->tx_bi, 0, bi_size); in i40e_clean_tx_ring() 677 kfree(tx_ring->tx_bi); in i40e_free_tx_resources() 678 tx_ring->tx_bi = NULL; in i40e_free_tx_resources() 785 tx_buf = &tx_ring->tx_bi[i]; in i40e_clean_tx_irq() 839 tx_buf = tx_ring->tx_bi; in i40e_clean_tx_irq() 859 tx_buf = tx_ring->tx_bi; in i40e_clean_tx_irq() [all …]
|
D | i40e_txrx.h | 327 struct i40e_tx_buffer *tx_bi; member
|
D | i40e_main.c | 4230 tx_buf = &tx_ring->tx_bi[i]; in i40e_clean_fdir_tx_irq() 4260 tx_buf = tx_ring->tx_bi; in i40e_clean_fdir_tx_irq() 4284 tx_buf = tx_ring->tx_bi; in i40e_clean_fdir_tx_irq()
|
/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() 626 WARN_ON(tx_ring->tx_bi); in iavf_setup_tx_descriptors() 628 tx_ring->tx_bi = kzalloc(bi_size, GFP_KERNEL); in iavf_setup_tx_descriptors() [all …]
|
D | iavf_txrx.h | 332 struct iavf_tx_buffer *tx_bi; member
|