diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2026-01-22 03:51:11 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-01-23 22:49:02 +0300 |
| commit | fc1a78a25c5e3c92132f2975c7b547e67305fcf4 (patch) | |
| tree | 280ca94332c3df79fcb20b7458d1fad1f0d41f06 /include/linux/workqueue_api.h | |
| parent | da7772a2b4ad2ee328b1fbb44e538ed1ce2a766f (diff) | |
| download | linux-fc1a78a25c5e3c92132f2975c7b547e67305fcf4.tar.xz | |
net: use netdev_queue_config() for mp restart
We should follow the prepare/commit approach for queue configuration.
The qcfg struct should be added to dev->cfg rather than directly to
queue objects so that we can clone and discard the pending config
easily.
Remove the qcfg in struct netdev_rx_queue, and switch remaining callers
to netdev_queue_config(). netdev_queue_config() will construct the qcfg
on the fly based on device defaults and state of the queue.
ndo_default_qcfg becomes optional because having the callback itself
does not have any meaningful semantics to us.
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
Link: https://patch.msgid.link/20260122005113.2476634-5-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions
