summaryrefslogtreecommitdiff
path: root/examples/l2fwd-keepalive
diff options
context:
space:
mode:
authorKevin Laatz <kevin.laatz@intel.com>2018-01-12 10:48:44 +0000
committerThomas Monjalon <thomas@monjalon.net>2018-02-01 00:10:42 +0100
commit867a6c66ecf3d88e76367254e79bb9e7b936a830 (patch)
tree6dfff0dc52b5b91554b8565f8557838abd9066be /examples/l2fwd-keepalive
parent6c74ddeddf92d9937b13e6cf94ab828cb1cee476 (diff)
downloaddpdk-867a6c66ecf3d88e76367254e79bb9e7b936a830.zip
dpdk-867a6c66ecf3d88e76367254e79bb9e7b936a830.tar.gz
dpdk-867a6c66ecf3d88e76367254e79bb9e7b936a830.tar.xz
examples: increase default ring sizes to 1024
Increase the default RX/TX ring sizes to 1024/1024 to accommodate for NICs with higher throughput (25G, 40G etc) Signed-off-by: Kevin Laatz <kevin.laatz@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Diffstat (limited to 'examples/l2fwd-keepalive')
-rw-r--r--examples/l2fwd-keepalive/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/l2fwd-keepalive/main.c b/examples/l2fwd-keepalive/main.c
index 4f97cfb..39b8c32 100644
--- a/examples/l2fwd-keepalive/main.c
+++ b/examples/l2fwd-keepalive/main.c
@@ -52,8 +52,8 @@
/*
* Configurable number of RX/TX ring descriptors
*/
-#define RTE_TEST_RX_DESC_DEFAULT 128
-#define RTE_TEST_TX_DESC_DEFAULT 512
+#define RTE_TEST_RX_DESC_DEFAULT 1024
+#define RTE_TEST_TX_DESC_DEFAULT 1024
static uint16_t nb_rxd = RTE_TEST_RX_DESC_DEFAULT;
static uint16_t nb_txd = RTE_TEST_TX_DESC_DEFAULT;