aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvik Sil <aviksil@linux.vnet.ibm.com>2013-11-17 16:22:02 +0530
committerAvik Sil <aviksil@linux.vnet.ibm.com>2013-11-17 16:22:02 +0530
commit7ae768b04e4be0022396f204b29b37919898aa59 (patch)
tree815ffbae47511c1b17d6a690d082b4ca6ad8fd89
parent470b817a442ca9caa9878ea28b932b87ce0692fa (diff)
downloadSLOF-7ae768b04e4be0022396f204b29b37919898aa59.zip
SLOF-7ae768b04e4be0022396f204b29b37919898aa59.tar.gz
SLOF-7ae768b04e4be0022396f204b29b37919898aa59.tar.bz2
Increase virtio-net receive queue size
Since SLOF is poll based, in a high network traffic zone desired packet might be missed during receiving. Hence increase the receive queue size. Signed-off-by: Avik Sil <aviksil@linux.vnet.ibm.com>
-rw-r--r--lib/libvirtio/virtio-net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libvirtio/virtio-net.h b/lib/libvirtio/virtio-net.h
index e2a2925..bc7a189 100644
--- a/lib/libvirtio/virtio-net.h
+++ b/lib/libvirtio/virtio-net.h
@@ -15,7 +15,7 @@
#include <netdriver.h>
-#define RX_QUEUE_SIZE 16
+#define RX_QUEUE_SIZE 128
#define BUFFER_ENTRY_SIZE 1514
enum {