diff options
| author | Koichiro Den <den@valinux.co.jp> | 2026-03-05 18:56:36 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-03-07 06:15:20 +0300 |
| commit | ee970634c7773f248a0a27d8a645500371ae5249 (patch) | |
| tree | ebee88f100e393a9db05c2f58bb383b32e10c383 /scripts/cleanpatch | |
| parent | 70eba59f92076d84264762d63d30532685943017 (diff) | |
| download | linux-ee970634c7773f248a0a27d8a645500371ae5249.tar.xz | |
net: ntb_netdev: Introduce per-queue context
Prepare ntb_netdev for multi-queue operation by moving queue-pair state
out of struct ntb_netdev.
Introduce struct ntb_netdev_queue to carry the ntb_transport_qp pointer,
the per-QP TX timer and queue id. Pass this object as the callback
context and convert the RX/TX handlers and link event path accordingly.
The probe path allocates a fixed upper bound for netdev queues while
instantiating only a single ntb_transport queue pair, preserving the
previous behavior. Also store client_dev for future queue pair
creation/removal via the ntb_transport API.
Signed-off-by: Koichiro Den <den@valinux.co.jp>
Link: https://patch.msgid.link/20260305155639.1885517-2-den@valinux.co.jp
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions
