[ovs-dev] [PATCH v1] INSTALL.DPDK: Add notes regarding vhost multiq configuration.

Ian Stokes ian.stokes at intel.com
Fri Feb 5 16:55:57 UTC 2016


Kernel network devices in a guest should have the number of multi-purpose
channels configured when used with DPDK multiqueue on the host. This commit
adds an example of how this can be done. Also add QEMU 2.5 requirements for
multiqueue with DPDK in NEWS.

Signed-off-by: Ian Stokes <ian.stokes at intel.com>
---
 INSTALL.DPDK.md |   13 +++++++++++++
 NEWS            |    2 +-
 2 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/INSTALL.DPDK.md b/INSTALL.DPDK.md
index d892788..d38a42e 100644
--- a/INSTALL.DPDK.md
+++ b/INSTALL.DPDK.md
@@ -586,6 +586,19 @@ Follow the steps below to attach vhost-user port(s) to a VM.
    -device virtio-net-pci,mac=00:00:00:00:00:02,netdev=mynet2,mq=on,vectors=$v
    ```
 
+   If using a kernel network device in the guest, the multi purpose channels
+   should be configured with the number of queues to be used for the device.  
+
+   ```
+   ethtool -L <DEV> combined <$q>
+   ```
+
+   A note on the command above: 
+
+   `-L`: Changes the numbers of channels of the specified network device
+
+   `combined`: Changes the number of multi-purpose channels. 
+
 DPDK vhost-cuse:
 ----------------
 
diff --git a/NEWS b/NEWS
index c133838..a4c7672 100644
--- a/NEWS
+++ b/NEWS
@@ -53,7 +53,7 @@ v2.5.0 - xx xxx xxxx
    - DPDK:
      * Requires DPDK 2.2
      * Added multiqueue support to vhost-user
-
+     * Note: QEMU 2.5+ required for multiqueue support
 
 v2.4.0 - 20 Aug 2015
 ---------------------
-- 
1.7.4.1




More information about the dev mailing list