On 3/1/2024 10:28 AM, [email protected] wrote:
From: Ross Lagerwall <[email protected]>I'm unsure about the error path if `pci_enable_sriov()` fails. Do we have to undo what `ice_start_vfs()` has started? I can see that `ice_start_vfs()` has a teardown at the end, so maybe we need the same code if `pci_enable_sriov()` fails?
Yes, we should teardown the ice_start_vfs() work if pci_enable_sriov() fails.
Thanks, Tony
