<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-ligatures:standardcontextual;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Önceden Biçimlendirilmiş Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-ligatures:standardcontextual;
        mso-fareast-language:EN-US;}
span.E-postaStili17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.HTMLncedenBiimlendirilmiChar
        {mso-style-name:"HTML Önceden Biçimlendirilmiş Char";
        mso-style-priority:99;
        mso-style-link:"HTML Önceden Biçimlendirilmiş";
        font-family:"Courier New";
        mso-ligatures:none;
        mso-fareast-language:TR;}
span.go
        {mso-style-name:go;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-ligatures:standardcontextual;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1024287162;
        mso-list-type:hybrid;
        mso-list-template-ids:-1633531400 69140495 69140505 69140507 69140495 69140505 69140507 69140495 69140505 69140507;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="TR" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hello all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I would like to run a DPDK application on virtio driver that is in a Ubuntu-20 VM.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<ol style="margin-top:0cm" start="1" type="1">
<li class="MsoListParagraph" style="margin-left:0cm;mso-list:l0 level1 lfo1">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 .<o:p></o:p></li><li class="MsoListParagraph" style="margin-left:0cm;mso-list:l0 level1 lfo1">Is there a way to run virtio_user as Exception path via igb_uio instead of VFIO?<o:p></o:p></li><li class="MsoListParagraph" style="margin-left:0cm;mso-list:l0 level1 lfo1">Or do i have to run via rte_kni?<o:p></o:p></li></ol>
<p class="MsoListParagraph"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I try to follow VFIO guide to create VF but it doesnt work. There is no srvio support in virtio driver as expected.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best regards.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This parts not possible to run<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#888888;mso-ligatures:none;mso-fareast-language:TR">echo 1 | sudo tee /sys/module/vfio_pci/parameters/enable_sriov</span><span style="font-size:9.0pt;font-family:Consolas;color:#404040;mso-ligatures:none;mso-fareast-language:TR"><o:p></o:p></span></p>
<pre><span class="go"><span style="font-size:9.0pt;font-family:Consolas;color:#888888">echo 2 > /sys/bus/pci/devices/0000:86:00.0/sriov_numvfs</span></span><span style="font-size:9.0pt;font-family:Consolas;color:#404040"><o:p></o:p></span></pre>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">DPDK version 22.11<o:p></o:p></p>
<p class="MsoNormal">Ubuntu 20.04.5<o:p></o:p></p>
<p class="MsoNormal">5.4.0-146-generic<o:p></o:p></p>
<p class="MsoNormal"><a href="https://doc.dpdk.org/guides-22.11/howto/virtio_user_as_exception_path.html#virtio-user-as-exception-path">https://doc.dpdk.org/guides-22.11/howto/virtio_user_as_exception_path.html#virtio-user-as-exception-path</a><o:p></o:p></p>
<p class="MsoNormal"><a href="https://doc.dpdk.org/guides-22.11/nics/tap.html">55. Tun|Tap Poll Mode Driver — Data Plane Development Kit 22.11.1 documentation (dpdk.org)</a><o:p></o:p></p>
<p class="MsoNormal"><a href="https://doc.dpdk.org/guides-22.11/linux_gsg/linux_drivers.html#linux-gsg-linux-drivers">https://doc.dpdk.org/guides-22.11/linux_gsg/linux_drivers.html#linux-gsg-linux-drivers</a><o:p></o:p></p>
<p class="MsoNormal"><a href="https://docs.kernel.org/driver-api/vfio.html">https://docs.kernel.org/driver-api/vfio.html</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">ethtool -i ens6<o:p></o:p></p>
<p class="MsoNormal">driver: virtio_net<o:p></o:p></p>
<p class="MsoNormal">version: 1.0.0<o:p></o:p></p>
<p class="MsoNormal">firmware-version:<o:p></o:p></p>
<p class="MsoNormal">expansion-rom-version:<o:p></o:p></p>
<p class="MsoNormal">bus-info: 0000:00:06.0<o:p></o:p></p>
<p class="MsoNormal">supports-statistics: yes<o:p></o:p></p>
<p class="MsoNormal">supports-test: no<o:p></o:p></p>
<p class="MsoNormal">supports-eeprom-access: no<o:p></o:p></p>
<p class="MsoNormal">supports-register-dump: no<o:p></o:p></p>
<p class="MsoNormal">supports-priv-flags: no<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="mso-ligatures:none;mso-fareast-language:TR">___<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ligatures:none;mso-fareast-language:TR">Yasin CANER<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ligatures:none;mso-fareast-language:TR">Lider Mühendis<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ligatures:none;mso-fareast-language:TR">Ulak Haberleşme A.Ş. Ankara<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<!DOCTYPE html>
<p>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. </p>
<hr style:?border-top:="" 1px="" solid="" black?="">
<p>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. </p>
</body>
</html>