From: Carlos de Souza Moraes Neto <carlosmn@weg.net>
To: "users@dpdk.org" <users@dpdk.org>
Subject: Virtio_user for kernel interface.
Date: Sun, 27 Aug 2023 14:47:26 +0000 [thread overview]
Message-ID: <RO2P152MB6008E85B2CC30FB81B725BA4DDE1A@RO2P152MB6008.LAMP152.PROD.OUTLOOK.COM> (raw)
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
next reply other threads:[~2023-08-28 8:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-27 14:47 Carlos de Souza Moraes Neto [this message]
2023-08-28 8:30 ` David Marchand
2023-08-29 11:04 ` RES: " Carlos de Souza Moraes Neto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=RO2P152MB6008E85B2CC30FB81B725BA4DDE1A@RO2P152MB6008.LAMP152.PROD.OUTLOOK.COM \
--to=carlosmn@weg.net \
--cc=users@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).