Searched defs:reclaimable (Results 1 - 2 of 2) sorted by relevance

/drivers/net/ethernet/chelsio/cxgb4/
H A Dsge.c358 * Return the number of reclaimable descriptors in a Tx queue.
360 static inline int reclaimable(const struct sge_txq *q) function
380 int avail = reclaimable(q);
1955 int avail = reclaimable(&q->q);
/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dsge.c418 * Return the number of reclaimable descriptors in a TX queue.
420 static inline int reclaimable(const struct sge_txq *tq) function
423 int reclaimable = hw_cidx - tq->cidx; local
424 if (reclaimable < 0)
425 reclaimable += tq->size;
426 return reclaimable;
443 int avail = reclaimable(tq);
1995 if (reclaimable(&txq->q) && __netif_tx_trylock(txq->txq)) {
1996 int avail = reclaimable(&txq->q);
2017 * If we found too many reclaimable packet
[all...]

Completed in 95 milliseconds