From: Kevin Laatz Date: Fri, 12 Jan 2018 10:48:46 +0000 (+0000) Subject: test: increase default ring sizes to 1024 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=6c74ddeddf92d9937b13e6cf94ab828cb1cee476;p=dpdk.git test: 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/test/test/test_kni.c b/test/test/test_kni.c index 539d231841..f6fb1a2fb0 100644 --- a/test/test/test_kni.c +++ b/test/test/test_kni.c @@ -23,8 +23,8 @@ #define PKT_BURST_SZ 32 #define MEMPOOL_CACHE_SZ PKT_BURST_SZ #define SOCKET 0 -#define NB_RXD 128 -#define NB_TXD 512 +#define NB_RXD 1024 +#define NB_TXD 1024 #define KNI_TIMEOUT_MS 5000 /* ms */ #define IFCONFIG "/sbin/ifconfig " diff --git a/test/test/test_link_bonding.c b/test/test/test_link_bonding.c index 8400cb2adc..0ffd65090f 100644 --- a/test/test/test_link_bonding.c +++ b/test/test/test_link_bonding.c @@ -31,13 +31,13 @@ #define TEST_MAX_NUMBER_OF_PORTS (6) -#define RX_RING_SIZE 128 +#define RX_RING_SIZE 1024 #define RX_FREE_THRESH 32 #define RX_PTHRESH 8 #define RX_HTHRESH 8 #define RX_WTHRESH 0 -#define TX_RING_SIZE 512 +#define TX_RING_SIZE 1024 #define TX_FREE_THRESH 32 #define TX_PTHRESH 32 #define TX_HTHRESH 0 diff --git a/test/test/test_link_bonding_mode4.c b/test/test/test_link_bonding_mode4.c index fd2e92042f..426877a2a0 100644 --- a/test/test/test_link_bonding_mode4.c +++ b/test/test/test_link_bonding_mode4.c @@ -33,8 +33,8 @@ #define SLAVE_COUNT (4) -#define RX_RING_SIZE 128 -#define TX_RING_SIZE 512 +#define RX_RING_SIZE 1024 +#define TX_RING_SIZE 1024 #define MBUF_CACHE_SIZE (250) #define BURST_SIZE (32) diff --git a/test/test/test_pmd_perf.c b/test/test/test_pmd_perf.c index 7399294018..ee148bc8ed 100644 --- a/test/test/test_pmd_perf.c +++ b/test/test/test_pmd_perf.c @@ -19,8 +19,8 @@ #define NB_SOCKETS (2) #define MEMPOOL_CACHE_SIZE 250 #define MAX_PKT_BURST (32) -#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) #define RTE_PORT_ALL (~(uint16_t)0x0) /* how long test would take at full line rate */