From 53481aabe5e95bb1f839dc55eb795ebaf8781c27 Mon Sep 17 00:00:00 2001 From: Sebastien Boeuf Date: Wed, 12 Feb 2020 14:23:34 +0100 Subject: [PATCH] docs: Update documentation related to multiqueue network Just updating the documentation regarding the pre-creation of a tap interface supporting multiqueue, by adding what the cloud-hypervisor --net parameter should look like. Signed-off-by: Sebastien Boeuf --- docs/networking.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/networking.md b/docs/networking.md index 79c1939d5..c0efc1211 100644 --- a/docs/networking.md +++ b/docs/networking.md @@ -51,6 +51,11 @@ If the tap device is pre-created on host before guest boot up. To use multiple q [root@localhost ~]# ip tuntap add name ich0 mode tap multi_queue ``` +And the `--net` device should specify support for multiple queues. `num_queues` must be a multiple of 2 starting at least from 4 since multiple queues really means multiple queue pairs. We need at least 2 pairs for this configuration to be correct: + +```bash +--net tap=ich0,mac=a4:a1:c2:00:00:01,ip=192.168.4.2,mask=255.255.255.0,num_queues=4,queue_size=256 +``` ## Configure the tap devices