-
Notifications
You must be signed in to change notification settings - Fork 395
T7999: VPP add support iavf driver #4848
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
base: current
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -28,6 +28,12 @@ | |
| from vyos.vpp.utils import human_memory_to_bytes, bytes_to_human_memory | ||
|
|
||
|
|
||
| # Community-tested DPDK drivers / not officially supported by VyOS | ||
| community_drivers_dpdk: list[str] = [ | ||
| 'iavf', | ||
| ] | ||
|
|
||
|
|
||
| def verify_vpp_remove_kernel_interface(config: dict): | ||
| """Common verify for removed kernel-interfaces. | ||
| Verify that removed kernel interface are not used in 'vpp kernel-interfaces'. | ||
|
|
@@ -172,6 +178,12 @@ def verify_dev_driver(iface_name: str, driver_type: str) -> bool: | |
| if driver_type == 'dpdk': | ||
| if driver in drivers_dpdk: | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Driver
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have done some refactoring of my PR |
||
| return True | ||
| if driver in community_drivers_dpdk: | ||
| Warning( | ||
| f"Driver '{driver}' on interface {iface_name} is community-supported and not tested by VyOS. " | ||
| f"This disables official support for this system." | ||
| ) | ||
| return True | ||
| elif driver_type == 'xdp': | ||
| if driver in drivers_xdp: | ||
| return True | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.