Lines Matching defs:txq
183 #define netif_txq_try_stop(txq, get_desc, start_thrs) \
187 netif_tx_stop_queue(txq); \
199 netif_tx_start_queue(txq); \
207 * @txq: struct netdev_queue to stop/start
224 #define netif_txq_maybe_stop(txq, get_desc, stop_thrs, start_thrs) \
230 _res = netif_txq_try_stop(txq, get_desc, start_thrs); \
249 * @txq: struct netdev_queue to stop/start
267 #define __netif_txq_completed_wake(txq, pkts, bytes, \
277 netdev_txq_completed_mb(txq, pkts, bytes); \
282 if (unlikely(netif_tx_queue_stopped(txq)) && \
284 netif_tx_wake_queue(txq); \
291 #define netif_txq_completed_wake(txq, pkts, bytes, get_desc, start_thrs) \
292 __netif_txq_completed_wake(txq, pkts, bytes, get_desc, start_thrs, false)
307 struct netdev_queue *txq;
309 txq = netdev_get_tx_queue(dev, idx);
310 netdev_tx_sent_queue(txq, bytes);