From db6e138362b805e87e2d99853e2771b8d9d7953d Mon Sep 17 00:00:00 2001 From: Ian Stokes Date: Wed, 24 Feb 2016 17:30:57 +0000 Subject: [PATCH] INSTALL.DPDK: Add notes regarding vhost multiq configuration. Linux 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 Acked-by: Flavio Leitner Acked-by: Daniele Di Proietto --- INSTALL.DPDK.md | 16 ++++++++++++++++ NEWS | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/INSTALL.DPDK.md b/INSTALL.DPDK.md index ca49106ce..dca79bd35 100644 --- a/INSTALL.DPDK.md +++ b/INSTALL.DPDK.md @@ -590,6 +590,22 @@ 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 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'. + + For example, this can be done for the Linux kernel virtio-net driver with: + + ``` + ethtool -L 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 156fc07b1..ced6a49db 100644 --- a/NEWS +++ b/NEWS @@ -71,7 +71,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 --------------------- -- 2.20.1