Lines Matching refs:ntc
664 unsigned int ntc; in i40e_clean_xdp_tx_irq() local
678 ntc = tx_ring->next_to_clean; in i40e_clean_xdp_tx_irq()
681 tx_bi = &tx_ring->tx_bi[ntc]; in i40e_clean_xdp_tx_irq()
690 if (++ntc >= tx_ring->count) in i40e_clean_xdp_tx_irq()
691 ntc = 0; in i40e_clean_xdp_tx_irq()
757 u16 ntc = rx_ring->next_to_clean; in i40e_xsk_clean_rx_ring() local
760 while (ntc != ntu) { in i40e_xsk_clean_rx_ring()
761 struct xdp_buff *rx_bi = *i40e_rx_bi(rx_ring, ntc); in i40e_xsk_clean_rx_ring()
764 ntc++; in i40e_xsk_clean_rx_ring()
765 if (ntc >= rx_ring->count) in i40e_xsk_clean_rx_ring()
766 ntc = 0; in i40e_xsk_clean_rx_ring()
776 u16 ntc = tx_ring->next_to_clean, ntu = tx_ring->next_to_use; in i40e_xsk_clean_tx_ring() local
781 while (ntc != ntu) { in i40e_xsk_clean_tx_ring()
782 tx_bi = &tx_ring->tx_bi[ntc]; in i40e_xsk_clean_tx_ring()
791 ntc++; in i40e_xsk_clean_tx_ring()
792 if (ntc >= tx_ring->count) in i40e_xsk_clean_tx_ring()
793 ntc = 0; in i40e_xsk_clean_tx_ring()