DPDK usage discussions
 help / color / mirror / Atom feed
From: Yasin CANER <yasin.caner@ulakhaberlesme.com.tr>
To: "users@dpdk.org" <users@dpdk.org>
Subject: Virtio_user as Exception Path insted of rte_kni on virtio driver is possible
Date: Fri, 7 Apr 2023 13:49:47 +0000	[thread overview]
Message-ID: <AM9P189MB155440101832F191CF963032B9969@AM9P189MB1554.EURP189.PROD.OUTLOOK.COM> (raw)

[-- Attachment #1: Type: text/plain, Size: 3140 bytes --]

Hello all,

I would like to run a DPDK application on virtio driver that is in a Ubuntu-20 VM.


  1.  Can DPDK-22.11 create a virtio_user on virtio driver? Or is there a another way to create KNI? I could not create VF .
  2.  Is there a way to run virtio_user as Exception path via igb_uio instead of VFIO?
  3.  Or do i have to run via rte_kni?



I try to follow VFIO guide to create VF but it doesnt work. There is no srvio support in virtio driver as expected.

Best regards.

This parts not possible to run

echo 1 | sudo tee /sys/module/vfio_pci/parameters/enable_sriov

echo 2 > /sys/bus/pci/devices/0000:86:00.0/sriov_numvfs



DPDK version 22.11
Ubuntu 20.04.5
5.4.0-146-generic
https://doc.dpdk.org/guides-22.11/howto/virtio_user_as_exception_path.html#virtio-user-as-exception-path
55. Tun|Tap Poll Mode Driver - Data Plane Development Kit 22.11.1 documentation (dpdk.org)<https://doc.dpdk.org/guides-22.11/nics/tap.html>
https://doc.dpdk.org/guides-22.11/linux_gsg/linux_drivers.html#linux-gsg-linux-drivers
https://docs.kernel.org/driver-api/vfio.html

ethtool -i ens6
driver: virtio_net
version: 1.0.0
firmware-version:
expansion-rom-version:
bus-info: 0000:00:06.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no


___
Yasin CANER
Lider Mühendis
Ulak Haberleşme A.Ş. Ankara


Bu elektronik posta ve onunla iletilen bütün dosyalar sadece göndericisi tarafından alması amaçlanan yetkili, gerçek ya da tüzel kişinin kullanımı içindir. Eğer söz konusu yetkili alıcı değilseniz, bu elektronik postanın içeriğini açıklamanız, kopyalamanız, yönlendirmeniz ve kullanmanız kesinlikle yasaktır ve bu elektronik postayı derhal silmeniz gerekmektedir. Şirketimiz bu mesajın içerdiği bilgilerin doğruluğu veya eksiksiz olduğu konusunda herhangi bir garanti vermemektedir. Bu nedenle, bu bilgilerin ne şekilde olursa olsun içeriğinden, iletilmesinden, alınmasından ve saklanmasından sorumlu değildir. Bu mesajdaki görüşler yalnızca gönderen kişiye aittir ve Şirketimizin görüşlerini yansıtmayabilir. Tarafınız ile paylaşılan kişisel verilerin, 6698 sayılı Kişisel Verilerin Korunması Kanununa uygun olarak işlenmesi gereğini bilginize sunarız.

________________________________

This e-mail and all files sent with it are intended for authorized natural or legal persons, who should be the only persons to open and read them. If you are not an authorized recipient, you are strictly prohibited from disclosing, copying, forwarding, and using the contents of this e-mail, and you must immediately delete it. Our company does not guarantee the accuracy or thoroughness of the information contained in this message. It is therefore in no way responsible for the content, sending, retrieval and storage of this information. The opinions contained in this message are the views of the sender only and do not necessarily reflect the views of the company. We would like to inform you that any personal data shared with you should be processed in accordance with the Law on Protection of Personal Data numbered 6698.

[-- Attachment #2: Type: text/html, Size: 9971 bytes --]

             reply	other threads:[~2023-04-12  6:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-07 13:49 Yasin CANER [this message]
2023-04-12 15:01 ` Stephen Hemminger

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=AM9P189MB155440101832F191CF963032B9969@AM9P189MB1554.EURP189.PROD.OUTLOOK.COM \
    --to=yasin.caner@ulakhaberlesme.com.tr \
    --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).