Lines Matching refs:ntc
593 unsigned int ntc; in i40e_clean_xdp_tx_irq() local
607 ntc = tx_ring->next_to_clean; in i40e_clean_xdp_tx_irq()
610 tx_bi = &tx_ring->tx_bi[ntc]; in i40e_clean_xdp_tx_irq()
619 if (++ntc >= tx_ring->count) in i40e_clean_xdp_tx_irq()
620 ntc = 0; in i40e_clean_xdp_tx_irq()
687 u16 ntc = rx_ring->next_to_clean; in i40e_xsk_clean_rx_ring() local
690 for ( ; ntc != ntu; ntc = (ntc + 1) & count_mask) { in i40e_xsk_clean_rx_ring()
691 struct xdp_buff *rx_bi = *i40e_rx_bi(rx_ring, ntc); in i40e_xsk_clean_rx_ring()
703 u16 ntc = tx_ring->next_to_clean, ntu = tx_ring->next_to_use; in i40e_xsk_clean_tx_ring() local
708 while (ntc != ntu) { in i40e_xsk_clean_tx_ring()
709 tx_bi = &tx_ring->tx_bi[ntc]; in i40e_xsk_clean_tx_ring()
718 ntc++; in i40e_xsk_clean_tx_ring()
719 if (ntc >= tx_ring->count) in i40e_xsk_clean_tx_ring()
720 ntc = 0; in i40e_xsk_clean_tx_ring()