From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2C73B42923 for ; 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 ; 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 To: "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: 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?SZS9bq1BICyxo27n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NLaK9?= =?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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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/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

Hello all,

 

I would like to run a DPDK application on virtio dri= ver 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 instead of VFI= O?
  3. Or do i have to run via rte_kni?
  4.  

     

    I try to follow VFIO guide to create VF but it doesn= t work. There is no srvio support in virtio driver as expected.<= /p>

     

    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<=
    /span>

     

     

     

    DPDK version 22.11

    Ubuntu 20.04.5

    5.4.0-146-generic

    https://do= c.dpdk.org/guides-22.11/howto/virtio_user_as_exception_path.html#virtio-use= r-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/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=FChendis

    Ulak Haberle=FEme A.=DE. Ankara

     

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.


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.

--_000_AM9P189MB155440101832F191CF963032B9969AM9P189MB1554EURP_--