Lines Matching +full:waking +full:- +full:up
1 /* SPDX-License-Identifier: GPL-2.0 */
8 * struct netdev_config - queue-related configuration for a netdev
61 * struct netdev_stat_ops - netdev ops for fine grained stats
67 * on entry (specifically they are *not* zero-initialized). Drivers should
72 * queues are queried by the per-queue callbacks. This means that per-queue
73 * statistics will not generally add up to the total number of events for
79 * is issued to collect the delta, and then a series of per-queue callbacks.
89 * the @get_base_stats and subsequent per-queue calls are performed
92 * Device drivers are encouraged to reset the per-queue statistics when
94 * per-queue statistics is currently to detect traffic imbalance.
113 * struct netdev_queue_mgmt_ops - netdev ops for queue management
148 * DOC: Lockless queue stopping / waking helpers.
152 * and waking netdev queues without full lock protection.
155 * wake attempts. The try-stop should happen from the xmit handler,
156 * while wake up should be triggered from NAPI poll context.
159 * The try-stop side is expected to run from the xmit handler and therefore
163 * The waking side does not have similar context restrictions.
191 _res = -1; \
197 * netif_txq_maybe_stop() - locklessly stop a Tx queue, if needed
202 * @start_thrs: minimal number of descriptors to re-enable the queue, can be
203 * equal to @stop_thrs or higher to avoid frequent waking
207 * return up-to-date information when evaluated!
213 * -1 if the queue was re-enabled (raced with waking)
239 * __netif_txq_completed_wake() - locklessly wake a Tx queue, if needed
244 * @start_thrs: minimal number of descriptors to re-enable the queue
246 * not be woken up even if descriptors are available
250 * return up-to-date information when evaluated!
254 * 0 if the queue was woken up
256 * -1 if the queue was left unchanged (@start_thrs not reached)
270 _res = -1; \