Page MenuHomeVyOS Platform

Enable vDPA (VirtIO Data Path Acceleration) Support
Needs reporter action, NormalPublicFEATURE REQUEST

Description

Summary

Enable support for vDPA (VirtIO Data Path Acceleration) in VyOS to improve VirtIO network performance in virtualized environments.

Use case

vDPA allows virtual machines to offload packet processing while still using standard VirtIO drivers. This helps reduce CPU usage and improve network performance, especially in high-traffic environments where efficiency is important.

Additional information

Adding this feature would allow users to take advantage of hardware acceleration for better networking performance in virtualized setups.

Details

Version
-
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Feature (new functionality)

Event Timeline

Viacheslav triaged this task as Normal priority.Feb 19 2025, 7:17 AM
Viacheslav subscribed.

Is there any kernel option that should be enabled, or just some binaries or both of them?

Both kernel and user-space support are needed. On the kernel side, you must enable vDPA-related options (e.g., CONFIG_VDPA and/or CONFIG_VHOST_VDPA) to provide the necessary infrastructure. On the user-space side, binaries that interact with VirtIO devices must be updated to take advantage of this support. For example, QEMU needs to be built with vDPA support so that virtual machines can offload packet processing to the hardware accelerator. Additionally, tools like libvirt or other management utilities might require adjustments to properly configure and utilize vDPA-enabled devices.

@daniel.arconada are you able to test it with the next rolling release? Those options will be included.

@daniel.arconada are you able to test it with the next rolling release? Those options will be included.

Viacheslav changed the task status from Open to Needs testing.Feb 22 2025, 4:23 PM

@Viacheslav Yes, I will test it once it is included in the next rolling release.

@daniel.arconada can you check this? The latest rolling has these modules.

vyos@vpp-left:~$ zcat /proc/config.gz | grep -i vdpa
CONFIG_VIRTIO_VDPA=m
CONFIG_VDPA=m
# CONFIG_VDPA_USER is not set
# CONFIG_MLX5_VDPA_NET is not set
# CONFIG_MLX5_VDPA_STEERING_DEBUG is not set
# CONFIG_VP_VDPA is not set
# CONFIG_ALIBABA_ENI_VDPA is not set
# CONFIG_SNET_VDPA is not set
CONFIG_VHOST_VDPA=m
vyos@vpp-left:~$ 
vyos@vpp-left:~$ show ver
Version:          VyOS 1.5-rolling-202503020018
Viacheslav changed the task status from Needs testing to Needs reporter action.Mar 5 2025, 10:34 AM

Did you have a chance to testing ?