Lines Matching refs:txq
34 #define netif_txq_try_stop(txq, get_desc, start_thrs) \
38 netif_tx_stop_queue(txq); \
50 netif_tx_start_queue(txq); \
58 * @txq: struct netdev_queue to stop/start
75 #define netif_txq_maybe_stop(txq, get_desc, stop_thrs, start_thrs) \
81 _res = netif_txq_try_stop(txq, get_desc, start_thrs); \
100 * @txq: struct netdev_queue to stop/start
118 #define __netif_txq_completed_wake(txq, pkts, bytes, \
128 netdev_txq_completed_mb(txq, pkts, bytes); \
133 if (unlikely(netif_tx_queue_stopped(txq)) && \
135 netif_tx_wake_queue(txq); \
142 #define netif_txq_completed_wake(txq, pkts, bytes, get_desc, start_thrs) \
143 __netif_txq_completed_wake(txq, pkts, bytes, get_desc, start_thrs, false)
149 struct netdev_queue *txq; \
151 txq = netdev_get_tx_queue(dev, idx); \
152 netif_txq_try_stop(txq, get_desc, start_thrs); \
157 struct netdev_queue *txq; \
159 txq = netdev_get_tx_queue(dev, idx); \
160 netif_txq_maybe_stop(txq, get_desc, stop_thrs, start_thrs); \
166 struct netdev_queue *txq; \
168 txq = netdev_get_tx_queue(dev, idx); \
169 netif_txq_completed_wake(txq, pkts, bytes, \