summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorKoichiro Den <den@valinux.co.jp>2026-03-06 00:56:37 +0900
committerJakub Kicinski <kuba@kernel.org>2026-03-06 19:15:20 -0800
commit304132b7a5e6de84737ed4735c124d3d515f8c7a (patch)
treef2569ff7e3b47d1d749bdb5ef56a4d9282e37783 /tools/perf/scripts/python/bin
parentee970634c7773f248a0a27d8a645500371ae5249 (diff)
net: ntb_netdev: Gate subqueue stop/wake by transport link
When ntb_netdev is extended to multiple ntb_transport queue pairs, the netdev carrier can be up as long as at least one QP link is up. In that setup, a given QP may be link-down while the carrier remains on. Make the link event handler start/stop the corresponding netdev TX subqueue and drive carrier state based on whether any QP link is up. Also guard subqueue wake/start points in the TX completion and timer paths so a subqueue is not restarted while its QP link is down. Stop all queues in ndo_open() and let the link event handler wake each subqueue once ntb_transport link negotiation succeeds. Signed-off-by: Koichiro Den <den@valinux.co.jp> Link: https://patch.msgid.link/20260305155639.1885517-3-den@valinux.co.jp Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions