Skip to contentSkip to conversation

doc: add note on needing igb_uio module for VF devs

PATCH Applied Bruce Richardson 4 participants 4 messages Mar 23, 2015 – Mar 31, 2015 3 messages not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: add note on needing igb_uio module for VF devs

Since the uio_pci_generic module requires that the device to which it is being bound supports legacy interrupts, there can be problems using it with VF devices. Add a note to the GSG doc to document this fact, and provide information on loading igb_uio as a replacement.

---
 doc/guides/linux_gsg/build_dpdk.rst | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)
doc/guides/linux_gsg/build_dpdk.rst +13 -2
index 255d6dc..5f0f3ae 100644
@@ -166,7 +166,7 @@ Loading Modules to Enable Userspace IO for DPDK
 -----------------------------------------------
 
 To run any DPDK application, a suitable uio module can be loaded into the running kernel.
-In most cases, the standard uio_pci_generic module included in the linux kernel
+In many cases, the standard uio_pci_generic module included in the linux kernel
 can provide the uio capability. This module can be loaded using the command
 
 .. code-block:: console
@@ -174,7 +174,18 @@ can provide the uio capability. This module can be loaded using the command
     sudo modprobe uio_pci_generic
 
 As an alternative to the uio_pci_generic, the DPDK also includes the igb_uio
-module which can be found in the kmod subdirectory referred to above.
+module which can be found in the kmod subdirectory referred to above. It can
+be loaded as shown below:
+
+.. code-block:: console
+
+    sudo modprobe uio
+    sudo insmod kmod/igb_uio.ko
+
+.. note::
+
+    For some devices which lack support for legacy interrupts, e.g. virtual function
+    (VF) devices, the igb_uio module may be needed in place of uio_pci_generic.
 
 Since DPDK release 1.7 onward provides VFIO support, use of UIO is optional
 for platforms that support using VFIO.
Signature · 1 line
2.1.0

A message that is not in the archive (sent off-list or not yet received): 1427127590-17899-1-git-send-email-bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org

#2 lore raw
Quoted 11 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Bruce Richardson
Sent: Monday, March 23, 2015 4:20 PM
To: [email protected]
Subject: [dpdk-dev] [PATCH] doc: add note on needing igb_uio module for VF devs

Since the uio_pci_generic module requires that the device to which it is being bound supports legacy interrupts, there can be problems using it with VF devices. Add a note to the GSG doc to document this fact, and provide information on loading igb_uio as a replacement.

A message that is not in the archive (sent off-list or not yet received): 8CEF83825BEC744B83065625E567D7C204A02312-kPTMFJFq+rEMvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org

#4 lore raw
Quoted 16 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Iremonger, Bernard
Sent: Wednesday, March 25, 2015 10:43 AM
To: Richardson, Bruce; [email protected]
Subject: Re: [dpdk-dev] [PATCH] doc: add note on needing igb_uio module
for VF devs

Quoted 7 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Bruce Richardson
Sent: Monday, March 23, 2015 4:20 PM
To: [email protected]
Subject: [dpdk-dev] [PATCH] doc: add note on needing igb_uio module
for VF devs

Quoted 8 lines
Quoted 3 lines

Since the uio_pci_generic module requires that the device to which it is being bound supports legacy interrupts, there can be problems using it with VF devices. Add a note to the GSG doc to document this fact, and

provide information on loading igb_uio as a replacement.

Quoted 2 lines

A message that is not in the archive (sent off-list or not yet received): 0C5AFCA4B3408848ADF2A3073F7D8CC86D565C6A-kPTMFJFq+rHjxeytcECX8bfspsVTdybXVpNB7YpNyf8@public.gmane.org

#6 lore raw

2015-03-25 15:02, Butler, Siobhan A:

Quoted 18 lines
Quoted 18 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Iremonger, Bernard
Sent: Wednesday, March 25, 2015 10:43 AM
To: Richardson, Bruce; [email protected]
Subject: Re: [dpdk-dev] [PATCH] doc: add note on needing igb_uio module
for VF devs

Quoted 10 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Bruce Richardson
Sent: Monday, March 23, 2015 4:20 PM
To: [email protected]
Subject: [dpdk-dev] [PATCH] doc: add note on needing igb_uio module
for VF devs

Since the uio_pci_generic module requires that the device to which it is being bound supports legacy interrupts, there can be problems using it with VF devices. Add a note to the GSG doc to document this fact, and

Quoted 7 lines
Quoted 5 lines

provide information on loading igb_uio as a replacement.

Quoted 2 lines

Applied, thanks