From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f66.google.com (mail-lf1-f66.google.com [209.85.167.66]) by dpdk.org (Postfix) with ESMTP id AE9EF1B3C0 for ; Wed, 10 Oct 2018 14:04:29 +0200 (CEST) Received: by mail-lf1-f66.google.com with SMTP id s10-v6so3759893lfc.9 for ; Wed, 10 Oct 2018 05:04:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Tb92ktKs8J97wtVguYTOi5f/Rzlt3s26WrAKdr7uGk0=; b=ZuilpdGzznAZQfvEvHIUPWxlWjl1/k0EWoZ5mhfLRpzA997e4s9T0zgZZ+e9ewmL4K qqY0679O/j45fyLxMLzLqPo89VzQiIfQAP/x/IhRdQYiFhqMM92Tlbrz5LgHnCzf3LNp gz0smG7Aq4HNE8WrhuBlEolurYOKy7TkE3gh9toVJAAv43L/D4ADCqC0ko8Tw5tVZXI8 b3OP3Q+5P5wv1ilzwPScTtdn7/xLjZHZBcWUNnZnDRt0LR5VAFaYWEWV8P4vaFh7w1ie 3HaY8B81p76bmC9BcHvTk1XjdC4xhEob+Ml0mhtIhgK+yuPGxL50zDLSpb5NFmSwGUtr YHfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Tb92ktKs8J97wtVguYTOi5f/Rzlt3s26WrAKdr7uGk0=; b=mWU6NGUBqznwFhn71it78Jz66JSlnT0SbuuGQNVcrJ9L7Dpfj34i7jzJ4dhS/4L5Wf N6RavSUVpUzjtpt3FyEl0EYd2TQ69fQtZSJgwdf2Dci1udwNnsda74gF0tDjcLpjeyI0 IMMrIF9DrIscxaPEV5erx4BKmsluEi0kT2wNLZ9VeL79e63X9ANvzax9vrXSfBMzbCA+ Xnj38Sr6nsO4N6Pkx19NSeXhLUsiE4wdxJz11MBxITJnhtrGam2W4xNFVxiB2wM24jN+ BIyo/45X9nvxkplLkC6QInh65eaz3ZFo+b1msYHjZizw+bGqkNGjzSpbFpGShnmapZfq xUbQ== X-Gm-Message-State: ABuFfoh9oepggp3IYiF7pbXQe63MCH8xDvrxZRkui+JcHM/vCrRQLFjR IEQC3DOGlYSJW9HhfrBKpWDxxzzPubaHAhstB2rkdg== X-Google-Smtp-Source: ACcGV63zfc/EMnej3Rb63MDgiwagCEisxAhT4IfJ2iojwIsVUkX91nk62tCIu9v3QMTMXZ/pJwFgKccukh/eESommV8= X-Received: by 2002:a19:6b0a:: with SMTP id d10-v6mr2238247lfa.49.1539173069151; Wed, 10 Oct 2018 05:04:29 -0700 (PDT) MIME-Version: 1.0 References: <1538730173-7444-1-git-send-email-rk@semihalf.com> In-Reply-To: From: =?UTF-8?B?UmFmYcWCIEtvemlr?= Date: Wed, 10 Oct 2018 14:04:17 +0200 Message-ID: To: Ferruh Yigit Cc: dev@dpdk.org, Marcin Wojtas , =?UTF-8?Q?Micha=C5=82_Krawczyk?= , "Tzalik, Guy" , "Schmeilin, Evgeny" , "Matushevsky, Alexander" , "Chauskin, Igor" , john.mcnamara@intel.com, marko.kovacevic@intel.com, "Machulsky, Zorik" , stable@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-stable] [PATCH] doc: update for ENA supported drivers X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Oct 2018 12:04:29 -0000 Hello Ferruh, > Unless installed "igb_uio" won't be available to use with "modprobe", not= sure > about adding that detail, what do you think? I did not add it. In current version this information is already present: > -#. Bind the intended ENA device to igb_uio module > This is only required if there is no iommu on the system, right? Won't en= a will > work without this parameter on the system that has iommu? I will prepare next version, that will clarify it. Best regards, Rafal wt., 9 pa=C5=BA 2018 o 12:56 Ferruh Yigit napisa= =C5=82(a): > > On 10/5/2018 10:02 AM, Rafal Kozik wrote: > > Add instruction how to bind ENA to VFIO-PCI driver. > > > > Fixes: cf8a122c296a ("ena: introduce documentation") > > Cc: stable@dpdk.org > > > > Signed-off-by: Zorik Machulsky > > Signed-off-by: Rafal Kozik > > Acked-by: Michal Krawczyk > > --- > > doc/guides/nics/ena.rst | 12 +++++++++--- > > doc/guides/nics/features/ena.ini | 1 + > > 2 files changed, 10 insertions(+), 3 deletions(-) > > > > diff --git a/doc/guides/nics/ena.rst b/doc/guides/nics/ena.rst > > index d19912e..0dfefc6 100644 > > --- a/doc/guides/nics/ena.rst > > +++ b/doc/guides/nics/ena.rst > > @@ -187,11 +187,17 @@ Prerequisites > > ------------- > > > > #. Prepare the system as recommended by DPDK suite. This includes env= ironment > > - variables, hugepages configuration, tool-chains and configuration > > + variables, hugepages configuration, tool-chains and configuration. > > > > -#. Insert igb_uio kernel module using the command 'modprobe igb_uio' > > +#. ENA PMD can operate with vfio-pci or igb_uio driver. > > > > -#. Bind the intended ENA device to igb_uio module > > +#. Insert vfio-pci or igb_uio kernel module using the command > > + 'modprobe vfio-pci' or 'modprobe igb_uio' respectively. > > Unless installed "igb_uio" won't be available to use with "modprobe", not= sure > about adding that detail, what do you think? > > > + > > +#. If vfio-pci driver is used please make sure noiommu mode is enabled= : > > + echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode > > This is only required if there is no iommu on the system, right? Won't en= a will > work without this parameter on the system that has iommu? > > > + > > +#. Bind the intended ENA device to vfio-pci or igb_uio module. > > > > > > At this point the system should be ready to run DPDK applications. Onc= e the > > diff --git a/doc/guides/nics/features/ena.ini b/doc/guides/nics/feature= s/ena.ini > > index 691c1e3..aa6f05a 100644 > > --- a/doc/guides/nics/features/ena.ini > > +++ b/doc/guides/nics/features/ena.ini > > @@ -23,5 +23,6 @@ Inner L4 checksum =3D Y > > Basic stats =3D Y > > Extended stats =3D Y > > Linux UIO =3D Y > > +Linux VFIO =3D Y > > x86-32 =3D Y > > x86-64 =3D Y > > >