Lines Matching defs:get_desc
183 #define netif_txq_try_stop(txq, get_desc, start_thrs) \
198 if (unlikely(get_desc >= start_thrs)) { \
208 * @get_desc: get current number of free descriptors (see requirements below!)
215 * @get_desc must be a formula or a function call, it must always
224 #define netif_txq_maybe_stop(txq, get_desc, stop_thrs, start_thrs) \
229 if (unlikely(get_desc < stop_thrs)) \
230 _res = netif_txq_try_stop(txq, get_desc, start_thrs); \
252 * @get_desc: get current number of free descriptors (see requirements below!)
258 * @get_desc must be a formula or a function call, it must always
268 get_desc, start_thrs, down_cond) \
280 if (pkts && likely(get_desc >= start_thrs)) { \
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)
296 #define netif_subqueue_try_stop(dev, idx, get_desc, start_thrs) \
301 netif_txq_try_stop(_txq, get_desc, start_thrs); \
313 #define netif_subqueue_maybe_stop(dev, idx, get_desc, stop_thrs, start_thrs) \
318 netif_txq_maybe_stop(_txq, get_desc, stop_thrs, start_thrs); \
322 get_desc, start_thrs) \
328 get_desc, start_thrs); \