Virtio_user for kernel interface.
Carlos de Souza Moraes Neto
carlosmn at weg.net
Sun Aug 27 16:47:26 CEST 2023
Hello!
I'm attempting to utilize virtio_user for packet transmission and reception via the kernel's network stack. I transmitted packets from a NIC to virtio_user0 and captured them on the tap0 interface. However, when trying to send a packet from tap0 (for instance, a basic ping) and route it to DPDK, the function rte_eth_rx_burst returns zero packets. My initialization is set as follows:
-l 0-4 --vdev=virtio_user0,path=/dev/vhost-net,queues=3,queue_size=1024.
With the forthcoming removal of KNI from DPDK, I have to rely on virtio but I cant find a way to use it as a bridge to the kernel stack and my dpdk app. I could not find any example or similar application for reference.
Sincerely,
Carlos Moraes
WEG Equipamentos Elétricos S/A. - Transmissão & Distribuição
www.weg.net
More information about the users
mailing list