From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <users-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 2C73B42923
	for <public@inbox.dpdk.org>; Wed, 12 Apr 2023 08:58:59 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 6608842C76;
	Wed, 12 Apr 2023 08:58:41 +0200 (CEST)
Received: from EUR03-DBA-obe.outbound.protection.outlook.com
 (mail-dbaeur03on2121.outbound.protection.outlook.com [40.107.104.121])
 by mails.dpdk.org (Postfix) with ESMTP id B89C440150
 for <users@dpdk.org>; Fri,  7 Apr 2023 15:49:49 +0200 (CEST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=JFv0bcy3OKo2naQWxgoepPfFW5ItF9w6HvQZ0WYGEj9eUWo3wVNs7WvVvSaTaU46dAYIzDfbKJx1vXq2EPRRvg0XXq9w4Z+pCwCtBT7W3xQ5Zm98quwOBjgmT1p/yqdsctfDRTjFw8xvUK2S6FVgKRYvAxT+x5U6/FJ2GDD5eaBtUo3nawK7c07W2KDZKLUxdeqO8WhXz7NgiN39YE4fPBJZDEAXhwvacZU60smUHgsSwgByseAz+L8OmWfaK+f2UmqB++xNViLUj+v+fALX/KC76/AdAPZlKffJQaxHJjPOSh/w34w5i3iZevokKvVxicRnAMVYS8iy2yCnIxhA2A==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=gfgKmnBF5x+gBRkZynDK55EMu/FIWcRb45fdQY4Mqow=;
 b=kQcwmTpK/2XjTtFvRB4EC03aq6Q1gx+XTJzTelqULArS57MWZMRORIiEOSWVYFfeSvGKNOHFdqn+J5w7xwldxKUzv41NigYyhHTeaer7aX4IYoaxa+OHqP0p5S1ZG/S75uNCybqC1qkgqAAUes7ntV/OgCYl0hghovmqCfTvY+YG3DkMn3cLlvP+v9fF3kU1bxzf8+dgO6GFftuOBlMXlpQDOED415H8IaDSu0q4FlGcKioGxWYIuXWZqgEQMFQdlKgrsN5x8Kf/5nXUaqAxe7oczF7CRmQ4c+uVKcGZfi0vrzuhlLe1/pfhf+S5sZvZgiKAFsNaI+3wnzbaGDO0Xw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=ulakhaberlesme.com.tr; dmarc=pass action=none
 header.from=ulakhaberlesme.com.tr; dkim=pass header.d=ulakhaberlesme.com.tr;
 arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=ulakhaber.onmicrosoft.com; s=selector2-ulakhaber-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=gfgKmnBF5x+gBRkZynDK55EMu/FIWcRb45fdQY4Mqow=;
 b=YuB9k3aCoq8F6ecZ9TipbUjy/hj8zd0SAbYZI535oLB8ddlmRLebq0HwPWgW5ggF9HevA2QG+r4f/lQkDu0glYBSAT3PiFy9MXn062uGlG1oPAyCudGn1hdZ/OEPdTBDRtW/eibzN/k7D9ssZtJLtEiAJiX82RzGQchavhyIFPg=
Received: from AM9P189MB1554.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:2fc::7)
 by GV1P189MB2146.EURP189.PROD.OUTLOOK.COM (2603:10a6:150:8e::8) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.33; Fri, 7 Apr
 2023 13:49:47 +0000
Received: from AM9P189MB1554.EURP189.PROD.OUTLOOK.COM
 ([fe80::b63b:9040:bf21:926f]) by AM9P189MB1554.EURP189.PROD.OUTLOOK.COM
 ([fe80::b63b:9040:bf21:926f%4]) with mapi id 15.20.6277.034; Fri, 7 Apr 2023
 13:49:47 +0000
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
Thread-Topic: Virtio_user as Exception Path insted of rte_kni on virtio driver
 is possible
Thread-Index: AdlpVwWRfyi2bgqKS1aUw6t9qIs8Gw==
Date: Fri, 7 Apr 2023 13:49:47 +0000
Message-ID: <AM9P189MB155440101832F191CF963032B9969@AM9P189MB1554.EURP189.PROD.OUTLOOK.COM>
Accept-Language: tr-TR, en-US
Content-Language: tr-TR
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: dkim=none (message not signed)
 header.d=none;dmarc=none action=none header.from=ulakhaberlesme.com.tr;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: AM9P189MB1554:EE_|GV1P189MB2146:EE_
x-ms-office365-filtering-correlation-id: cc7ed5f4-0e77-4346-e1a6-08db376ef36a
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 6SaxHH8W8E0LEzuQEqSzJUAyv9wB7BlGTLoFKMK4MfeYPoIqiHYctr1VZ6FxbSnQYLmpNRYA7q0OU1NnViIc/SyB5j1ytW/IbWS8gN61YrQJheTb3vXpx1cTeAKotWjANZUj10fC5I6RVj1pGhTfsTt4KphnD4DdXK3cMS+toGQ9t5EDQ/VI9Tlc73xSibHuC6hBNaYRdTpZQJToWxDyTylgrvbXpP9OrEuHSB3MkGOqSQj9juRibTIBUW6R5ieM7dJipUS0tJ6OihjRuMOnQf8QuHjc+mGYg36i7ecy+zOHjrmyfvkjoYBEj380YeaRZFXZfrAWf5+P6bflrkergxe7xaTfGVafT3gaod6PCJBilCpW5H3qL1b7P/TaqDhhWcY+rdge5Z99stZsDXyoPYOvzsCRRD9oVhLjOc2U1fhF6dAdBiITRMaj3uGDkfXK+wbtLr5RYkY1kdGJQYr6oTQxEGg7rnbd8CwFhw5IhuRP1HXlPUXLDOaSSbmgVdn71u+8ULOe9bvTusRvxWjRLc44ejNY4M5VV50qhb3zVzELkuR0C/3lG05iSarxuIzeK+JMf1iLMmVb6dWNCtAhLEfjE8WeCSM5Clc1YJQdCag=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:AM9P189MB1554.EURP189.PROD.OUTLOOK.COM; PTR:; CAT:NONE;
 SFS:(13230028)(4636009)(136003)(346002)(396003)(39850400004)(376002)(366004)(451199021)(33656002)(55016003)(478600001)(71200400001)(966005)(7696005)(122000001)(41300700001)(52536014)(8936002)(38100700002)(316002)(76116006)(66946007)(66446008)(66556008)(64756008)(66476007)(6916009)(8676002)(19627235002)(66574015)(83380400001)(186003)(6506007)(26005)(9686003)(86362001)(5660300002)(21615005)(2906002)(166002)(38070700005);
 DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?iso-8859-9?Q?dfuTWg8KKCUr3uqCFfbU8tAQbGfQtla2TbnecQ9kEFft6tjodlgBY8zAiX?=
 =?iso-8859-9?Q?pHsXxbn+BsEI/f82V6xXM5LVwHTJ4UO2Zo0TZ+QKzftZUhv4xQm3GjZbwD?=
 =?iso-8859-9?Q?xZFw9I/1l2qufGGWhiNmpJjvkrIL2TnlWoTNHA95krMCFrpgDwOfkXi/nY?=
 =?iso-8859-9?Q?+48orMUV/TigzFQR01qU/hk0bFf+ov6qkXTkYUO6CTrIBjdEvNrTG5kGQO?=
 =?iso-8859-9?Q?CDi0jyLMVOvddBzKPdB+BCjpaouc4Kqjj7wmdVgyxvmOqRMml3zmnCe2tT?=
 =?iso-8859-9?Q?1McR7Z27KcY2zWO78Yc9OnNxLfTVOQ2nyWO3zcYRdsbY7379OO+yAzYtAa?=
 =?iso-8859-9?Q?TH3hCRHTxGfTDS0pLW1cuWKtooPIZl74/vlNwdfgp2LygcmilI18taRKnh?=
 =?iso-8859-9?Q?+YzRd9+mnNckPcYNbxeIEEK+kp4T21uMIBsthx1krGRauRoMgxseM/EDyx?=
 =?iso-8859-9?Q?IuIMtBVleucG7V30JijnLCtU/Gc7HEF+980PRaHIs6rZElaOeWnMkrFix7?=
 =?iso-8859-9?Q?SZS9bq1BICyxo27nSLLkrUKt2kgfGtQqU0yjRo2Cn1PZ6urd1922Q5B1KP?=
 =?iso-8859-9?Q?n6/cGmV47nkRVMq6cKP3UOssFIuE5+KR1WXJHFfYpOwwHABpvsIt4UybrP?=
 =?iso-8859-9?Q?hNLceH31ZxsD/sUWZrogo/6i5nAa4guI8wbxqAQ7PaFEpNTYBbJvynmT+f?=
 =?iso-8859-9?Q?k910L2JGrt6Pgb9Jf6ZxD2XX6O7gXI2Ayd8ADzyok2SWYVlYPp8QYc6kVj?=
 =?iso-8859-9?Q?2vRcv8py6snKOkNrk5lBXrZ7mcjYdea2sJBceVx7ll+UZ5zHcJXcPB3mgx?=
 =?iso-8859-9?Q?jlLEThie0wZF8W13iN5rEW4rljahP/DLfNtXBFRHbIVzgMj3kH+soA5KFx?=
 =?iso-8859-9?Q?dEY/RfgzwoqNWIcfefSj0hNZ396fHCzam5Sg2u2bQ7/PMEsuoXQ4ne2e1Z?=
 =?iso-8859-9?Q?GKcnKXB6nPYDnMfN7Hlzjw7pYytpIxO+pyhP+vPluYlSOmWspK6xjxvRu7?=
 =?iso-8859-9?Q?xUNrVCY+9pIKFfv/tvClA4SOYYcp9LwBsGwGyXXFJvbAnIynBPM+3i6Xoe?=
 =?iso-8859-9?Q?yod1SnGBMbUfjsX1mIE+9K7NDQ7t8GndQHcd1wBDjbzWRNGMYio7ijycL2?=
 =?iso-8859-9?Q?xdUZMUl7R2tQC/bY/zrbRwSHcyuykCO3qbAJqWUZactVs6SuKsRRZKhYpG?=
 =?iso-8859-9?Q?HmT4+h0/vcurGx0D9t6PAt/BUJeG2Tdh6AuASwLnfCSgepLy0dlg0hsgdf?=
 =?iso-8859-9?Q?g49y1hyzP5CEqHke+Jd69aOStI84+fGn6+04pmjnA7fpHgTAhGIAUlmIoR?=
 =?iso-8859-9?Q?77GcE2dyjWYtI+eJOemiGDDG5YC2djp8BG0IOnr6vOU+q32ruRQhMjZwyc?=
 =?iso-8859-9?Q?uJT8IvQHnIH8TdBspaJKWZLCu1vcvw7EOXqpEykgIUX4zwAhNgWUSNLaK9?=
 =?iso-8859-9?Q?9DzMfX202nT6hYcxU2EwGgr+N/D4K2ubiQfiXzqng8KrSgQ8u6qIgNE58K?=
 =?iso-8859-9?Q?/ndAxXtxZVvRPizcA//NMWD8VOS3Y+tfCdabH9K0JgpyJL5m1lhGhtDQTQ?=
 =?iso-8859-9?Q?6RcE1Xxt/164WNRDK8u1HpUgTbYimqvMNi2zeha3iEI4DjfxGmmdfAaakc?=
 =?iso-8859-9?Q?UqBlgXH5WSmMqROYeUFft80ZFwrKINItg5eXo6ayzUs31GFnP3G3KcP8/I?=
 =?iso-8859-9?Q?FamJ1Y7VFKAps/pWi/g=3D?=
Content-Type: multipart/alternative;
 boundary="_000_AM9P189MB155440101832F191CF963032B9969AM9P189MB1554EURP_"
MIME-Version: 1.0
X-OriginatorOrg: ulakhaberlesme.com.tr
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM9P189MB1554.EURP189.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-Network-Message-Id: cc7ed5f4-0e77-4346-e1a6-08db376ef36a
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Apr 2023 13:49:47.2811 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 39e36fd9-0f21-4c96-ae71-dbd87cae7b33
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: JGyEykwNEHHpESp8A7OLFqJ2ixzTtNKzVD97s9/wdQ+2AEdo0doOr2QoKdsKEDT9d5VverxxFYnhzkMchO3asHWY0S0NXqZyuInQsUpWcaRb5iVLfr6rFyTMNHP8ZpeH
X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1P189MB2146
X-Mailman-Approved-At: Wed, 12 Apr 2023 08:58:36 +0200
X-BeenThere: users@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK usage discussions <users.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/users>,
 <mailto:users-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/users/>
List-Post: <mailto:users@dpdk.org>
List-Help: <mailto:users-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/users>,
 <mailto:users-request@dpdk.org?subject=subscribe>
Errors-To: users-bounces@dpdk.org

--_000_AM9P189MB155440101832F191CF963032B9969AM9P189MB1554EURP_
Content-Type: text/plain; charset="iso-8859-9"
Content-Transfer-Encoding: quoted-printable

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 a=
nother way to create KNI? I could not create VF .
  2.  Is there a way to run virtio_user as Exception path via igb_uio inste=
ad 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 srv=
io 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 documenta=
tion (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-li=
nux-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=FChendis
Ulak Haberle=FEme A.=DE. Ankara


Bu elektronik posta ve onunla iletilen b=FCt=FCn dosyalar sadece g=F6nderic=
isi taraf=FDndan almas=FD ama=E7lanan yetkili, ger=E7ek ya da t=FCzel ki=FE=
inin kullan=FDm=FD i=E7indir. E=F0er s=F6z konusu yetkili al=FDc=FD de=F0il=
seniz, bu elektronik postan=FDn i=E7eri=F0ini a=E7=FDklaman=FDz, kopyalaman=
=FDz, y=F6nlendirmeniz ve kullanman=FDz kesinlikle yasakt=FDr ve bu elektro=
nik postay=FD derhal silmeniz gerekmektedir. =DEirketimiz bu mesaj=FDn i=E7=
erdi=F0i bilgilerin do=F0rulu=F0u veya eksiksiz oldu=F0u konusunda herhangi=
 bir garanti vermemektedir. Bu nedenle, bu bilgilerin ne =FEekilde olursa o=
lsun i=E7eri=F0inden, iletilmesinden, al=FDnmas=FDndan ve saklanmas=FDndan =
sorumlu de=F0ildir. Bu mesajdaki g=F6r=FC=FEler yaln=FDzca g=F6nderen ki=FE=
iye aittir ve =DEirketimizin g=F6r=FC=FElerini yans=FDtmayabilir. Taraf=FDn=
=FDz ile payla=FE=FDlan ki=FEisel verilerin, 6698 say=FDl=FD Ki=FEisel Veri=
lerin Korunmas=FD Kanununa uygun olarak i=FElenmesi gere=F0ini bilginize su=
nar=FDz.

________________________________

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 discl=
osing, 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 th=
is 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 wo=
uld like to inform you that any personal data shared with you should be pro=
cessed in accordance with the Law on Protection of Personal Data numbered 6=
698.

--_000_AM9P189MB155440101832F191CF963032B9969AM9P189MB1554EURP_
Content-Type: text/html; charset="iso-8859-9"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
9">
<meta name=3D"Generator" content=3D"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 =D6nceden Bi=E7imlendirilmi=FE 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 =D6nceden Bi=E7imlendirilmi=FE Char";
	mso-style-priority:99;
	mso-style-link:"HTML =D6nceden Bi=E7imlendirilmi=FE";
	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 6914=
0505 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=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"TR" link=3D"#0563C1" vlink=3D"#954F72" style=3D"word-wrap:bre=
ak-word">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hello all,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I would like to run a DPDK application on virtio dri=
ver that is in a Ubuntu-20 VM.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<ol style=3D"margin-top:0cm" start=3D"1" type=3D"1">
<li class=3D"MsoListParagraph" style=3D"margin-left:0cm;mso-list:l0 level1 =
lfo1">Can DPDK-22.11 create a virtio_user on virtio driver? Or is there a a=
nother way to create KNI? I could not create VF .<o:p></o:p></li><li class=
=3D"MsoListParagraph" style=3D"margin-left:0cm;mso-list:l0 level1 lfo1">Is =
there a way to run virtio_user as Exception path via igb_uio instead of VFI=
O?<o:p></o:p></li><li class=3D"MsoListParagraph" style=3D"margin-left:0cm;m=
so-list:l0 level1 lfo1">Or do i have to run via rte_kni?<o:p></o:p></li></o=
l>
<p class=3D"MsoListParagraph"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I try to follow VFIO guide to create VF but it doesn=
t work. There is no srvio support in virtio driver as expected.<o:p></o:p><=
/p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Best regards.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">This parts not possible to run<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"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=3D"font-siz=
e:9.0pt;font-family:Consolas;color:#404040;mso-ligatures:none;mso-fareast-l=
anguage:TR"><o:p></o:p></span></p>
<pre><span class=3D"go"><span style=3D"font-size:9.0pt;font-family:Consolas=
;color:#888888">echo 2 &gt; /sys/bus/pci/devices/0000:86:00.0/sriov_numvfs<=
/span></span><span style=3D"font-size:9.0pt;font-family:Consolas;color:#404=
040"><o:p></o:p></span></pre>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">DPDK version 22.11<o:p></o:p></p>
<p class=3D"MsoNormal">Ubuntu 20.04.5<o:p></o:p></p>
<p class=3D"MsoNormal">5.4.0-146-generic<o:p></o:p></p>
<p class=3D"MsoNormal"><a href=3D"https://doc.dpdk.org/guides-22.11/howto/v=
irtio_user_as_exception_path.html#virtio-user-as-exception-path">https://do=
c.dpdk.org/guides-22.11/howto/virtio_user_as_exception_path.html#virtio-use=
r-as-exception-path</a><o:p></o:p></p>
<p class=3D"MsoNormal"><a href=3D"https://doc.dpdk.org/guides-22.11/nics/ta=
p.html">55. Tun|Tap Poll Mode Driver &#8212; Data Plane Development Kit 22.=
11.1 documentation (dpdk.org)</a><o:p></o:p></p>
<p class=3D"MsoNormal"><a href=3D"https://doc.dpdk.org/guides-22.11/linux_g=
sg/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=3D"MsoNormal"><a href=3D"https://docs.kernel.org/driver-api/vfio.h=
tml">https://docs.kernel.org/driver-api/vfio.html</a><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">ethtool -i ens6<o:p></o:p></p>
<p class=3D"MsoNormal">driver: virtio_net<o:p></o:p></p>
<p class=3D"MsoNormal">version: 1.0.0<o:p></o:p></p>
<p class=3D"MsoNormal">firmware-version:<o:p></o:p></p>
<p class=3D"MsoNormal">expansion-rom-version:<o:p></o:p></p>
<p class=3D"MsoNormal">bus-info: 0000:00:06.0<o:p></o:p></p>
<p class=3D"MsoNormal">supports-statistics: yes<o:p></o:p></p>
<p class=3D"MsoNormal">supports-test: no<o:p></o:p></p>
<p class=3D"MsoNormal">supports-eeprom-access: no<o:p></o:p></p>
<p class=3D"MsoNormal">supports-register-dump: no<o:p></o:p></p>
<p class=3D"MsoNormal">supports-priv-flags: no<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"mso-ligatures:none;mso-fareast-langua=
ge:TR">___<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-ligatures:none;mso-fareast-langua=
ge:TR">Yasin CANER<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-ligatures:none;mso-fareast-langua=
ge:TR">Lider M=FChendis<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-ligatures:none;mso-fareast-langua=
ge:TR">Ulak Haberle=FEme A.=DE. Ankara<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<!DOCTYPE html>
<p>Bu elektronik posta ve onunla iletilen b=FCt=FCn dosyalar sadece g=F6nde=
ricisi taraf=FDndan almas=FD ama=E7lanan yetkili, ger=E7ek ya da t=FCzel ki=
=FEinin kullan=FDm=FD i=E7indir. E=F0er s=F6z konusu yetkili al=FDc=FD de=
=F0ilseniz, bu elektronik postan=FDn i=E7eri=F0ini a=E7=FDklaman=FDz, kopya=
laman=FDz,
 y=F6nlendirmeniz ve kullanman=FDz kesinlikle yasakt=FDr ve bu elektronik p=
ostay=FD derhal silmeniz gerekmektedir. =DEirketimiz bu mesaj=FDn i=E7erdi=
=F0i bilgilerin do=F0rulu=F0u veya eksiksiz oldu=F0u konusunda herhangi bir=
 garanti vermemektedir. Bu nedenle, bu bilgilerin ne =FEekilde
 olursa olsun i=E7eri=F0inden, iletilmesinden, al=FDnmas=FDndan ve saklanma=
s=FDndan sorumlu de=F0ildir. Bu mesajdaki g=F6r=FC=FEler yaln=FDzca g=F6nde=
ren ki=FEiye aittir ve =DEirketimizin g=F6r=FC=FElerini yans=FDtmayabilir. =
Taraf=FDn=FDz ile payla=FE=FDlan ki=FEisel verilerin, 6698 say=FDl=FD Ki=FE=
isel Verilerin
 Korunmas=FD Kanununa uygun olarak i=FElenmesi gere=F0ini bilginize sunar=
=FDz. </p>
<hr style:?border-top:=3D"" 1px=3D"" solid=3D"" black?=3D"">
<p>This e-mail and all files sent with it are intended for authorized natur=
al 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 di=
sclosing, 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 c=
ontent, 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>

--_000_AM9P189MB155440101832F191CF963032B9969AM9P189MB1554EURP_--