doc: add VF support statement
PATCH 1/1 doc: add VF support statement
This patch adds two note in doc build_dpdk, suggests DPDK user don't use ``vfio-pci`` and ``uio_pci_generic`` module to create virtual functions(VFs).
--- doc/guides/linux_gsg/build_dpdk.rst | 8 ++++++++ 1 file changed, 8 insertions(+)
doc/guides/linux_gsg/build_dpdk.rst +8 -0
@@ -155,6 +155,10 @@ can provide the uio capability. This module can be loaded using the command sudo modprobe uio_pci_generic +.. note:: + + ``uio_pci_generic`` module doesn't support to create virtual functions. + 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. It can be loaded as shown below:
@@ -187,6 +191,10 @@ however please consult your distributions documentation to make sure that is the Also, to use VFIO, both kernel and BIOS must support and be configured to use IO virtualization (such as Intel® VT-d). +.. note:: + + ``vfio-pci`` module doesn't support to create virtual functions. + For proper operation of VFIO when running DPDK applications as a non-privileged user, correct permissions should also be set up. This can be done by using the DPDK setup script (called dpdk-setup.sh and located in the usertools directory).
Signature · 1 line
2.7.4
Quoted 32 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Qiming Yang
Sent: Tuesday, April 18, 2017 6:36 AM
To: [email protected]
Cc: Richardson, Bruce <[email protected]>; Wu, Jingjing <[email protected]>; Yang, Qiming <[email protected]>
Subject: [dpdk-dev] [PATCH] doc: add VF support statementThis patch adds two note in doc
build_dpdk, suggests DPDK user don't use ``vfio-pci`` and ``uio_pci_generic`` module to create virtual functions(VFs).Signed-off-by Qiming Yang <[email protected]>--- doc/guides/linux_gsg/build_dpdk.rst | 8 ++++++++ 1 file changed, 8 insertions(+)doc/guides/linux_gsg/build_dpdk.rst +0
-0@@ -155,6 +155,10 @@ can provide the uio capability. This module can beloaded using the command
sudo modprobe
uio_pci_generic+.. note::
doc/guides/linux_gsg/build_dpdk.rst +2
-0+ + ``uio_pci_generic`` module doesn't support to create virtual
Quoted 1 line
functions.
Would be better as:
The ``uio_pci_generic`` module doesn't support the creation of virtual functions.
doc/guides/linux_gsg/build_dpdk.rst however please consult your distributions documentation to make sure that is the · line 197
Quoted 5 lines
doc/guides/linux_gsg/build_dpdk.rst +5
-0+ +.. note:: + + ``vfio-pci`` module doesn't support to create virtual functions. +
Would be better as:
The `` vfio-pci `` module doesn't support the creation of virtual functions.
PATCH v2 1/1 doc: add VF support statement
In reply to Qiming YangThis patch adds two note in doc build_dpdk, suggests DPDK user don't use ``vfio-pci`` and ``uio_pci_generic`` module to create virtual functions(VFs).
---
v2 changes:
* use better expression.
---
--- doc/guides/linux_gsg/build_dpdk.rst | 8 ++++++++ 1 file changed, 8 insertions(+)
doc/guides/linux_gsg/build_dpdk.rst +8 -0
@@ -155,6 +155,10 @@ can provide the uio capability. This module can be loaded using the command sudo modprobe uio_pci_generic +.. note:: + + ``uio_pci_generic`` module doesn't support the creation of virtual functions. + 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. It can be loaded as shown below:
@@ -187,6 +191,10 @@ however please consult your distributions documentation to make sure that is the Also, to use VFIO, both kernel and BIOS must support and be configured to use IO virtualization (such as Intel® VT-d). +.. note:: + + ``vfio-pci`` module doesn't support the creation of virtual functions. + For proper operation of VFIO when running DPDK applications as a non-privileged user, correct permissions should also be set up. This can be done by using the DPDK setup script (called dpdk-setup.sh and located in the usertools directory).
Signature · 1 line
2.7.4
Thomas Monjalon
Applied03/05/2017 08:21, Qiming Yang:
Quoted 5 lines
This patch adds two note in doc
build_dpdk, suggests DPDK user don't use ``vfio-pci`` and ``uio_pci_generic`` module to create virtual functions(VFs).Signed-off-by Qiming Yang <[email protected]>
Applied, thanks