Searched refs:reclaim_idx (Results 1 – 1 of 1) sorted by relevance
| /linux/drivers/net/ethernet/fungible/funeth/ |
| H A D | funeth_tx.c | 426 unsigned int head, limit, reclaim_idx; in fun_txq_reclaim() local 431 for (head = txq_hw_head(q), reclaim_idx = q->cons_cnt & q->mask; in fun_txq_reclaim() 432 head != reclaim_idx && npkts < limit; head = txq_hw_head(q)) { in fun_txq_reclaim() 441 unsigned int pkt_desc = fun_unmap_pkt(q, reclaim_idx); in fun_txq_reclaim() 442 struct sk_buff *skb = q->info[reclaim_idx].skb; in fun_txq_reclaim() 444 trace_funeth_tx_free(q, reclaim_idx, pkt_desc, head); in fun_txq_reclaim() 449 reclaim_idx = (reclaim_idx + pkt_desc) & q->mask; in fun_txq_reclaim() 451 } while (reclaim_idx != head && npkts < limit); in fun_txq_reclaim() 464 return reclaim_idx != head; in fun_txq_reclaim() 486 unsigned int npkts = 0, ndesc = 0, head, reclaim_idx; in fun_xdpq_clean() local [all …]
|