From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0052.outbound.protection.outlook.com [104.47.36.52]) by dpdk.org (Postfix) with ESMTP id 1A69D2BC8 for ; Thu, 18 May 2017 09:34:39 +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=WWPXSkW8jMxHXeHurSxfgW+lEjj6MndPuvrfhlBzpqk=; b=ECckq9/YYU/6kaS6jT6sGJka7lIpHAfvxIyu3QPSC+YiIZGky4+wozfxZVesqWw+iUIPWhPt90iY32ibZbOZtEPcXbcYjo4tfkK8EpZUtQ+C5PBr1DnZHJDA+uvVtDeja39wgHcb/c5AH4j8U3VzKz92BTvfpW3rOUev0QDRaxw= Authentication-Results: caviumnetworks.com; dkim=none (message not signed) header.d=none;caviumnetworks.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from 1scrb-1.caveonetworks.com (50.233.148.156) by SN1PR07MB2429.namprd07.prod.outlook.com (10.169.127.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1084.16; Thu, 18 May 2017 07:34:36 +0000 From: Ashwin Sekhar T K To: jerin.jacob@caviumnetworks.com, john.mcnamara@intel.com, jianbo.liu@linaro.org Cc: dev@dpdk.org, Ashwin Sekhar T K Date: Thu, 18 May 2017 00:34:24 -0700 Message-Id: <20170518073426.14920-1-ashwin.sekhar@caviumnetworks.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170517181949.12002-1-ashwin.sekhar@caviumnetworks.com> References: <20170517181949.12002-1-ashwin.sekhar@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [50.233.148.156] X-ClientProxiedBy: MWHPR15CA0064.namprd15.prod.outlook.com (10.174.254.26) To SN1PR07MB2429.namprd07.prod.outlook.com (10.169.127.141) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7fef77be-390d-408d-fe1c-08d49dc0561f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:SN1PR07MB2429; X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2429; 3:2cq6V7ykpMRMsa4RykSRBVSu70FXeN+xzAKCVElF22T72kn4xByuI5X/lyhkqnvF/v3pquY42renPdLxlaCni32DFZ8boUlD7dlNy/oliosBv0JCbzPK6P/KEntFZN2jeLlYsZjBVsbFeyNcUlchs56B6W2+kc41lS5m+JzN09ceSIWTjCdHGoGunKAXDSPVxL5eNhXbCZ4sCXhbm3n5mtkhiKqafACrupmC3svpZzfkIWUHK2CEcfflkr+w4OWQfBbBsrwbf8dkMZ+wb+vgQLJY8d0RLeu9jXpGRwYaOVpr5wivVwXYbRRbXPASu2aDks25VH8bPN0IfflgIB8A2Q==; 25:z7wyEsmgqn94Qd60z2yGjOHBViGEf0c7J0p662MC2wuK1KTn4/5lJPjusiyVWRVvC9nUZlwjXvjaZTSnLDhW2dWTzCVzYlmojMYCqBFrOAyuVqxZD9wPfRGvmbXHpBKvDKPiPUPEQdrUNUoWRvNS3FIR0EfL3O2ZbLj+H+dRwu2y7xdzJCae+8ye/2J7U+Lk7kpGXrLXaUb7ZMaIeBNqVQZf48HH0q63AHRiLJDCLd0Nhh745S9Dqu5mBOSABM544LfpgC8um/WyBTIDPUtC292j9mabGz9RP+RVozGU9LXep/LlUUYeKUenzD8Aq34aFlCVxt4C/UrwH9GC8NCcjJJmANJdScrF0eyOzidrBwZ/5D7QMuJ6AcrL3TQ4fYP9SyKwiyDpUp4ZmpbuvtbexPLleGU+kfgS328n2GCaGsevkmBDmArZjFQUDbzj8fVrxW9OR+oD1dThQp8RQLWvMnn3b1TVzYZiKHLH+dKQTYQ= X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2429; 31:Q7qZgDkwRFYbU55Dd0drS6GGUdYmczAIZQNPlHy5/J9idQlOa3rXMjkmF7fe2ncpz7kKOpkIFKBtbyFTmOfjXtbfTTIEgyLiqhSuPHmeQwr5kZlCCiALozMEtC2XRNFly2xhuB0k/4+dt4lxsX9LZE4i/lbKLZcXZdxbcCjNaJcPYfkHf2gf1wBEyapHPgsnSC7FKdQWEfJVp8eMMsAMcGuFxXtJ72unPoNIfjvBe1I=; 20:N/0hM3Gr4kpOkMczn2M08JtQADpewPpbCkaAQfvOVB/qTYA2J42yOoZzMbNEQ2O+6tWyNg7rEmkmTPN24VCZsUWJwPx3csHagfaFPaNOYf1K/itv2oJZwSAzqnp7kp2asjzklFXlHvsTzVDU3B3XmUzCjFsnA/dM8HiLRlcYlDEj6eQCBOvYx2nMVAo83B8c0BiSxETjCI/9EG1Ts0/TMa2T59kSo+l2ReoHlIUtcyCSyKN+zsN1aFkJ0r8yVfc98NFqnMO2Fsmsa7itvTMusQQrDjYeHcqPKyGLz+4XLwl9r//gHvBNrdzRH8XvtlOH/LyZsRVP7+BWkVRlM2bOzEoWY8p2mR1uHh2w9Nu2x+0MQnX/JFWSjdDQJMoIE4t/04sa6DNPjsFN9jO6MAWkzjXo7enm9YCNLKYWG0I5f/YQmBaVI5keUFA7IFK5X9zfWmm+LDwLPEvRQUZpdjOC7Am5rBuKeGx/j4DmiDn7Fuao23YTGk32ES/lXF7zV2hS6FVWZUC27rGLjQYsB7EEf0T1ih+PgVZKAW+XV+L34mPKB74oe0OBJg348o6Ds0BJZrzN0BnkAO47KcHdY0Co7tmE43e2GKEOO4YAZEBE+A4= 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)(10201501046)(93006095)(3002001)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123558100)(20161123555025)(20161123562025)(20161123564025)(6072148); SRVR:SN1PR07MB2429; BCL:0; PCL:0; RULEID:; SRVR:SN1PR07MB2429; X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2429; 4:Ny6rhtv+Iw904RTnrJHgaYyMPvkzw54zCR6781N7H/EyzynrpvDziHkCe6kqkxQOL/R1kNoqe13L78+O1bx0+0Eo9n30nCP8vXhalUck6jyXrmZTZKTJhRQV5vNFFPqhGbfHMui5j007gQDLNuCDiPlmGZ/N7dV+ZtRn8sbeJPMQO9oyn/ZPeb5nJ87/V1ghIEowaRCSH5aAE81Sq/4RrLjvSlrYEaSJQKC323R6kQ6fwIchZiPrBzv442K2OxynttSsJYInE2yOpLucHsgC63XIGJ7nTYVNbOfDmhsxtwLvQN1n8pwqzF1IMbz+c1d73Xd5eZquCFqmlEklm1GQsHVfqA1piPhYOeZJu9590xqbTZ/CXb84heg/EkTXvMmyrrwH77t8mlEuEpZkzdfN3Pztw/leOWM9zH3E5eFCiTmRWEnswSxDL7cMuNDLUNeUtCz160FzmowsfCX8fdfnsmT3mR3Z8yljKk1v8t/Ca2RiUY3gug4A7QOBOhWZMJ03aFEv9Sow3M3eWNiKZUL9h42f9UNLpQDMvoW1qA1g9rvJQv8jPkW0iJM1ufupoAR6uSLOpFQV5qvVSxjYq1A+8PKUmTISwfWM1hQ77AOOJWAHzYEOQs9RjuKOXLl5jWqBLM9610t/5+DhOfLN6rda6pf4e1ti/A/Vk1fReAdGMONJnWLnR0mid6apfo0XZKK/gukRfhrKLaolZBr/61/lMPhQnXmKM4RhROXip+5ivRfPI++QhXkjDgVJpBXTVpxEkaO7mLI3TsF/qkuEYMuhzQ== X-Forefront-PRVS: 0311124FA9 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39850400002)(39450400003)(39840400002)(39400400002)(39410400002)(53936002)(72206003)(33646002)(53416004)(42186005)(6486002)(5660300001)(305945005)(7736002)(50226002)(4326008)(5003940100001)(189998001)(478600001)(1076002)(6666003)(81166006)(36756003)(8676002)(66066001)(38730400002)(110136004)(2906002)(48376002)(6512007)(47776003)(42882006)(6506006)(2950100002)(3846002)(25786009)(6116002)(50986999)(76176999); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR07MB2429; H:1scrb-1.caveonetworks.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR07MB2429; 23:UqlB2gNElWYSfP6QH8x9f88Vh5oEqSUb47PvWUpZL?= =?us-ascii?Q?dWHr2ZMRYirmudJuIpvkjxzSIRDeOqLg4pL0uaA6QPM5rmxUxQaI/Ntk5blJ?= =?us-ascii?Q?eZLA4Jbpj07fOddRSbZCLqqNwnUwSOphoiSHQ1vkYvZhcefOcxcVJ5wn6lyo?= =?us-ascii?Q?o1AAmZ4ZVOsHXf3PE/Gx9y+oFo2TaK869ObpXKewmva/W0wqaGXDY5XeVIbv?= =?us-ascii?Q?2/3vMA2pGQdWgaOGrwfmdInMI1vXE/BReSFgKZKdX9P/5ECCBCl324NZ97l7?= =?us-ascii?Q?s+BSf4d5Wx3ur5oBKb1iW07c4iDSppRuX5fq6+fD0IdmrjpR4sJ406O28Tci?= =?us-ascii?Q?qRsMPlzMliNOHFvNMwqyQZMeiB1QzdxvVAeGSXKaP8DPEQYBpQSxV/CEHld+?= =?us-ascii?Q?9e9VQUYqyJhBKPSzKtNYD3pqvsRjs50G9po5nxHNEB86sFVO42bA+TEG/dD0?= =?us-ascii?Q?zfdkEIE1n6iViEvYdAKA7+OJ9NLbSUg1epxANgX7zS7jCfcxa/yNSJxUrc8S?= =?us-ascii?Q?iY7F9yeuulWjcxW+nVoib9OvTMiqB9Z2kS73BmoFmpkp3Vi7vzCrDrL4WtZ8?= =?us-ascii?Q?4NtmguvO8fzqCDgAFt/vmNVjstZhRIHa0ws5N0XCmaubroS0vBojVtH/v5mr?= =?us-ascii?Q?QH5SDnSt8K6svq8oLudCg17/SdsJQnSikaHw1D9GSrwIO9ZIYmrH7TG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w7QKLzm40rsKSrpMlEZq1amAhKms3p+DOdbn0Vm0DE9bQVLMnI0JajP4kg7PFZOra4yy6oUSj8tw8CXMuvtQXoB9w2Muuvk6ourh+bvHcux61TdxsmjXg==; 24:HC8DYesZCoIP+TcHZiOTKNpjnAKnDZC+q1s38B9vhcd6IJSAmjzsS+THktizYVbFrljF/QntxoBAqo6oDDT2W4R3aFLSv3erk8DocKq8x4o= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2429; 7:nhnV/h88SDZ2bzpIaEoKUiUXCH++hpyMiDVHaqegihDTpWJlGp5muDi45V9zYrMoHhufkzeb5DjRTMNs0KDC16ZlN9gYZIC4fobvVgJ/WL7PVvUCPe77RisJQSBn3TMra88AmOB327CsgWXQ8+fTf7yYkTPd2rD2AFd+mMILbm2tbht2vFbZSdeSVhqXcj4rXtpuVPzrYKRcfG/U6JZGVyv2GDzkGE7BfBVeNJBh7PEsuRYuaIUGwKsrNpJQyiZv/ba5ACi2fDa/iK+Vwl+/9+jEjwuLwVfTM8JFbFt1zJ38qlCU7dUGjjJ80nUwhZG57gMtjFSwkkbXBu4XgOIX9w== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 May 2017 07:34:36.5407 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR07MB2429 Subject: [dpdk-dev] [PATCH v2 0/2] examples/performance-thread: add arm64 support 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: Thu, 18 May 2017 07:34:39 -0000 This series of patches adds the arm64 support for performance-thread app. Patch 1 moves some x86 specific code to architecture dependent directory Patch 2 adds the necessary arm64 support for lthread. v2: * Split the patch into separate patches, one for code reorg and another for adding arm64 support. Ashwin Sekhar T K (2): examples/performance-thread: reorganise arch dependent code examples/performance-thread: add arm64 support examples/performance-thread/Makefile | 4 +- .../performance-thread/common/arch/arm64/ctx.c | 99 ++++++++++++++++++ .../performance-thread/common/arch/arm64/ctx.h | 95 ++++++++++++++++++ .../performance-thread/common/arch/arm64/stack.h | 111 +++++++++++++++++++++ .../performance-thread/common/arch/x86/stack.h | 66 ++++++++++++ examples/performance-thread/common/common.mk | 10 +- examples/performance-thread/common/lthread.c | 11 +- examples/performance-thread/l3fwd-thread/main.c | 2 +- 8 files changed, 384 insertions(+), 14 deletions(-) create mode 100644 examples/performance-thread/common/arch/arm64/ctx.c create mode 100644 examples/performance-thread/common/arch/arm64/ctx.h create mode 100644 examples/performance-thread/common/arch/arm64/stack.h create mode 100644 examples/performance-thread/common/arch/x86/stack.h -- 2.12.2