Skip to content

Commit 2f081a8

Browse files
committed
T7999: VPP add support iavf driver
Add support the iavf driver (virtual function)
1 parent dac6ca1 commit 2f081a8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

python/vyos/vpp/config_verify.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,20 @@ def verify_dev_driver(iface_name: str, driver_type: str) -> bool:
167167
'vmxnet3',
168168
]
169169

170+
# Community-tested / not officially supported by VyOS
171+
community_drivers_dpdk: list[str] = [
172+
'iavf',
173+
]
174+
170175
driver: str = get_eth_driver(iface_name)
171176

172177
if driver_type == 'dpdk':
173178
if driver in drivers_dpdk:
179+
# Warning for community drivers
180+
if driver in community_drivers_dpdk:
181+
Warning(
182+
f"Driver '{driver}' on interface {iface_name} is community-supported and not tested by VyOS"
183+
)
174184
return True
175185
elif driver_type == 'xdp':
176186
if driver in drivers_xdp:

0 commit comments

Comments
 (0)