Re: [PATCH v4] PCI: endpoint: pci-epf-vntb: Track link state from both sides
From: Manivannan Sadhasivam
Date: Thu Oct 15 2026 - 11:46:34 EST
On Thu, 15 Oct 2026 23:27:16 +0900, Koichiro Den wrote:
> The control-region link status is currently updated only by
> COMMAND_LINK_UP and COMMAND_LINK_DOWN from the HOST. The virtual
> NTB link callbacks are empty. Consequently, the HOST can see the link as
> up before the VHOST has enabled it, and ntb_link_disable() on the VHOST
> leaves LINK_STATUS_UP set without notifying either NTB client.
>
> ntb_netdev can hide this device-level state bug because ntb_transport uses
> a separate per-QP LINK_DOWN_FLAG message. Use ntb_tool to observe the
> device link state directly:
>
> [...]
Applied, thanks!
[1/1] PCI: endpoint: pci-epf-vntb: Track link state from both sides
commit: f9eabc48327fae33cf0a02a8f312c24505dc413b
Best regards,
--
மணிவண்ணன் சதாசிவம்