Lines Matching +full:wake +full:- +full:device

1 /* SPDX-License-Identifier: GPL-2.0 */
8 * struct netdev_config - queue-related configuration for a netdev
56 u64 wake; member
60 * struct netdev_stat_ops - netdev ops for fine grained stats
66 * on entry (specifically they are *not* zero-initialized). Drivers should
71 * queues are queried by the per-queue callbacks. This means that per-queue
73 * the device. The @get_base_stats callback allows filling in the delta
74 * between events for currently live queues and overall device history.
77 * When the statistics for the entire device are queried, first @get_base_stats
78 * is issued to collect the delta, and then a series of per-queue callbacks.
80 * at the device level, meaning that unlike in queue callbacks, setting
83 * statistics are in fact correct for the entire device (e.g. when history
87 * Device drivers can assume that when collecting total device stats,
88 * the @get_base_stats and subsequent per-queue calls are performed
91 * Device drivers are encouraged to reset the per-queue statistics when
93 * per-queue statistics is currently to detect traffic imbalance.
106 * struct netdev_queue_mgmt_ops - netdev ops for queue management
144 * wake attempts. The try-stop should happen from the xmit handler,
145 * while wake up should be triggered from NAPI poll context.
148 * The try-stop side is expected to run from the xmit handler and therefore
155 * space available, but they do *not* prevent false wake ups when
180 _res = -1; \
186 * netif_txq_maybe_stop() - locklessly stop a Tx queue, if needed
191 * @start_thrs: minimal number of descriptors to re-enable the queue, can be
196 * return up-to-date information when evaluated!
202 * -1 if the queue was re-enabled (raced with waking)
228 * __netif_txq_completed_wake() - locklessly wake a Tx queue, if needed
233 * @start_thrs: minimal number of descriptors to re-enable the queue
239 * return up-to-date information when evaluated!
245 * -1 if the queue was left unchanged (@start_thrs not reached)
259 _res = -1; \