Searched refs:cons_cnt (Results 1 - 3 of 3) sorted by relevance

/linux-master/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_tx.c313 return q->mask - q->prod_cnt + q->cons_cnt;
431 for (head = txq_hw_head(q), reclaim_idx = q->cons_cnt & q->mask;
454 q->cons_cnt += ndesc;
478 db_val = READ_ONCE(q->irq_db_val) | (q->cons_cnt & q->mask);
488 for (head = txq_hw_head(q), reclaim_idx = q->cons_cnt & q->mask;
510 q->cons_cnt += ndesc;
603 while (q->cons_cnt != q->prod_cnt) {
604 unsigned int idx = q->cons_cnt & q->mask;
606 q->cons_cnt += fun_unmap_pkt(q, idx);
614 while (q->cons_cnt !
[all...]
H A Dfuneth_txrx.h123 u32 cons_cnt; /* consumer (cleanup) counter */ member in struct:funeth_txq
158 unsigned int cons_cnt; /* consumer counter */ member in struct:funeth_rx_cache
H A Dfuneth_rx.c54 if (c->prod_cnt - c->cons_cnt <= c->mask && buf->node == numa_mem_id()) {
72 if (c->prod_cnt == c->cons_cnt)
75 buf = &c->bufs[c->cons_cnt & c->mask];
82 c->cons_cnt++;
87 if (c->prod_cnt - c->cons_cnt > c->mask) {
92 c->cons_cnt++;

Completed in 125 milliseconds