Page MenuHomeVyOS Platform

VPP: switching from XDP to DPDK driver fails in cloud vm (hv_netvsc)
Closed, ResolvedPublicBUG

Description

Azure VM: Standard_D8s_v3 (8 vCPU, 8gb RAM)

adminuser@vyos-vm# commit
[ vpp ]
Traceback (most recent call last):
  File "/usr/libexec/vyos/services/vyos-configd", line 156, in run_script
    script.apply(c)
  File "/usr/libexec/vyos/conf_mode/vpp.py", line 657, in apply
    vpp_control.lcp_pair_add(iface, iface)
  File "/usr/lib/python3/dist-packages/vyos/vpp/control_vpp.py", line 80, in check_retval_wrapper
    if not return_value.retval == 0:
           ^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'retval'

[[vpp]] failed
Commit failed

run sh version:

Version:          VyOS 2025.09.01-0023-rolling
Release train:    current
Release flavor:   generic

Built by:         autobuild@vyos.net
Built on:         Mon 01 Sep 2025 00:23 UTC
Build UUID:       a729cf79-bf12-4b5f-8d10-261158e4c5f0
Build commit ID:  242c1a587acac6

Architecture:     x86_64
Boot via:         installed image
System type:      Microsoft Hyper-V guest
Secure Boot:      disabled

Hardware vendor:  Microsoft Corporation
Hardware model:   Virtual Machine
Hardware S/N:     0000-0003-7361-6188-9286-3743-86
Hardware UUID:    33d98371-7a44-43f2-b336-37994e03eb57

Steps to reproduce:

set vpp settings interface eth1 driver 'xdp'
commit
set vpp settings interface eth1 driver 'dpdk'
commit

Details

Version
vyos-2025.09.01-0023-rolling-generic-amd64
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

Unknown Object (User) triaged this task as High priority.Sep 9 2025, 9:22 AM
natali-rs1985 changed the task status from Open to In progress.Sep 25 2025, 9:33 AM
natali-rs1985 claimed this task.
natali-rs1985 changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.

Problem reproduces when switching from xdp to dpdk:

driver: hv_netvsc
version: 6.6.111-vyos
firmware-version: N/A
expansion-rom-version: 
bus-info: 7c1e5252-1632-7c1e-5252-16327c1
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no

5264:00:02.0 Ethernet controller [0200]: Mellanox Technologies MT27710 Family [ConnectX-4 Lx Virtual Function] [15b3:1016] (rev 80)

adminuser@vyos-vm# run sh ver
Version:          VyOS 2025.10.17-0019-rolling
Release train:    current
Release flavor:   generic
AZURE Standard_D8s_v3
- NIC: Accelerated
- Network Driver: hv_netvsc
natali-rs1985 renamed this task from VPP: switching from XDP to DPDK driver fails in cloud vm to VPP: switching from XDP to DPDK driver fails in cloud vm (hv_netvsc).Oct 27 2025, 5:03 PM