Lines Matching +full:rx +full:- +full:queues +full:- +full:config
1 /* SPDX-License-Identifier: GPL-2.0 */
50 * struct netdev_stat_ops - netdev ops for fine grained stats
51 * @get_queue_stats_rx: get stats for a given Rx queue
56 * on entry (specifically they are *not* zero-initialized). Drivers should
61 * queues are queried by the per-queue callbacks. This means that per-queue
64 * between events for currently live queues and overall device history.
66 * transferred outside of the main set of queues used by the networking stack.
68 * is issued to collect the delta, and then a series of per-queue callbacks.
78 * the @get_base_stats and subsequent per-queue calls are performed
81 * Device drivers are encouraged to reset the per-queue statistics when
82 * number of queues change. This is because the primary use case for
83 * per-queue statistics is currently to detect traffic imbalance.
91 struct netdev_queue_stats_rx *rx,
96 * struct netdev_queue_mgmt_ops - netdev ops for queue management
100 * @ndo_queue_mem_alloc: Allocate memory for an RX queue at the specified index.
103 * @ndo_queue_mem_free: Free memory from an RX queue.
105 * @ndo_queue_start: Start an RX queue with the specified memory and at the
108 * @ndo_queue_stop: Stop the RX queue at the specified index. The stopped
131 * and waking netdev queues without full lock protection.
134 * wake attempts. The try-stop should happen from the xmit handler,
138 * The try-stop side is expected to run from the xmit handler and therefore
170 _res = -1; \
176 * netif_txq_maybe_stop() - locklessly stop a Tx queue, if needed
181 * @start_thrs: minimal number of descriptors to re-enable the queue, can be
186 * return up-to-date information when evaluated!
192 * -1 if the queue was re-enabled (raced with waking)
205 * @bytes != 0, regardless of kernel config.
218 * __netif_txq_completed_wake() - locklessly wake a Tx queue, if needed
223 * @start_thrs: minimal number of descriptors to re-enable the queue
229 * return up-to-date information when evaluated!
235 * -1 if the queue was left unchanged (@start_thrs not reached)
249 _res = -1; \