-
Notifications
You must be signed in to change notification settings - Fork 394
T8030: VPP: Check support for changed driver too #4866
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
Conversation
|
👍 |
|
Fix works for me, nic driver gets verified now |
sever-sever
left a comment
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.
Add verification driver check on the step of the changing driver
DPDK -> XDP, XDP -> DPDK
zdc
left a comment
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.
Can it be a situation when original_driver in persist_config is unknown at all?
I am recalling that a few months ago, we had a change (or discussion only) to store driver details unconditionally, not only for NICs that need to override a driver, specifically because we need it in multiple places.
If so, then we can drop from the verification get_eth_driver()
I haven't seen this situation yet.
We store information about |
|
CI integration 👍 passed! Details
|
zdc
left a comment
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.
I have not tested it, but the logic and code looks totally OK for me now.
Change summary
Types of changes
Related Task(s)
Related PR(s)
How to test / Smoketest result
NIC e1000
Before the fix, when we changed driver type there was an error and VPP reloaded to previous configuration because original NIC does not support XDP:
After the fix:
Checklist: