From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id DCF25A04DB; Wed, 14 Oct 2020 18:43:39 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4F8041D993; Wed, 14 Oct 2020 18:43:38 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id B26AC160 for ; Wed, 14 Oct 2020 18:43:35 +0200 (CEST) IronPort-SDR: cBGf8A6WyImvAQOYXEz8XJQXD61RxqLYKOakZobZAPpmXcCSJKk+IhxWyamI+lEwNSZ9o4+sax 0ZUhxfyFA/LQ== X-IronPort-AV: E=McAfee;i="6000,8403,9774"; a="166206568" X-IronPort-AV: E=Sophos;i="5.77,375,1596524400"; d="scan'208";a="166206568" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Oct 2020 09:43:33 -0700 IronPort-SDR: x1n3YCwjnsSmyYAwW6wRczlDaUDoOChtvO7U/NsR3G1BYQJ8aj7WbpxX1nRinaF8sATDyAZs2e pdNc7pih+w5A== X-IronPort-AV: E=Sophos;i="5.77,375,1596524400"; d="scan'208";a="463948072" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.212.224]) ([10.213.212.224]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Oct 2020 09:43:32 -0700 To: Stephen Hemminger , dev@dpdk.org References: <20200906033846.24686-1-stephen@networkplumber.org> <20200924175347.13619-1-stephen@networkplumber.org> From: Ferruh Yigit Message-ID: Date: Wed, 14 Oct 2020 17:43:29 +0100 MIME-Version: 1.0 In-Reply-To: <20200924175347.13619-1-stephen@networkplumber.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCH v2] doc/devbind: remove references to igb_uio X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 9/24/2020 6:53 PM, Stephen Hemminger wrote: > We should be encouraging the use of vfio_pci for developers, not telling > them to use igb_uio. > > Signed-off-by: Stephen Hemminger > --- > v2 -- drop change about filename > > doc/guides/tools/devbind.rst | 18 +++++++++--------- > 1 file changed, 9 insertions(+), 9 deletions(-) > > diff --git a/doc/guides/tools/devbind.rst b/doc/guides/tools/devbind.rst > index a2910e103aab..5dcaf8c207dd 100644 > --- a/doc/guides/tools/devbind.rst > +++ b/doc/guides/tools/devbind.rst > @@ -30,11 +30,11 @@ OPTIONS > Print the current status of all known network interfaces. > For each device, it displays the PCI domain, bus, slot and function, > along with a text description of the device. Depending upon whether the > - device is being used by a kernel driver, the ``igb_uio`` driver, or no > + device is being used by a kernel driver, the ``vfio_pci`` driver, or no > driver, other relevant information will be displayed: > - the Linux interface name e.g. ``if=eth0`` > - - the driver being used e.g. ``drv=igb_uio`` > - - any suitable drivers not currently using that device e.g. ``unused=igb_uio`` > + - the driver being used e.g. ``drv=vfio_pci`` > + - any suitable drivers not currently using that device e.g. ``unused=vfio_pci`` > NOTE: if this flag is passed along with a bind/unbind option, the > status display will always occur after the other operations have taken > place. > @@ -80,9 +80,9 @@ To display current device status:: > > dpdk-devbind --status > > -To bind eth1 from the current driver and move to use igb_uio:: > +To bind eth1 from the current driver and move to use vfio_pci:: > > - dpdk-devbind --bind=igb_uio eth1 > + dpdk-devbind --bind=vfio_pci eth1 Module name is 'vfio_pci' but driver name is 'vfio-pci', for this document I guess all instances should be 'vfio-pci'. > > To unbind 0000:01:00.0 from using any driver:: > > @@ -92,7 +92,7 @@ To bind 0000:02:00.0 and 0000:02:00.1 to the ixgbe kernel driver:: > > dpdk-devbind -b ixgbe 02:00.0 02:00.1 > > -To check status of all network ports, assign one to the igb_uio driver and check status again:: > +To check status of all network ports, assign one to the vfio_pci driver and check status again:: > > # Check the status of the available devices. > dpdk-devbind --status > @@ -105,12 +105,12 @@ To check status of all network ports, assign one to the igb_uio driver and check > 0000:0a:00.0 '82599ES 10-Gigabit' if=eth2 drv=ixgbe unused= > > > - # Bind the device to igb_uio. > - sudo dpdk-devbind -b igb_uio 0000:0a:00.0 > + # Bind the device to vfio_pci. > + sudo dpdk-devbind -b vfio_pci 0000:0a:00.0 > > > # Recheck the status of the devices. > dpdk-devbind --status > Network devices using DPDK-compatible driver > ============================================ > - 0000:0a:00.0 '82599ES 10-Gigabit' drv=igb_uio unused= > + 0000:0a:00.0 '82599ES 10-Gigabit' drv=vfio_pci unused= >