-
Notifications
You must be signed in to change notification settings - Fork 114
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
Ensure switchdev service dependencies #224
Ensure switchdev service dependencies #224
Conversation
It is found that VF netdev disappears after it was successfully created (observed via ip link show). While investigating the root cause, setting addtional dependency in NetworkManager.service as temporary fix to the issue. This commits also changes service and script names to lower case Signed-off-by: Zenghui Shi <[email protected]>
Thanks for your PR,
To skip the vendors CIs use one of:
|
Wants=switchdev-configuration-before-NM.service | ||
After=switchdev-configuration-before-NM.service | ||
Wants=switchdev-configuration-before-nm.service | ||
Wants=switchdev-configuration-after-nm.service |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the testing, yes, this is required to ensure VF netdev driver is binded after reboot
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pliurh wdyt?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
It is found that VF netdev disappears after it was successfully
created (observed via ip link show). While investigating the root
cause, setting addtional dependency in NetworkManager.service
as temporary fix to the issue.
This commits also changes service and script names to lower case
Signed-off-by: Zenghui Shi [email protected]