diff options
| author | Sona Sarmadi <sona.sarmadi@enea.com> | 2018-11-28 14:00:08 +0100 |
|---|---|---|
| committer | Martin Borg <martin.borg@enea.com> | 2018-12-07 15:39:15 +0100 |
| commit | 7950a118b7a95170bd5906131545db2c8f7d82c0 (patch) | |
| tree | db1574a9768ff3aca5ee9708015df75c3e73f8bc | |
| parent | 51ec28aba9953761438ec047739b500687dbd682 (diff) | |
| download | nfv-access-documentation-7950a118b7a95170bd5906131545db2c8f7d82c0.tar.gz | |
Replace igb_uio driver with vfio-pci
Change-Id: I0d4b78878c89532dc30703ca95fefe1a4d024949
Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
3 files changed, 10 insertions, 10 deletions
diff --git a/doc/book-enea-nfv-access-reference-guide-intel/doc/dpdk.xml b/doc/book-enea-nfv-access-reference-guide-intel/doc/dpdk.xml index fce0da4..5c5cb9f 100644 --- a/doc/book-enea-nfv-access-reference-guide-intel/doc/dpdk.xml +++ b/doc/book-enea-nfv-access-reference-guide-intel/doc/dpdk.xml | |||
| @@ -48,20 +48,20 @@ | |||
| 48 | <para>To make the hugepage memory available for DPDK, it must be | 48 | <para>To make the hugepage memory available for DPDK, it must be |
| 49 | mounted:</para> | 49 | mounted:</para> |
| 50 | 50 | ||
| 51 | <programlisting>mkdir /mnt/huge | 51 | <programlisting>$ mkdir /mnt/huge |
| 52 | mount -t hugetlbfs nodev /mnt/huge</programlisting> | 52 | mount -t hugetlbfs nodev /mnt/huge</programlisting> |
| 53 | </listitem> | 53 | </listitem> |
| 54 | 54 | ||
| 55 | <listitem> | 55 | <listitem> |
| 56 | <para>Load the DPDK igb_uio kernel module:</para> | 56 | <para>Load the vfio-pci kernel module:</para> |
| 57 | 57 | ||
| 58 | <programlisting>modprobe igb_uio</programlisting> | 58 | <programlisting>$ modprobe vfio-pci</programlisting> |
| 59 | </listitem> | 59 | </listitem> |
| 60 | 60 | ||
| 61 | <listitem> | 61 | <listitem> |
| 62 | <para>Bind the device to the igb_uio driver:</para> | 62 | <para>Bind the device to the vfio-pci driver:</para> |
| 63 | 63 | ||
| 64 | <para><programlisting>dpdk-devbind --bind=igb_uio <PCI device number></programlisting>The | 64 | <para><programlisting>$ dpdk-devbind --bind=vfio-pci <PCI device number></programlisting>The |
| 65 | DPDK provides the dpdk-devbind tool to help binding/unbinding devices | 65 | DPDK provides the dpdk-devbind tool to help binding/unbinding devices |
| 66 | from specific drivers. See <ulink | 66 | from specific drivers. See <ulink |
| 67 | url="http://dpdk.org/doc/guides-18.02/tools/devbind.html">http://dpdk.org/doc/guides-18.02/tools/devbind.html</ulink> | 67 | url="http://dpdk.org/doc/guides-18.02/tools/devbind.html">http://dpdk.org/doc/guides-18.02/tools/devbind.html</ulink> |
| @@ -70,7 +70,7 @@ mount -t hugetlbfs nodev /mnt/huge</programlisting> | |||
| 70 | </orderedlist> | 70 | </orderedlist> |
| 71 | 71 | ||
| 72 | <para>To print the current status of all known network | 72 | <para>To print the current status of all known network |
| 73 | interfaces:<programlisting>dpdk-devbind --status</programlisting></para> | 73 | interfaces:<programlisting>$ dpdk-devbind --status</programlisting></para> |
| 74 | 74 | ||
| 75 | <para>At this point the system is ready to run DPDK applications.</para> | 75 | <para>At this point the system is ready to run DPDK applications.</para> |
| 76 | </section> | 76 | </section> |
diff --git a/doc/book-enea-nfv-access-reference-guide-intel/doc/eltf_params_updated.xml b/doc/book-enea-nfv-access-reference-guide-intel/doc/eltf_params_updated.xml index 9143847..f5dcbb9 100644 --- a/doc/book-enea-nfv-access-reference-guide-intel/doc/eltf_params_updated.xml +++ b/doc/book-enea-nfv-access-reference-guide-intel/doc/eltf_params_updated.xml | |||
| @@ -42,7 +42,7 @@ export PATH=~/bin:$PATH</programlisting></para> | |||
| 42 | correct also compared to the "previous" REL VER in pardoc-distro.xml | 42 | correct also compared to the "previous" REL VER in pardoc-distro.xml |
| 43 | "prev_baseline".</bridgehead> | 43 | "prev_baseline".</bridgehead> |
| 44 | 44 | ||
| 45 | <para id="EneaLinux_REL_VER"><phrase>2.0</phrase></para> | 45 | <para id="EneaLinux_REL_VER"><phrase>2.2</phrase></para> |
| 46 | 46 | ||
| 47 | <para id="Yocto_VER"><phrase>2.4</phrase></para> | 47 | <para id="Yocto_VER"><phrase>2.4</phrase></para> |
| 48 | 48 | ||
diff --git a/doc/book-enea-nfv-access-reference-guide-intel/doc/hypervisor_virtualization.xml b/doc/book-enea-nfv-access-reference-guide-intel/doc/hypervisor_virtualization.xml index 9733544..cf712b4 100644 --- a/doc/book-enea-nfv-access-reference-guide-intel/doc/hypervisor_virtualization.xml +++ b/doc/book-enea-nfv-access-reference-guide-intel/doc/hypervisor_virtualization.xml | |||
| @@ -181,13 +181,13 @@ | |||
| 181 | 181 | ||
| 182 | <programlisting>-device vfio-pci,host=0000:03:10.2 \</programlisting> | 182 | <programlisting>-device vfio-pci,host=0000:03:10.2 \</programlisting> |
| 183 | 183 | ||
| 184 | <para>On the host, one or more VirtualFunctions (VFs) must be created in | 184 | <para>On the host, one or more Virtual Functions (VFs) must be created in |
| 185 | order to be allocated for a guest network to access, before starting | 185 | order to be allocated for a guest network to access, before starting |
| 186 | QEMU:</para> | 186 | QEMU:</para> |
| 187 | 187 | ||
| 188 | <programlisting>$ echo 2 > /sys/class/net/eno3/device/sriov_numvfs | 188 | <programlisting>$ echo 2 > /sys/class/net/eno3/device/sriov_numvfs |
| 189 | $ modprobe vfio_pci | 189 | $ modprobe vfio_pci |
| 190 | $ dpdk-devbind.py --bind=vfio-pci 0000:03:10.2</programlisting> | 190 | $ dpdk-devbind --bind=vfio-pci 0000:03:10.2</programlisting> |
| 191 | </section> | 191 | </section> |
| 192 | 192 | ||
| 193 | <section id="multiqueue"> | 193 | <section id="multiqueue"> |
| @@ -741,4 +741,4 @@ $ dpdk-devbind.py --bind=vfio-pci 0000:03:10.0 | |||
| 741 | </section> | 741 | </section> |
| 742 | </section> | 742 | </section> |
| 743 | </section> | 743 | </section> |
| 744 | </chapter> \ No newline at end of file | 744 | </chapter> |
