From mboxrd@z Thu Jan 1 00:00:00 1970 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 DM2PR03CA0046.namprd03.prod.outlook.com (10.141.96.45) by DM5PR03MB2716.namprd03.prod.outlook.com (10.168.197.142) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.587.9; Tue, 23 Aug 2016 09:20:30 +0000 Received: from BY2FFO11FD046.protection.gbl (2a01:111:f400:7c0c::102) by DM2PR03CA0046.outlook.office365.com (2a01:111:e400:2428::45) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.587.9 via Frontend Transport; Tue, 23 Aug 2016 09:20:30 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11FD046.mail.protection.outlook.com (10.1.15.170) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.587.6 via Frontend Transport; Tue, 23 Aug 2016 09:20:30 +0000 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 From: Hemant Agrawal To: Date: Tue, 23 Aug 2016 20:24:40 +0530 Message-ID: <1471964080-29958-2-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1471964080-29958-1-git-send-email-hemant.agrawal@nxp.com> References: <1471964080-29958-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131164176311645669; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(81156014)(104016004)(81166006)(189998001)(97736004)(92566002)(107886002)(110136002)(47776003)(36756003)(11100500001)(450100001)(68736007)(356003)(8676002)(85426001)(8936002)(50226002)(105606002)(5660300001)(2351001)(229853001)(77096005)(626004)(305945005)(7846002)(5003940100001)(33646002)(586003)(106466001)(87936001)(19580405001)(2950100001)(48376002)(86362001)(19580395003)(50466002)(2906002)(50986999)(76176999); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR03MB2716; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD046; 1:aJcVEDqGhaWIpsUdMFyIxATS04gZbSa14wEP4JNk3EYviufiu5Dk1Y36IOTRw/SGe6uVUj0iOFsRWgo1gce5ZsXdABhTB1G0zJtumxRitfqby1PrSO+w10zX1O4nveR7THutofSM74KCgSvm2DkxQ8SGilmsHQvcmPy/PYCrQaLhWoSbPCW10W3QKVCSZVrh/ye4P/Wbu3YK3S95L3cbM5ggpUHTvRe5vqNyjNcW2gfIxUG9kmbwZ3Qypp57AA7w0MLXlhbjhAQ9IQZRjy8EX2qi9Dc7aYKZvwhFZjZCvQN2jM0qBOL1DR1TUIMzg+JLCtY6I5hlXVO3Kj3BVGFa3nZyPMlxfVkz8oIeDXiTtLyFT7OJ8cvcHFUJoqT51o1ah7GFkaaQuS6VVkDShzt4oD3+MhnZ/IovR7nThV8BTQUsxP55o/fLE4P7/7iGjTTKSNmv27GKiPxMXOhkGd3XKCpcBfpuIhTkGtPgPPpXftx2kT0yrDlpl5xniz105OL0ctFsLSJ/34e1ZTAz278DCFLYJDs/436gGiMQ9VFS3o319Srg5+aJAHJHybNQLInIOjuDt4qioLfAyu1cpbVuUA== MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: df7ca08f-a125-4a7f-9487-08d3cb36bac4 X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2716; 2:vb2DZz2PYUlqqLgmNlWweG3ah2UrN2DL6eviScsB2ac9HZ4RFfHRKPOClegnKKiU4ODkaWlZvV7WpjcUp9+7RTTe7kxIU1Q3Lcz9/Vx6UkYzAQYkMKuk1Nv751+u50ySAqs6Luz2GS7VeOe7YhKhbyXjwiMxP1ZxohT2Lyxem/u6LnIpgnzVaqGKh2i41CeM; 3:GLYaOgeRhkw8XWIQIeE6UFvbSTlhwAxRRSS0H6PjZLI+ELtUREMkZyClhz5HQ1U8qtb58Luu7+5wW3OfcSs63mMqzNLFR50MXKVRuifNRGmhxOizw0SUnzFcVLuquGtNvocWQQQ6/+z0qdM1rCYyFkax8YyZ9Nd8hiengtp+HXLx7nrdiuH7ppsGTSINEybC0NK9CAxruF+1qsPCrKDFEkG8mvgHvsOtvGezITDt2/w= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM5PR03MB2716; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2716; 25:b7etC1A2w1/PPJy5UiRwQ7p/hnsUoIl0CaQ7QQ66xZucRosEKdQLMPvPz66dMad64Q68E/2rPA/Oux8Sjgshg6aKuUagEHIyLPzsmjV0Tpq0g+I6o08ZC3j6mSXeHeqFmuaBMNXPmHIRIIswsasFHk9EXT0FWyUbJI8RT/Vnfnen8xK1Pp7aM3E182eyh8Ara9vztAowlNbp3tsADQqZqtaoug/ztlYTxwd7NnmB7PjNK227uFBTtaDgabggOXsKZLICQUgAwiwyFc61iIZ+C39x6nEZAxX2CFowouifASkg+6FVGLnvX7zJJb7qDdBvU9PumoHRPJAu9J2RxNX5Jw8Wmn/kHPoub7+htxjW/+mvlt9zHlApARUknSCL6L8EjB46LNHH9zmUwhtldQzWXmO3ZCOJt5HnocqZbMXQ63gjUkifFBosErVpfGUfQOmPpIgqIreyVyIAgEX13c006jJp0B7WwK86n4T1rzcM9jNzp35k+OwQmDOuxb1WOEJaXStusQiN3wkD5Il83g6J95uDBj73sFAf762GLSu+g76F2hqpZTS4nJLn6Ic9CZPZ2p8zgUQ6nZSHp8rfUc7633g+V/DuFQyOv4hcpwZT/93ZiY6nmzDmCKIoDPfQ6G/5sJqUgtLyT2sVBnsBFlKBS8A8ahbJuwTFeRF21LA6YTEoiON6ONpu+0idqC+6dWr6ovZlbn/NLdfc+o6gBCntvw==; 31:D/dsEwzIurkuh9XdnJIBVsNH5PxvfbTFx3ZVh07wHSPt8E78s4wqYHPemlMNSw35r01FKAtJPn2AOt4ek3KlS+Y5OfthGrQLGHVJ5gZJSmIFrHvCzc69zvnK0njrtlLYnuN7SQ9f44RpNCkZPcnMC6FXajhylZFn5QHMHwZVSEzyCh8Opg1oFT3288EcdCVIcZWoDv06xZw/NQLOaHRIIU2VuC2cGfO0MQRic0KAizk= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13015025)(13017025)(13023025)(13024025)(13018025)(5005006)(8121501046)(3002001)(10201501046)(6055026); SRVR:DM5PR03MB2716; BCL:0; PCL:0; RULEID:(400006); SRVR:DM5PR03MB2716; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2716; 4:i3xgXHcu4Xr7poUMVoC2IpjLHaiN1TKQ+TmidhGX+FNL9k/sz0io5+qM8J1IYqzrdcpiA5qNktAuQwTEd75jjA7PopReOBUP/uO4r4Ifd37J5RqXY3hxuq3IIf92SYbq89MZ7iEAY2ifQYG8XwZhjaMciP0+xfIOuwUer+6KvfXbHGTgxFR+XIEicElhqUizP+QJAdv9ygxXSPtmkRM2fScQolY46i9EPidAcpqdKbpPLRuAZYHTWFAOKmE8HW48YLTai+AqzDtQRs7Y/jlC97kI89Ihd0NZII6sgmishYS29NVXzPcQqmcEo60dP8YZIFZjtXCKDSdXpVzS3qsAI62iWiym5mFjDr1AAuDT0iTQzp381AEt5sER1FAV6xPPV4crzABcHKMAmQj3lRgAQPq7Ze6sW90w5ZCTTzL55yOFQr8RJyNysPzUWO+wslasVpoee3cVLb3NFXj93WkPBLxpetmuQSvVpLy5dHip7nD0VABOeHXyfL3QuxEkj0KOg5cdqpvWtowL1b5sZe/ogDKd9LS4sbGvu4jXYme3ppI= X-Forefront-PRVS: 004395A01C X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR03MB2716; 23:yb8YkFMQcZRycsYUFPvGH9CuRxb/bV5FqiydaFLNG?= =?us-ascii?Q?Y3QpMKLCoPgNsjWmfaQTprwLeVhk3aKzOLk1bRk8/cy5j4kdF6rEkZa2WCoi?= =?us-ascii?Q?NEZzFQs91q5zBzw+9S7Xtx/if1oLtyEdPKLMAUBGXQoG+vQpEkLE+v/OBH2M?= =?us-ascii?Q?LAbiLEhdv7PloXyHCWHQ6OOKQJ3MtX1vDJLlMTBDvbxao6cBHo6QMN/BiAbD?= =?us-ascii?Q?gQvHh6JXpypXc7tAnPQ5kr4n4BgD6nNgDnBzHeL26q37hS2YVA4PQo2ctoup?= =?us-ascii?Q?A7gscPCCMc6e9tVem58uzLYQId5qkeqdc6l6EmgIzHDgwskTeb6ZPro2fekw?= =?us-ascii?Q?Mnflj/mB1Givzl8XxW++TNg8n+FLDRjBA7z5s8M5Q9V7ptEMh1JWfEDzT8MY?= =?us-ascii?Q?z61lzUv6SmrNsT5qhVP9yDgpBGlspGnp7V21r4y+QXjTSyLIjBKXuNWUNVvK?= =?us-ascii?Q?ge86jtYq2nIWqltMC9lQAtsyu15IFMrzQrsMTt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ZADof7h2IMqjNukmyrVI80scf6CMchhAwSOpH4SGQHgyEgsK63u+Am5t+EfQeINhpt4nndkfOxvfNPCGtf7Q5h1VoX4=; 5:E4uFLF30FF1Ei2p/HtFegPfyJ9Vroxtrb5RG/+Xz3jP5LVE2IIedVHclEIRUKxaRVQnWJ5SD4vn3Szz/tAaox9c6AZkj4LmYU84T6x3Xh4vnFt9W93tqzKKDl+opUfL8DJFfuIWEL6rKxF/QcDjYVVXINI/NJ4pwyVtwEi4M8QQ=; 24:BG8e+dthxMWE03AoU+2xQLGMFYT8MsQo56HP0oG99aRlN7yfts02Gub1ZwRI7r1N/OD1NWyz2zv/Ni95caUxfYhTxKhNmoZlJknhuXStEBw=; 7:aNzNAN/XT5QlbOtZs4s0cUlpdiX/rGqvcf8zDw3zR70Qs/ML2hF7IdwLgv3Em81tA7TynFPQiRlTlajVBn6EUpzdhspwc7spJsxjADKMqWe8gSeot/54UmvSKm21sCyAQo9zmmNQA8jAftW/+0QkD2vl0G76TH9ddOjmsS6f6RfLDQNjwGhgGfxC0Faaq/UY89TH/Ge1rKJGRwTDpzXj44CGlRw4WJUTsbOC/UjUL2BrOvezFyujykgZ8ETInhXS SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Aug 2016 09:20:30.9617 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR03MB2716 Subject: [dpdk-dev] [PATCH] examples/l3fwd: enabling 4m hash for all 64 bit archs X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Aug 2016 09:20:33 -0000 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