Lines Matching full:ntc
1733 #define idpf_tx_splitq_clean_bump_ntc(txq, ntc, desc, buf) \ argument
1735 if (unlikely(++(ntc) == (txq)->desc_count)) { \
1736 ntc = 0; \
1774 u32 ntc = tx_q->next_to_clean; in idpf_tx_splitq_clean() local
1783 tx_desc = &tx_q->flex_tx[ntc]; in idpf_tx_splitq_clean()
1785 tx_buf = &tx_q->tx_buf[ntc]; in idpf_tx_splitq_clean()
1810 while (ntc != eop_idx) { in idpf_tx_splitq_clean()
1811 idpf_tx_splitq_clean_bump_ntc(tx_q, ntc, in idpf_tx_splitq_clean()
1819 while (ntc != eop_idx) { in idpf_tx_splitq_clean()
1820 idpf_tx_splitq_clean_bump_ntc(tx_q, ntc, in idpf_tx_splitq_clean()
1829 idpf_tx_splitq_clean_bump_ntc(tx_q, ntc, tx_desc, tx_buf); in idpf_tx_splitq_clean()
1833 tx_q->next_to_clean = ntc; in idpf_tx_splitq_clean()
1838 #define idpf_tx_clean_buf_ring_bump_ntc(txq, ntc, buf) \ argument
1841 (ntc)++; \
1842 if (unlikely((ntc) == (txq)->desc_count)) { \
1844 ntc = 0; \
1871 u16 ntc, orig_idx = idx; in idpf_tx_clean_buf_ring() local
1900 * buffer, let's bump ntc once and start the comparison from there. in idpf_tx_clean_buf_ring()
1902 ntc = txq->next_to_clean; in idpf_tx_clean_buf_ring()
1903 tx_buf = &txq->tx_buf[ntc]; in idpf_tx_clean_buf_ring()
1906 idpf_tx_clean_buf_ring_bump_ntc(txq, ntc, tx_buf); in idpf_tx_clean_buf_ring()
1909 * If ntc still points to a different "first" buffer, clean the in idpf_tx_clean_buf_ring()
1975 s16 ntc = complq->next_to_clean; in idpf_tx_clean_complq() local
1982 tx_desc = &complq->comp[ntc]; in idpf_tx_clean_complq()
1983 ntc -= complq->desc_count; in idpf_tx_clean_complq()
2042 ntc++; in idpf_tx_clean_complq()
2043 if (unlikely(!ntc)) { in idpf_tx_clean_complq()
2044 ntc -= complq->desc_count; in idpf_tx_clean_complq()
2092 ntc += complq->desc_count; in idpf_tx_clean_complq()
2093 complq->next_to_clean = ntc; in idpf_tx_clean_complq()
3214 u16 ntc = rxq->next_to_clean; in idpf_rx_splitq_clean() local
3229 rx_desc = &rxq->rx[ntc].flex_adv_nic_3_wb; in idpf_rx_splitq_clean()
3246 IDPF_RX_BUMP_NTC(rxq, ntc); in idpf_rx_splitq_clean()
3325 IDPF_RX_BUMP_NTC(rxq, ntc); in idpf_rx_splitq_clean()
3355 rxq->next_to_clean = ntc; in idpf_rx_splitq_clean()
3421 u16 ntc = refillq->next_to_clean; in idpf_rx_clean_refillq() local
3428 u32 buf_id, refill_desc = refillq->ring[ntc]; in idpf_rx_clean_refillq()
3440 if (unlikely(++ntc == refillq->desc_count)) { in idpf_rx_clean_refillq()
3442 ntc = 0; in idpf_rx_clean_refillq()
3468 refillq->next_to_clean = ntc; in idpf_rx_clean_refillq()