Lines Matching +full:waking +full:- +full:up
1 /* SPDX-License-Identifier: GPL-2.0 */
8 * DOC: Lockless queue stopping / waking helpers.
12 * and waking netdev queues without full lock protection.
15 * wake attempts. The try-stop should happen from the xmit handler,
16 * while wake up should be triggered from NAPI poll context.
19 * The try-stop side is expected to run from the xmit handler and therefore
23 * The waking side does not have similar context restrictions.
51 _res = -1; \
57 * netif_txq_maybe_stop() - locklessly stop a Tx queue, if needed
62 * @start_thrs: minimal number of descriptors to re-enable the queue, can be
63 * equal to @stop_thrs or higher to avoid frequent waking
67 * return up-to-date information when evaluated!
73 * -1 if the queue was re-enabled (raced with waking)
99 * __netif_txq_completed_wake() - locklessly wake a Tx queue, if needed
104 * @start_thrs: minimal number of descriptors to re-enable the queue
106 * not be woken up even if descriptors are available
110 * return up-to-date information when evaluated!
114 * 0 if the queue was woken up
116 * -1 if the queue was left unchanged (@start_thrs not reached)
130 _res = -1; \