summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorKoichiro Den <den@valinux.co.jp>2026-03-05 18:56:39 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-07 06:15:20 +0300
commit24d9e73c7e000af7c1f1a1f669bdaa9bd7e88ea5 (patch)
tree938bc6eab25ea872e0fde3e0082db989302c1199 /scripts/objdiff
parentb83bf617dc849f11e7b2f907540017b5aa42d167 (diff)
downloadlinux-24d9e73c7e000af7c1f1a1f669bdaa9bd7e88ea5.tar.xz
net: ntb_netdev: Support ethtool channels for multi-queue
Support dynamic queue pair addition/removal via ethtool channels. Use the combined channel count to control the number of netdev TX/RX queues, each corresponding to a ntb_transport queue pair. When the number of queues is reduced, tear down and free the removed ntb_transport queue pairs (not just deactivate them) so other ntb_transport clients can reuse the freed resources. When the number of queues is increased, create additional queue pairs up to NTB_NETDEV_MAX_QUEUES (=64). The effective limit is determined by the underlying ntb_transport implementation and NTB hardware resources (the number of MWs), so set_channels may return -ENOSPC if no more QPs can be allocated. Keep the default at one queue pair to preserve the previous behavior. Signed-off-by: Koichiro Den <den@valinux.co.jp> Link: https://patch.msgid.link/20260305155639.1885517-5-den@valinux.co.jp Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions