From: Kevin Laatz Date: Fri, 12 Jan 2018 10:48:45 +0000 (+0000) Subject: app/testpmd: increase default ring sizes to 1024 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=bd8f10f6d69f;p=dpdk.git app/testpmd: 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 Acked-by: Bruce Richardson Acked-by: Adrien Mazarguil --- diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index 00cc6f49f9..d896d469a1 100644 --- a/app/test-pmd/testpmd.c +++ b/app/test-pmd/testpmd.c @@ -211,8 +211,8 @@ queueid_t nb_txq = 1; /**< Number of TX queues per port. */ /* * 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 uint16_t nb_rxd = RTE_TEST_RX_DESC_DEFAULT; /**< Number of RX descriptors. */ uint16_t nb_txd = RTE_TEST_TX_DESC_DEFAULT; /**< Number of TX descriptors. */