On Wed, 29 Apr 2026 01:49:55 -0700 Wei Hu <[email protected]> wrote:
> Register callbacks for RTE_ETH_EVENT_ERR_RECOVERING, > RTE_ETH_EVENT_RECOVERY_SUCCESS, and RTE_ETH_EVENT_RECOVERY_FAILED > events on the VF port to handle MANA service resets. > > - On ERR_RECOVERING: switch data path to synthetic but keep the > VF device attached in DPDK > - On RECOVERY_SUCCESS: switch data path back to VF > - On RECOVERY_FAILED: do full VF removal (same as INTR_RMV) > - Unregister all recovery callbacks during detach, removal, and > close > > This ensures that during a service reset (kernel suspend/resume > without PCI remove), netvsc keeps the VF attached and seamlessly > switches back to it after recovery, without requiring a PCI > hot-add event. > > Signed-off-by: Long Li <[email protected]> > Signed-off-by: Wei Hu <[email protected]> > --- This patch is failing build. Clang with lock annotations is seeing problems

