Page MenuHomeVyOS Platform

VPP interface mode interrupt or polling does not work
In progress, HighPublicBUG

Description

VPP interface mode interrupt or polling does not work

set vpp settings interface eth1 driver dpdk 
set vpp settings interface eth1 rx-mode interrupt
commit

commit:

vyos@r14# commit
[ vpp ]
Traceback (most recent call last):
  File "/usr/libexec/vyos/services/vyos-configd", line 139, in run_script
    script.apply(c)
  File "/usr/libexec/vyos//conf_mode/vpp.py", line 517, in apply
    vpp_control.iface_rxmode(iface, rx_mode)
  File "/usr/lib/python3/dist-packages/vyos/vpp/control_vpp.py", line 81, in check_retval_wrapper
    raise VPPValueError(f'VPP API call failed: {return_value.retval}')
vpp_papi.vpp_papi.VPPValueError: VPP API call failed: -9

[[vpp]] failed
Commit failed
[edit]
vyos@r14#

The second bug, if on this step we delete VPP config, the vpp process is still running

vyos@r14# delete vpp 
[edit]
vyos@r14# commit
[edit]
vyos@r14# sudo vppctl
    _______    _        _   _____  ___ 
 __/ __/ _ \  (_)__    | | / / _ \/ _ \
 _/ _// // / / / _ \   | |/ / ___/ ___/
 /_/ /____(_)_/\___/   |___/_/  /_/    

vpp# show int
              Name               Idx    State  MTU (L3/IP4/IP6/MPLS)     Counter          Count     
eth1                              1     down         9000/0/0/0     
local0                            0     down          0/0/0/0       
tap1                              2      up          9000/0/0/0     
vpp#

Details

Version
VyOS 1.5-current-vpp-202501211103
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Related Objects

Event Timeline

dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
natali-rs1985 changed the task status from Open to In progress.Mon, Feb 3, 2:48 PM
natali-rs1985 claimed this task.