Thanks Guilherme for notification. Viktor, Thanks for the analysis. I am trying to understand the context. Below is the sequence that I see in the code (apply_sriov_config)
Step-1: Update sriov_nmvfs ==> By end of the line execution, new VFs are created and bound to drivers Step-2: Unbind VF driver calls are made (if mode switch is needed) Step-3: Swich to eswitch mode Step-4: Rebind service fails Here in both Step-1 and Step-2, at end of their execution, the bind and unbind would have been completed - Synchronous. With the VFs in unbinded state, step-3 switches to eswitch mode. By the time Step-4 executes there shall be no asynchronous pending executions. I do not see how this causes invalid state or timeout. Is there a testflinger machine where this issue is reproducible. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2166228 Title: Mellanox NIC is unable to enter switchdev mode To manage notifications about this bug go to: https://bugs.launchpad.net/netplan/+bug/2166228/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
