From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0069.outbound.protection.outlook.com [104.47.37.69]) by dpdk.org (Postfix) with ESMTP id A6C379E3 for ; Fri, 31 Mar 2017 15:36:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=DDOB5LDez/JGIdJ5Za04mm6ArshyoX0o37U+uzWWS/I=; b=UFBrBY2fje8ugTFxcTjwwrKOyivaESgVJxYG9Z0XwDPZfKYDT9TMXUZeMzQoF2+x+zJoif5uiQ6TIQ8PXr5A7yJr2Qdt406StI0dhRYpwCSOY+eySJAU3zIBflI4Z1hKJB49LL4ixA3u18PlR5HQWjnQAllma68DTlJaN979+Fw= Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from b.semihalf.local (31.172.191.173) by BLUPR0701MB1027.namprd07.prod.outlook.com (10.160.35.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1005.10; Fri, 31 Mar 2017 13:36:57 +0000 From: Andriy Berestovskyy To: Cristian Dumitrescu Cc: dev@dpdk.org Date: Fri, 31 Mar 2017 15:36:32 +0200 Message-Id: <1490967396-2240-1-git-send-email-Andriy.Berestovskyy@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [31.172.191.173] X-ClientProxiedBy: VI1P195CA0004.EURP195.PROD.OUTLOOK.COM (10.175.187.14) To BLUPR0701MB1027.namprd07.prod.outlook.com (10.160.35.19) X-MS-Office365-Filtering-Correlation-Id: f05aa10c-04a3-4581-6954-08d4783b00db X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:BLUPR0701MB1027; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1027; 3:OxL9UGgSelsYFgQO+Uy8dk8zjdA4erNNchQcfMLakiAQd5tZqPy2pWE+bThwOV/Jo+9UGLZkuysmlXKyBbZuLwb3cL1MO/Y5auULQWU+RDQMz9fDJwTqkvByoZGyTH1sEfaIR9AHZV0UfXfrJPnY6gm2zNwVBoOLt0xodhfio/CuRhIFNnrACFlfnwC82bXSxSra+qL0VvtwN+uelBr94oC+FAvTm4zomByehyobT2FbhVLr2vMRyHVoCbE1Jh+edGV+NwkZLCzJMKR41kC9csRFYOEszABkSPZPsr1B3ypftzX0YLsF4UN17HPXiwqhN3RAZSzzzavacerymaFXDg==; 25:NnGb2ha0etWaLqymlib1DyJVG/93uNfo52drjIzYzWJiL3LZedO8hmjhYWbh5jWCZHIEVTlGr1SySGxSEvJjSSfBX1zqmtaFdwg9ICf4RnoTJsosLa/VYCml4jYO58pcLhYr9hwmtUU4v/KpfN7wygzEfjxMFdVMMrljjOJNOMxwro3XGy/xqKJPYMifkIq1RBocQfmpR/TG/vA3O/jzIZpw7JWaYomVf+jQD+4n9A8FVUpaClbPfdG9XbDdyxQuYgPeSyXcBRilUMOvxIYeuboTDdvuj1j5I7AyzvFLKRvxodFBzKmT1h6jf9FxtfmtbsNYUGY2791lVt/TDdoeS96lyS7rvu4k0R+Aa53m2pP3WxeTwGejQWtpzcUO69ZjY9rxUPN8NRF5f3J4PM0HMEwhCrZOoqq1h8/HJDTOTwRGhf4t6ENaVUwKKHNxWKuQ72S7RVvJMzjnJEXOrRv1kA== X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1027; 31:bQXD/ZxUUai10y4zweiqQLdZg1HwJ9CovNl7k0FuAuttTxRAlsEnAafsnVYgjlb+FmhKZKXvD0K89S0r6LdH0aZjuDFuFqcjXD7Fi0iLUBUYx3rghQyeesYZLCinDa96kZcrFzXkTmSQElQrx3Jvls8y5/NyKL0d41CdPshhmO1JdKEj96aKKf2YdISy7sy8R1rrEaMTCRWrNsfyNyI/LLfW3j2X7C3h8LVEwOSAjE4l7jRC+Tupet4XzF+G3ow5/07WYG2Da3Qw3lTZcWDOjP6j2hVp21+QYDaAEnQbGtM=; 20:VPSSu9+L0InUIuhNIbqrZm5gMtNPufTcgXSKhRDrMWziJPL2MB6d2ipUYPLqOy7WlH5noojw+0Bb0hyYf4x6IYVTA7p3ZK+YGWCysbobqPsB3m1/toQ6nwHzYqvEtiWOCOHI0jPeh4X+8kZSAS1mcMkSjIXyChaeuEgE6K6ox/3G803+iLAtD5L3m0F7D+JDvkl0Yl90IRQpm1Sl4pWQPeHOxQ00RICLR4Gd2gfFWz4Iq9YtXxo334w8ggAYJ5vSHebxrQxhz42Ocmo0zpt+FlhMVQ1ge41xaPoVdsRRWJWcXp1xyW7xNV5bMgWhG/zrIa0l0h2s06dguAoDdGCvNzAPYQZU1okr5WLml9drVokHJGz4BDjuFpEN1EscBqkzSRNcYbFB8oKRdRw6sZOjHZ9fRi31IQRTncNrPhULKuh8YBExrxjtvovwSEVw41tOd7Qw6FWw/32Cp2mWU8jPlVywCxlPgkw2lDaMUkx9+ZrVZOH3lE5iCIJ4bvInENCcFKUKvoE8ihGjIZJO0AGCXc25fuaMGt0FoUGBBqsgQbddbk7Cjexxv9HuTOqBrsqYmyS+gM1w111BhMXzRqoyWRkQfjsLtj0oV3Te4tfdPNI= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(6041248)(20161123562025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(20161123555025)(20161123560025)(6072148); SRVR:BLUPR0701MB1027; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0701MB1027; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1027; 4:eljAxugFRZqhVNEZ7A5NsCqF2W/avFk/cMBdO248MiIfHMU0m70KBGcgJOaywqBGqb6iZYvmSsPoZkwsO3h+HO9q1LmClr8J33/1DmkO7wyCXoy99RJLYD1bq/ksIjb3RYPG0tME+QsM5IW+g6IoSUpZVNNYT5zxIktZhYSGOl6dcFKAB8ZUH93PvGgCkP2dNAxg0bSdSYaMmJ6kkY7x6qLtUASAQtfy15vkSsxuqHY9bKFTblstVX800XMoPC5Rqhtez4GcsM3us48MIhZs/VN2ZG1SGUdPK5c+RlT7WngEz/9kUQ5OdSVNPBucSrEPL1qqUeTWs4IH4OD1qQBY11zOK0y5wYd53YwTzXANZt/ZWJ6HYW0VeffLfyB0Mi7A9XFcJ/UaYtNEMDa1KdM2ydMUu/cOw1Ucr5z82BP/ktWt2oziCMztg/33i7ode7yCqifZ5HHWvc6yRrkT7ibZJGTvIbSU7sYwPC4oEL/LxGUGoskKP6Ae+o2Ou9IYZiiHES85ze63IbOjheobxNYMCd2cC+XyaYXibd0kTRUHkBhAE5qsbfbz11zvwZ8Q1e3+G7owI5Ynwa16Oz6FT8ebZAu19zhdEnf0G6YuFh5HVwXGmXmSKFGmm4aV68TqsBmZE8bMdEzbVpFbCe5/OLl3qB0ImNV2T1Xxggs45o75nOl+uLFapt1nX0BNxUDxAxymxV3wBrZgv7OSjOzmZXjmLA== X-Forefront-PRVS: 02638D901B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39410400002)(39840400002)(39850400002)(39450400003)(39400400002)(53936002)(189998001)(50986999)(6512007)(66066001)(305945005)(7736002)(47776003)(6116002)(3846002)(6506006)(6486002)(2906002)(5003940100001)(8676002)(48376002)(5660300001)(81166006)(110136004)(38730400002)(50226002)(36756003)(4326008)(42882006)(42186005)(6916009)(6666003)(25786009); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1027; H:b.semihalf.local; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1027; 23:Yg3MU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1K819zsP/CwFEjcnIqK9Rgy8v2+1JrX+kCYZCm71A0i2n40K72plNuPaXcVQMlo6dVDICvoagTmKx93uSdkgI3NUTybAFFSzGjveG6UperHgCFif6qgPwI0CKBc7AJX0CnGEk5n/LbQRMs8ijOMf/Z/DKJ1mq2XtFz8jMAhy2AqwwWOtJuaBNNMFWfYVeEK3xD1OXstLo/fYeGSiC8Qd4o2yYXez1qegv2+K5j9/2VZ/q3C/MhwiypPw342fk7ezmO0SjJ6+S/94nuUEp9Vzf6vGKolVwVZfA==; 5:C07ziImOHlBO+75h5cQBiNA1lb/Hs54nbCArb6qEpNa9QE8CF5yIS1dHK8+WZkadoya5C0kuJIXV1gaw9f3DFW+DvkMFtXRySzbXkmXODJMFoKs83xX/NX0yXZeLHqjGgnXr4vdK5gDo4l4TffM1OZyTcuLW+p0NFKLN72+RzOQ=; 24:pX0Ivz3g64ABQsD51C9e7rO84T7GQRrM4P8wBIeu2g8FEaZ7yOAQEHMB0WkPDMU8w10ZRg4pjlwAuyEFlnN6Q+ZBaGL0GhdKoZPrFRVILQE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1027; 7:j0x9zZANyTi+JM3vuXU25l3Zh3I1L3ha8FiG96fqkG4WrXvbifWqvsfg3zqdeFJn8YD85ob/nDsRd5ruQk1YQvcoxbLJfvAurgMYH6PSI7+BWMr8HfAUpXPxCG1EMn7cBmuG2Sk51G2g6dNRomhGF1FUwpM5tLlHDC/6TvUQdoR0A4nX954Oa68pt0nVa3tWMdSO4dQuNQoD0U9Mvvrx33/NuumdHQdiemxyfovrgB7jJLL0iJYkRqCXmG7wtNHFvKpeif4yrOOG/Af/I95cHJwlVUxCTy+LLFy6b4JG1C+XH5eabCHuln/L6NypnjkcXykDNT8J+Amiwe0YLkBSTg== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Mar 2017 13:36:57.4021 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1027 Subject: [dpdk-dev] [PATCH 1/5] examples/ip_pipeline: add support for more than 32 CPUs 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, 31 Mar 2017 13:37:00 -0000 At the moment ip_pipeline example uses 32 during the initialization, which leads to an error on systems with more than 32 CPUs. Signed-off-by: Andriy Berestovskyy --- examples/ip_pipeline/init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/ip_pipeline/init.c b/examples/ip_pipeline/init.c index c7f9470..1dc2a04 100644 --- a/examples/ip_pipeline/init.c +++ b/examples/ip_pipeline/init.c @@ -69,7 +69,8 @@ static void app_init_core_map(struct app_params *app) { APP_LOG(app, HIGH, "Initializing CPU core map ..."); - app->core_map = cpu_core_map_init(4, 32, 4, 0); + app->core_map = cpu_core_map_init(RTE_MAX_NUMA_NODES, RTE_MAX_LCORE, + 4, 0); if (app->core_map == NULL) rte_panic("Cannot create CPU core map\n"); -- 2.7.4