From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 00B1BA49F for ; Fri, 12 Jan 2018 11:30:43 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Jan 2018 02:30:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,348,1511856000"; d="scan'208";a="18662604" Received: from silpixa00399499.ir.intel.com (HELO silpixa00399499.ger.corp.intel.com) ([10.237.222.68]) by FMSMGA003.fm.intel.com with ESMTP; 12 Jan 2018 02:30:41 -0800 From: Kevin Laatz To: dev@dpdk.org Cc: Kevin Laatz , wenzhuo.lu@intel.com, jingjing.wu@intel.com Date: Fri, 12 Jan 2018 10:30:52 +0000 Message-Id: <20180112103053.47110-3-kevin.laatz@intel.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20180112103053.47110-1-kevin.laatz@intel.com> References: <20180111172412.42671-1-kevin.laatz@intel.com> <20180112103053.47110-1-kevin.laatz@intel.com> Subject: [dpdk-dev] [PATCH 2/3] app/testpmd: 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: Fri, 12 Jan 2018 10:30:44 -0000 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 --- v2: - fixed typo in commit message - fixed typo in Cc email address Cc: wenzhuo.lu@intel.com Cc: jingjing.wu@intel.com --- app/test-pmd/testpmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index 47e145c..597c703 100644 --- a/app/test-pmd/testpmd.c +++ b/app/test-pmd/testpmd.c @@ -191,8 +191,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. */ -- 2.9.4