]> git.droids-corp.org - dpdk.git/commitdiff
test: increase default ring sizes to 1024
authorKevin Laatz <kevin.laatz@intel.com>
Fri, 12 Jan 2018 10:48:46 +0000 (10:48 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 31 Jan 2018 23:10:42 +0000 (00:10 +0100)
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>
test/test/test_kni.c
test/test/test_link_bonding.c
test/test/test_link_bonding_mode4.c
test/test/test_pmd_perf.c

index 539d2318414bf004ce2fa8b37139c7a35237cc16..f6fb1a2fb021f4190ba80a535fcabf5462ad610c 100644 (file)
@@ -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 "
index 8400cb2adcbcd69510c74a9c4d546f81ef71fe6e..0ffd65090f834fc687cdd936ca9f7911cf35804f 100644 (file)
 
 #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
index fd2e92042f69ca8efc0cd95e5fec22191c7cc3d8..426877a2a03cca1d210756646f908051bd14346c 100644 (file)
@@ -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)
index 73992940186bffc7bc2a7634fed3fd55f811f497..ee148bc8ed29da08963f45c663f7d66ab8d90a2b 100644 (file)
@@ -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 */