Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to switch vfio-pci to netdevice in policy #244

Closed
mskrocki opened this issue Feb 5, 2022 · 1 comment
Closed

Unable to switch vfio-pci to netdevice in policy #244

mskrocki opened this issue Feb 5, 2022 · 1 comment

Comments

@mskrocki
Copy link
Contributor

mskrocki commented Feb 5, 2022

Unable to change policy from vfio-pci to netdevice. When this is done the config daemon loops infinitely unable to recover.
Changing back to vfio-pci, removing the policy or changing the numVFs fixes this issue.

setVfAdminMac assumes that VFs are always using default kernel module, for the purpose of identifying the name of the VFs link. This is not the case when numVFs did not change and VFs are NOT reset, here. The daemon hangs here. Inside the setSriovNumVfs we are always resetting the VF number to 0.

This issue is introduced by 022c33a

Would like to know what should be the proper solution here:

  • should we always reset VFs (set to zero), or
  • change setVfAdminMac to use random MAC address if link is not found
  • any other option???
@mskrocki
Copy link
Contributor Author

mskrocki commented Feb 5, 2022

/cc @pliurh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant