diff options
author | Avik Sil <aviksil@linux.vnet.ibm.com> | 2013-11-17 16:22:02 +0530 |
---|---|---|
committer | Avik Sil <aviksil@linux.vnet.ibm.com> | 2013-11-17 16:22:02 +0530 |
commit | 470b817a442ca9caa9878ea28b932b87ce0692fa (patch) | |
tree | a16e7dcd0bd4f1784bbcde4fbc6202cb8e94cec4 | |
parent | 7bc3d6b7d7760550ced9a89a14bddecd74c0ce14 (diff) | |
download | SLOF-470b817a442ca9caa9878ea28b932b87ce0692fa.zip SLOF-470b817a442ca9caa9878ea28b932b87ce0692fa.tar.gz SLOF-470b817a442ca9caa9878ea28b932b87ce0692fa.tar.bz2 |
Increase veth 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/libveth/veth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libveth/veth.c b/lib/libveth/veth.c index 682692d..7487308 100644 --- a/lib/libveth/veth.c +++ b/lib/libveth/veth.c @@ -67,7 +67,7 @@ static uint64_t *rx_bufs_aligned; static uint32_t cur_rx_toggle; static uint32_t cur_rx_index; -#define RX_QUEUE_SIZE 16 +#define RX_QUEUE_SIZE 256 #define RX_BUF_SIZE 2048 #define RX_BUF_MULT (RX_BUF_SIZE >> 3) |