Lines Matching refs:txq_avail
208 static inline unsigned int txq_avail(const struct sge_txq *q) in txq_avail() function
1564 credits = txq_avail(&q->q) - ndesc; in cxgb4_eth_xmit()
1867 credits = txq_avail(&txq->q) - ndesc; in cxgb4_vf_eth_xmit()
2301 left = txq_avail(&eohw_txq->q) - ndesc; in ethofld_hard_xmit()
2642 if (unlikely(txq_avail(&q->q) < TXQ_STOP_THRES)) { in ctrlq_check_stop()
2676 credits = txq_avail(&q->q) - ndesc; in cxgb4_selftest_lb_pkt()
2760 if (unlikely(txq_avail(&q->q) < TXQ_STOP_THRES)) in ctrl_xmit()
2784 BUG_ON(txq_avail(&q->q) < TXQ_STOP_THRES); /* q should be empty */ in restart_ctrlq()
2801 if (unlikely(txq_avail(&q->q) < TXQ_STOP_THRES)) { in restart_ctrlq()
2964 credits = txq_avail(&q->q) - ndesc; in service_ofldq()
3227 credits = txq_avail(&q->q) - ndesc; in ofld_xmit_direct()