-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
networkd: add SR-IOV support #15629
Comments
specifically this seems to be a problem of not being able to manage the sr-iov aspect of interfaces maybe that's interfering somehow. when I set enp4s0f0 up before networkd is (re)started, enp4s0f0v1 is still not set up (pf needs to be up for vf to be up) for enp4s0f0v1.4009 to then be brought up. the dependency is as follows systemd is set up to manage enp4s0f0v1 and enp4s0f0v1.4009, enp4s0f0 is set up by a helper script with the following.
by setting the helper script to also up the vf interfaces (all 63 of them...) networkd can set up the vlan. |
How do you configure the pf in the script? |
That aspect had to be manually managed (another customer oneshot systemd service that runs before networking is started as systemd does not support configuring sr-iov interfaces. |
We need to support sr-iov . |
@ssahani Are there any good reference to setup sr-iov? I am not familiar with sr-iov, and I do not have any device which support sr-iov. |
Well even I am not . We can simulate it via netdevsim. I think https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/virtualization_host_configuration_and_guest_installation_guide/chap-virtualization_host_configuration_and_guest_installation_guide-sr_iov
|
We already have netdevsim support in networkd. So I think we can work on it. |
Oh nice! Thanks. |
systemd version the issue has been seen with
Used distribution
Expected behaviour you didn't see
Unexpected behaviour you saw
Steps to reproduce the problem
If I set
enp4s0f0v1
up manually,enp4s0f0v1.4009
is created as expectedThe text was updated successfully, but these errors were encountered: