diff options
| author | Koichiro Den <den@valinux.co.jp> | 2026-03-05 18:56:37 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-03-07 06:15:20 +0300 |
| commit | 304132b7a5e6de84737ed4735c124d3d515f8c7a (patch) | |
| tree | f2569ff7e3b47d1d749bdb5ef56a4d9282e37783 /scripts/livepatch | |
| parent | ee970634c7773f248a0a27d8a645500371ae5249 (diff) | |
| download | linux-304132b7a5e6de84737ed4735c124d3d515f8c7a.tar.xz | |
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 'scripts/livepatch')
0 files changed, 0 insertions, 0 deletions
