From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 41E1C1B1C3 for ; Thu, 11 Jan 2018 18:24:08 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Jan 2018 09:24:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,345,1511856000"; d="scan'208";a="8893535" Received: from silpixa00399499.ir.intel.com (HELO silpixa00399499.ger.corp.intel.com) ([10.237.222.68]) by fmsmga007.fm.intel.com with ESMTP; 11 Jan 2018 09:24:06 -0800 From: Kevin Laatz To: dev@dpdk.org Cc: Kevin Laatz , ferruh.yigit@intel.com, declan.doherty@intel.com Date: Thu, 11 Jan 2018 17:24:12 +0000 Message-Id: <20180111172412.42671-5-kevin.laatz@intel.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20180111172412.42671-1-kevin.laatz@intel.com> References: <20180111172412.42671-1-kevin.laatz@intel.com> Subject: [dpdk-dev] [PATCH 3/3] test: increase rx and tx default ring sizes X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jan 2018 17:24:09 -0000 Increase the default RX/TX ring sizes to 1024/1024 to accomodate for NICs with higher throughput (25G, 40G etc) Signed-off-by: Kevin Laatz --- Cc: ferruh.yigit@intel.com Cc: declan.doherty@intel.com --- test/test/test_kni.c | 4 ++-- test/test/test_link_bonding.c | 4 ++-- test/test/test_link_bonding_mode4.c | 4 ++-- test/test/test_pmd_perf.c | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/test/test/test_kni.c b/test/test/test_kni.c index 539d231..f6fb1a2 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 64e24a8..588acc8 100644 --- a/test/test/test_link_bonding.c +++ b/test/test/test_link_bonding.c @@ -30,13 +30,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 fd2e920..426877a 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 7399294..ee148bc 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 */ -- 2.9.4