Page MenuHomeVyOS Platform

VPP: Verify driver is not executed if vpp already enabled for this nic
Closed, ResolvedPublicBUG

Description

Driver compatibility verification is not executed when setting driver for interface which already added to vpp - https://github.com/vyos/vyos-1x/blob/cfb2a5ee7fe9bd68498edbb232c3e71160eaeff3/src/conf_mode/vpp.py#L544

vyos@vyos# set vpp sett int eth3 driver dpdk
vyos@vyos# commit
vyos@vyos# set vpp sett int eth3 driver xdp
vyos@vyos# commit
[ vpp ]
WARNING: offload option in eth3 settings is not supported by VPP interfaces. It will be ignored.

WARNING: NOTE: Current dataplane capacity (estimated): 2.1 M IPv4
routes. Exceeding these values will lead to a dataplane out-of-memory
condition and a crash. Extensive use of features like ACLs, NAT and
others may reduce the numbers above. Please read the documentation for
details: https://docs.vyos.io/

An error occurred: VPP API call failed: -12. VPP service will be
restarted with the previous configuration
[[vpp]] failed
Commit failed
[ vpp ]
WARNING: offload option in eth3 settings is not supported by VPP interfaces. It will be ignored.
new

WARNING: NOTE: Current dataplane capacity (estimated): 2.1 M IPv4
routes. Exceeding these values will lead to a dataplane out-of-memory
condition and a crash. Extensive use of features like ACLs, NAT and
others may reduce the numbers above. Please read the documentation for
details: https://docs.vyos.io/



[edit]
vyos@vyos#

If vpp is not enabled on this interface verification is executed:

vyos@vyos# set vpp sett int eth3 driver xdp
vyos@vyos# commit
[ vpp ]
WARNING: offload option in eth3 settings is not supported by VPP interfaces. It will be ignored.
new
Driver xdp is not compatible with interface eth3!
[[vpp]] failed
Commit failed
[edit]

Tested on vmware vm with e1000 nic

Details

Version
2025.11.21-0020-rolling
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)