Home
last modified time | relevance | path

Searched refs:hw_cidx (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c399 int hw_cidx = ntohs(READ_ONCE(q->stat->cidx)); in reclaimable() local
400 hw_cidx -= q->cidx; in reclaimable()
401 return hw_cidx < 0 ? hw_cidx + q->size : hw_cidx; in reclaimable()
2014 int hw_cidx = ntohs(READ_ONCE(q->stat->cidx)); in reclaim_completed_tx_imm() local
2015 int reclaim = hw_cidx - q->cidx; in reclaim_completed_tx_imm()
2021 q->cidx = hw_cidx; in reclaim_completed_tx_imm()
Dcxgb4_main.c1836 u16 hw_pidx, hw_cidx; in cxgb4_sync_txq_pidx() local
1839 ret = read_eq_indices(adap, qid, &hw_pidx, &hw_cidx); in cxgb4_sync_txq_pidx()
2124 u16 hw_pidx, hw_cidx; in sync_txq_pidx() local
2128 ret = read_eq_indices(adap, (u16)q->cntxt_id, &hw_pidx, &hw_cidx); in sync_txq_pidx()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c413 int hw_cidx = be16_to_cpu(tq->stat->cidx); in reclaimable() local
414 int reclaimable = hw_cidx - tq->cidx; in reclaimable()