From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hemant Agrawal Subject: [PATCH] examples/l3fwd: enabling 4m hash for all 64 bit archs Date: Tue, 23 Aug 2016 20:24:40 +0530 Message-ID: <1471964080-29958-2-git-send-email-hemant.agrawal@nxp.com> References: <1471964080-29958-1-git-send-email-hemant.agrawal@nxp.com> Mime-Version: 1.0 Content-Type: text/plain To: Return-path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0075.outbound.protection.outlook.com [104.47.41.75]) by dpdk.org (Postfix) with ESMTP id F2D25137D for ; Tue, 23 Aug 2016 11:20:32 +0200 (CEST) Received: from netperf1.ap.freescale.net ([10.232.134.28]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u7N9KR4b018569 for ; Tue, 23 Aug 2016 02:20:29 -0700 In-Reply-To: <1471964080-29958-1-git-send-email-hemant.agrawal@nxp.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch enables the support for 4 million hash entries for all 64 bit architectures. Signed-off-by: Hemant Agrawal --- examples/l3fwd/l3fwd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/l3fwd/l3fwd.h b/examples/l3fwd/l3fwd.h index d8798b7..011ba14 100644 --- a/examples/l3fwd/l3fwd.h +++ b/examples/l3fwd/l3fwd.h @@ -68,7 +68,7 @@ #define MASK_ETH 0x3f /* Hash parameters. */ -#ifdef RTE_ARCH_X86_64 +#ifdef RTE_ARCH_64 /* default to 4 million hash entries (approx) */ #define L3FWD_HASH_ENTRIES (1024*1024*4) #else -- 1.9.1