Hi David,
Thankyou it worked.

Sincerely,

Carlos de Souza Moraes Neto
WEG Equipamentos Elétricos S/A. - Transmissão & Distribuição
www.weg.net



-----Mensagem original-----
De: David Marchand <[email protected]> 
Enviada em: segunda-feira, 28 de agosto de 2023 05:31
Para: Carlos de Souza Moraes Neto <[email protected]>
Cc: [email protected]
Assunto: Re: Virtio_user for kernel interface.

ATENÇÃO:  Esta mensagem é de REMETENTE EXTERNO - Tenha cuidado ao abrir links e 
anexos.
*** NOVO *** NÃO digite sua SENHA WEG quando solicitada por E-MAIL EXTERNO


On Mon, Aug 28, 2023 at 10:07 AM Carlos de Souza Moraes Neto <[email protected]> 
wrote:
> 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.

Just an idea.
If you ask for 3 queue pairs, your application must poll packets from all 3 
rxqs, as the kernel may choose to send packets through any of those queues.
Are you perhaps only polling one rxq?


--
David Marchand

Reply via email to