Lines Matching refs:refillq

609 static void idpf_rx_post_buf_refill(struct idpf_sw_queue *refillq, u16 buf_id)  in idpf_rx_post_buf_refill()  argument
611 u32 nta = refillq->next_to_use; in idpf_rx_post_buf_refill()
614 refillq->ring[nta] = in idpf_rx_post_buf_refill()
617 idpf_queue_has(GEN_CHK, refillq)); in idpf_rx_post_buf_refill()
619 if (unlikely(++nta == refillq->desc_count)) { in idpf_rx_post_buf_refill()
621 idpf_queue_change(GEN_CHK, refillq); in idpf_rx_post_buf_refill()
624 refillq->next_to_use = nta; in idpf_rx_post_buf_refill()
1513 struct idpf_sw_queue *refillq = in idpf_rxq_group_alloc() local
1516 refillq->desc_count = in idpf_rxq_group_alloc()
1518 idpf_queue_set(GEN_CHK, refillq); in idpf_rxq_group_alloc()
1519 idpf_queue_set(RFL_GEN_CHK, refillq); in idpf_rxq_group_alloc()
1520 refillq->ring = kcalloc(refillq->desc_count, in idpf_rxq_group_alloc()
1521 sizeof(*refillq->ring), in idpf_rxq_group_alloc()
1523 if (!refillq->ring) { in idpf_rxq_group_alloc()
1539 rx_qgrp->splitq.rxq_sets[j]->refillq[0] = in idpf_rxq_group_alloc()
1542 rx_qgrp->splitq.rxq_sets[j]->refillq[1] = in idpf_rxq_group_alloc()
3220 struct idpf_sw_queue *refillq = NULL; in idpf_rx_splitq_clean() local
3260 refillq = rxq_set->refillq[bufq_id]; in idpf_rx_splitq_clean()
3324 idpf_rx_post_buf_refill(refillq, buf_id); in idpf_rx_splitq_clean()
3417 struct idpf_sw_queue *refillq) in idpf_rx_clean_refillq() argument
3421 u16 ntc = refillq->next_to_clean; in idpf_rx_clean_refillq()
3427 while (likely(cleaned < refillq->desc_count)) { in idpf_rx_clean_refillq()
3428 u32 buf_id, refill_desc = refillq->ring[ntc]; in idpf_rx_clean_refillq()
3431 if (idpf_queue_has(RFL_GEN_CHK, refillq) != in idpf_rx_clean_refillq()
3440 if (unlikely(++ntc == refillq->desc_count)) { in idpf_rx_clean_refillq()
3441 idpf_queue_change(RFL_GEN_CHK, refillq); in idpf_rx_clean_refillq()
3468 refillq->next_to_clean = ntc; in idpf_rx_clean_refillq()