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 5D6B7A496 for ; Fri, 12 Jan 2018 11:48:43 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Jan 2018 02:48:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,348,1511856000"; d="scan'208";a="9856985" Received: from silpixa00399499.ir.intel.com (HELO silpixa00399499.ger.corp.intel.com) ([10.237.222.68]) by orsmga007.jf.intel.com with ESMTP; 12 Jan 2018 02:48:40 -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:48:45 +0000 Message-Id: <20180112104846.47396-3-kevin.laatz@intel.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20180112104846.47396-1-kevin.laatz@intel.com> References: <20180112103053.47110-1-kevin.laatz@intel.com> <20180112104846.47396-1-kevin.laatz@intel.com> Subject: [dpdk-dev] [PATCH v2 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:48:43 -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