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()
1871 credits = txq_avail(&txq->q) - ndesc; in cxgb4_vf_eth_xmit()
2307 left = txq_avail(&eohw_txq->q) - ndesc; in ethofld_hard_xmit()
2656 if (unlikely(txq_avail(&q->q) < TXQ_STOP_THRES)) { in ctrlq_check_stop()
2690 credits = txq_avail(&q->q) - ndesc; in cxgb4_selftest_lb_pkt()
2774 if (unlikely(txq_avail(&q->q) < TXQ_STOP_THRES)) in ctrl_xmit()
2798 BUG_ON(txq_avail(&q->q) < TXQ_STOP_THRES); /* q should be empty */ in restart_ctrlq()
2815 if (unlikely(txq_avail(&q->q) < TXQ_STOP_THRES)) { in restart_ctrlq()
2983 credits = txq_avail(&q->q) - ndesc; in service_ofldq()
3246 credits = txq_avail(&q->q) - ndesc; in ofld_xmit_direct()