Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c343 int hw_cidx = ntohs(READ_ONCE(q->stat->cidx)); in reclaimable() local
344 hw_cidx -= q->cidx; in reclaimable()
345 return hw_cidx < 0 ? hw_cidx + q->size : hw_cidx; in reclaimable()
1421 unsigned int reclaimed, hw_cidx; in t4_sge_eth_txq_egress_update() local
1431 hw_cidx = ntohs(READ_ONCE(q->stat->cidx)); in t4_sge_eth_txq_egress_update()
1432 hw_in_use = q->pidx - hw_cidx; in t4_sge_eth_txq_egress_update()
2110 int hw_cidx = ntohs(READ_ONCE(q->stat->cidx)); in reclaim_completed_tx_imm() local
2111 int reclaim = hw_cidx - q->cidx; in reclaim_completed_tx_imm()
2117 q->cidx = hw_cidx; in reclaim_completed_tx_imm()
Dcxgb4_main.c2233 u16 hw_pidx, hw_cidx; in cxgb4_sync_txq_pidx() local
2236 ret = read_eq_indices(adap, qid, &hw_pidx, &hw_cidx); in cxgb4_sync_txq_pidx()
2521 u16 hw_pidx, hw_cidx; in sync_txq_pidx() local
2525 ret = read_eq_indices(adap, (u16)q->cntxt_id, &hw_pidx, &hw_cidx); in sync_txq_pidx()
/linux-6.6.21/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()