[ovs-dev] [PATCH v1] INSTALL.DPDK: Update vhost multiqueue instructions.

Ian Stokes ian.stokes at intel.com
Tue Jun 14 15:02:02 UTC 2016


Add details regarding PMD and rxq configuration to the vhost-user multiqueue
section to better enable packet enqueueing across multiple vhost queues.

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

diff --git a/INSTALL.DPDK.md b/INSTALL.DPDK.md
index c2e32bf..afab7d7 100644
--- a/INSTALL.DPDK.md
+++ b/INSTALL.DPDK.md
@@ -674,6 +674,17 @@ 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
    ```
 
+   A least 2 PMDs should be configured for the vswitch when using multiqueue.
+   Using a single PMD will cause traffic to be enqueued to the same vhost
+   queue rather than being distributed among different vhost queues for a
+   vhost-user interface.
+
+   If traffic destined for a VM configured with multiqueue arrives to the
+   vswitch via a physical DPDK port, then the number of rxqs should also be
+   set to at least 2 for that physical DPDK port. This is required to increase
+   the probability that a different PMD will handle the multiqueue
+   transmission to the guest using a different vhost queue.
+
    If one wishes to use multiple queues for an interface in the guest, the
    driver in the guest operating system must be configured to do so. It is
    recommended that the number of queues configured be equal to '$q'.
-- 
1.7.4.1




More information about the dev mailing list