Lines Matching refs:tx_bi
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()
1426 WARN_ON(tx_ring->tx_bi); in i40e_setup_tx_descriptors()
1428 tx_ring->tx_bi = kzalloc(bi_size, GFP_KERNEL); in i40e_setup_tx_descriptors()
1429 if (!tx_ring->tx_bi) in i40e_setup_tx_descriptors()
1455 kfree(tx_ring->tx_bi); in i40e_setup_tx_descriptors()
1456 tx_ring->tx_bi = NULL; in i40e_setup_tx_descriptors()
3512 struct i40e_tx_buffer *tx_bi; in i40e_tx_map() local
3530 tx_bi = first; in i40e_tx_map()
3539 dma_unmap_len_set(tx_bi, len, size); in i40e_tx_map()
3540 dma_unmap_addr_set(tx_bi, dma, dma); in i40e_tx_map()
3588 tx_bi = &tx_ring->tx_bi[i]; in i40e_tx_map()
3643 tx_bi = &tx_ring->tx_bi[i]; in i40e_tx_map()
3644 i40e_unmap_and_free_tx_resource(tx_ring, tx_bi); in i40e_tx_map()
3645 if (tx_bi == first) in i40e_tx_map()
3718 struct i40e_tx_buffer *tx_head = &xdp_ring->tx_bi[index]; in i40e_xmit_xdp_ring()
3719 struct i40e_tx_buffer *tx_bi = tx_head; in i40e_xmit_xdp_ring() local
3741 dma_unmap_len_set(tx_bi, len, size); in i40e_xmit_xdp_ring()
3742 dma_unmap_addr_set(tx_bi, dma, dma); in i40e_xmit_xdp_ring()
3754 tx_bi = &xdp_ring->tx_bi[index]; in i40e_xmit_xdp_ring()
3779 tx_bi = &xdp_ring->tx_bi[index]; in i40e_xmit_xdp_ring()
3780 if (dma_unmap_len(tx_bi, len)) in i40e_xmit_xdp_ring()
3782 dma_unmap_addr(tx_bi, dma), in i40e_xmit_xdp_ring()
3783 dma_unmap_len(tx_bi, len), in i40e_xmit_xdp_ring()
3785 dma_unmap_len_set(tx_bi, len, 0); in i40e_xmit_xdp_ring()
3786 if (tx_bi == tx_head) in i40e_xmit_xdp_ring()
3844 first = &tx_ring->tx_bi[tx_ring->next_to_use]; in i40e_xmit_frame_ring()