In addition to the requirements described in :doc:`general`, building Open
vSwitch with DPDK will require the following:
-- DPDK 17.11
+- DPDK 17.11.1
- A `DPDK supported NIC`_
#. Download the `DPDK sources`_, extract the file and set ``DPDK_DIR``::
$ cd /usr/src/
- $ wget http://fast.dpdk.org/rel/dpdk-17.11.tar.xz
- $ tar xf dpdk-17.11.tar.xz
- $ export DPDK_DIR=/usr/src/dpdk-17.11
+ $ wget http://fast.dpdk.org/rel/dpdk-17.11.1.tar.xz
+ $ tar xf dpdk-17.11.1.tar.xz
+ $ export DPDK_DIR=/usr/src/dpdk-stable-17.11.1
$ cd $DPDK_DIR
#. (Optional) Configure DPDK as a shared library
DPDK sources to VM and build DPDK::
$ cd /root/dpdk/
- $ wget http://fast.dpdk.org/rel/dpdk-17.11.tar.xz
- $ tar xf dpdk-17.11.tar.xz
- $ export DPDK_DIR=/root/dpdk/dpdk-17.11
+ $ wget http://fast.dpdk.org/rel/dpdk-17.11.1.tar.xz
+ $ tar xf dpdk-17.11.1.tar.xz
+ $ export DPDK_DIR=/root/dpdk/dpdk-stable-17.11.1
$ export DPDK_TARGET=x86_64-native-linuxapp-gcc
$ export DPDK_BUILD=$DPDK_DIR/$DPDK_TARGET
$ cd $DPDK_DIR
# TODO
-.. important::
-
- DPDK v17.11 virtio PMD contains a bug in the vectorized Rx function that
- affects testpmd/DPDK guest applications. As such, guest DPDK applications
- should use a non-vectorized Rx function.
-
-The DPDK v17.11 virtio net driver contains a bug that prevents guest DPDK
-applications from receiving packets when the vectorized Rx function is used.
-This only occurs when guest-bound traffic is live before a DPDK application is
-started within the guest, and where two or more forwarding cores are used. As
-such, it is not recommended for guests which execute DPDK applications to use
-the virtio vectorized Rx function. A simple method of ensuring that a non-
-vectorized Rx function is used is to enable mergeable buffers for the guest,
-with the following QEMU command line option::
-
- mrg_rxbuf=on
-
-Additional details regarding the virtio driver bug are available on the
-`DPDK mailing list`_.
-
-.. _DPDK mailing list: http://dpdk.org/ml/archives/dev/2017-December/082801.html
-
.. _dpdk-vhost-user-xml:
Sample XML
</disk>
<disk type='dir' device='disk'>
<driver name='qemu' type='fat'/>
- <source dir='/usr/src/dpdk-stable-17.05.2'/>
+ <source dir='/usr/src/dpdk-stable-17.11.1'/>
<target dev='vdb' bus='virtio'/>
<readonly/>
</disk>
Further information can be found in the
`DPDK documentation
-<http://dpdk.readthedocs.io/en/v17.05/prog_guide/vhost_lib.html>`__
+<http://dpdk.readthedocs.io/en/v17.11/prog_guide/vhost_lib.html>`__