From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0072.outbound.protection.outlook.com [157.56.112.72]) by dpdk.org (Postfix) with ESMTP id A65A45A66 for ; Thu, 9 Jul 2015 06:59:29 +0200 (CEST) Received: from AM3PR02CA0026.eurprd02.prod.outlook.com (10.242.240.26) by HE1PR02MB0812.eurprd02.prod.outlook.com (10.161.118.151) with Microsoft SMTP Server (TLS) id 15.1.213.14; Thu, 9 Jul 2015 04:59:27 +0000 Received: from AM1FFO11FD003.protection.gbl (2a01:111:f400:7e00::139) by AM3PR02CA0026.outlook.office365.com (2a01:111:e400:8800::26) with Microsoft SMTP Server (TLS) id 15.1.213.14 via Frontend Transport; Thu, 9 Jul 2015 04:59:26 +0000 Authentication-Results: spf=fail (sender IP is 124.207.145.166) smtp.mailfrom=ezchip.com; ezchip.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of ezchip.com does not designate 124.207.145.166 as permitted sender) receiver=protection.outlook.com; client-ip=124.207.145.166; helo=bjgfarm-1.internal.tilera.com; Received: from bjgfarm-1.internal.tilera.com (124.207.145.166) by AM1FFO11FD003.mail.protection.outlook.com (10.174.64.85) with Microsoft SMTP Server (TLS) id 15.1.213.8 via Frontend Transport; Thu, 9 Jul 2015 04:59:16 +0000 Received: (from zlu@localhost) by bjgfarm-1.internal.tilera.com (8.14.4/8.14.4/Submit) id t694x4Nn018546; Thu, 9 Jul 2015 12:59:04 +0800 From: Zhigang Lu To: Date: Thu, 9 Jul 2015 12:58:46 +0800 Message-ID: <1436417938-18496-1-git-send-email-zlu@ezchip.com> X-Mailer: git-send-email 2.1.2 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; AM1FFO11FD003; 1:OQ/DAYnsI5+t+8MQ5YAeiCFKzc/Wwzppb84vo0rsFD4pcBHUHK6FSOXjxjWuJe40B/i/+yZcj2886bf/63TYw+zQ44WY6cSJ14kD6+OpExphSi/5ks5zqmSztqe4gCtJr126Cn2+mHoZNyZOagr0ZB0uOJRyGTvDC3aovsobbx6NX/35CayRU9LPUlF3nGub+bqaUGM2M0N6y41/DBY0FGbe2NsoKxjDcLrwOh5hfMbie8Kva6/MMSRxp2xQ/yfYUK2tWhDpNTlqxkOA3iyUDf6R8koR8k6CarBZahKmGLB9sdLU9tNy1VI3hzA1KI3kNCpt1N5jwnVU3tRT6GjbeGk6a0Fo3qstHM0Jlssm5Q7ltStIGFY3xnzpeZf8gUtdCbCqOQIZt5HlRpv/p9AW7NirBz3J8ljEc5t6Lrb0V1F+vWT6060qdHa1DUGnmfhh X-Forefront-Antispam-Report: CIP:124.207.145.166; CTRY:CN; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(339900001)(189002)(199003)(62966003)(33646002)(2351001)(104016003)(86362001)(19580395003)(6806004)(46102003)(92566002)(36756003)(47776003)(229853001)(105606002)(42186005)(189998001)(5003940100001)(50226001)(106466001)(50466002)(50986999)(450100001)(77156002)(85426001)(48376002)(107886002)(110136002)(87936001)(5001960100002)(4001430100001); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR02MB0812; H:bjgfarm-1.internal.tilera.com; FPR:; SPF:Fail; MLV:sfv; MX:1; A:1; LANG:en; MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Exchange-Diagnostics: 1; HE1PR02MB0812; 2:za65t8Pl4kFfJn75VqXehQFVhWItcv2NQmjD7JxiSU8iP1LFPsbKUD/SZziLpHko; 3:sqCv0n7Z+yIwcsyPe6v3LYYOGRgvNzuuWX8w/uLJpuWQ/nFt9TphP2vs+iloTypxL44R8hZkj29DTgVo86VSr1e5+FDkojBs6WkIiFMVIp/5kuVeQ4L0ifWls50lQSY0yVIsSOft7LUTsRxz1Q96L7yNw+g0+FjAWuDkNa+wLhqxn8KxbxpkXonc3SIGNJcP/1VyPSHJ2MJY07wxDAav53AC5MfbKCsYYkZyQe6SljIS1niVxMlTjwdLdWEd4lm+; 25:VwsIG7NP9dmbrXNyZ6CU9AR9cw2g/wc2ZVxIUoraWyUcjPKVmhsh6tYJYTim9kzWumqm96XWM9DI2Who8qPAzpHCZ/mdhu7pXINExsZMTdQSF5kj9IRIWGdltooenRgDJjrH/M7ZE4I9lW3all2J5SnlKRlu/qWToGyxT7GQiIazux9RV4CaF0BCSAoOmApnDFbfQ2MVfbA0i5Ccf+aXswF/5ioZ728s4ocvR71UBM5pfE/jCWO1xnfx0i646scNrL4sHKd0EfJYTuPAgtYJgw==; 20:B3Ywr4af8PSGvRw0EWILtn0qPQfLdk/tyKIDgvsqVA69f191+mQlv3OO9Wc9rmF/Euwv+EjbikGxvPNYE3ySwuhXJpp4+dayaDBoiEP5vbMPdmt8NZsahVVbaBsihHVn5aKwwbwuP1bjwqwYDlEIbB8uQL6tFg7r4iNpzs2ORh0= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:HE1PR02MB0812; HE1PR02MB0812: X-MS-Exchange-Organization-RulesExecuted X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:HE1PR02MB0812; BCL:0; PCL:0; RULEID:; SRVR:HE1PR02MB0812; X-Microsoft-Exchange-Diagnostics: 1; HE1PR02MB0812; 4:JZaT/Eed83xOesmqRD5O3Z71uCsGJzdnGSNFU0FM8+iz0qe+r62DXe9gFtKEH6XwECcDQTpRyW9yUUpKjESNoHFf006vdGdS+WJC2jTO+XZdx0gXF1TaHFIiDnQGqbH+zZweWPeKw8UElblAxIpUG9X4+fGwVcg7VA2IM4Rna7ZZn7GUGUFCHzPLZveXfw0gx0MLMdVjEH1fYgXKWQhwePPKZxoR3VFiAVwyhBrfSftaoHs9UyWbKKbjoubbFyhnFZKA/MTgo9f8KOqhWDiYs28Ob9gMXnevOFj+ibmPtSQ= X-Forefront-PRVS: 0632519F33 X-Microsoft-Ex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4/t8SrlerRz78XNjWk/idGyXyvqXSdVa6fDo74dkqgXFOwpRZaAZw6e6gEBV96esCccA==; 24:5c3JwgVXhaZcBnVtFvcqOdhaf/FZjFP64ChbhoUXGVVyxsHW3Qx5dDmPT8FdW+C4i5BMhZdPLlqsmUbufoHCkAdrm5uvEiMEXwbBPHIrGOA=; 20:iYF055W5EKQ2RcI1q0po7UMYWQyaUQYygYX7ZxKFXbncna3nPuQhxqnRvoNwzLvL4aPiVHSceHU4JZXc5A+XeQ== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: ezchip.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jul 2015 04:59:16.2461 (UTC) X-MS-Exchange-CrossTenant-Id: 0fc16e0a-3cd3-4092-8b2f-0a42cff122c3 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=0fc16e0a-3cd3-4092-8b2f-0a42cff122c3; Ip=[124.207.145.166]; Helo=[bjgfarm-1.internal.tilera.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR02MB0812 Subject: [dpdk-dev] [PATCH v4 00/11] Introducing the TILE-Gx platform 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: Thu, 09 Jul 2015 04:59:30 -0000 This series adds support for the EZchip TILE-Gx family of SoCs. The architecture port in itself is fairly straight forward due to its reliance on generics for the most part. In addition to adding TILE-Gx architecture specific code, this series includes a few cross-platform fixes for DPDK (cpuflags, SSE related, etc.), as well as minor extensions to to accomodate a wider range of hugepage sizes and configurable mempool element alignment boundaries. Changes in this series: v4: Added the Acked-by line, removed an already checked-in patch. Also amended commit log for "eal: allow empty compile time flags". v3: Renewed the Signed-off-by line. v2: Removed RTE_LIBNAME per Thomas' feedback. Cyril Chemparathy (10): test: limit x86 cpuflags checks to x86 builds hash: check SSE flags only on x86 builds config: remove RTE_LIBNAME definition. memzone: refactor rte_memzone_reserve() variants memzone: allow multiple pagesizes to be requested mempool: allow config override on element alignment tile: add page sizes for TILE-Gx/Mx platforms tile: initial TILE-Gx support. tile: Add TILE-Gx mPIPE poll mode driver. maintainers: claim responsibility for TILE-Gx platform Zhigang Lu (1): eal: allow empty compile time flags RTE_COMPILE_TIME_CPUFLAGS MAINTAINERS | 4 + app/test/test_cpuflags.c | 6 +- config/common_bsdapp | 1 - config/common_linuxapp | 1 - config/defconfig_ppc_64-power8-linuxapp-gcc | 2 - config/defconfig_tile-tilegx-linuxapp-gcc | 70 + drivers/net/Makefile | 1 + drivers/net/mpipe/Makefile | 46 + drivers/net/mpipe/mpipe_tilegx.c | 1637 ++++++++++++++++++++ lib/librte_eal/common/eal_common_cpuflags.c | 5 +- lib/librte_eal/common/eal_common_memzone.c | 141 +- .../common/include/arch/tile/rte_atomic.h | 86 + .../common/include/arch/tile/rte_byteorder.h | 91 ++ .../common/include/arch/tile/rte_cpuflags.h | 85 + .../common/include/arch/tile/rte_cycles.h | 70 + .../common/include/arch/tile/rte_memcpy.h | 93 ++ .../common/include/arch/tile/rte_prefetch.h | 61 + .../common/include/arch/tile/rte_rwlock.h | 70 + .../common/include/arch/tile/rte_spinlock.h | 92 ++ lib/librte_eal/common/include/rte_memory.h | 16 +- lib/librte_eal/common/include/rte_memzone.h | 50 +- lib/librte_hash/rte_hash_crc.h | 2 + lib/librte_mempool/rte_mempool.c | 16 +- lib/librte_mempool/rte_mempool.h | 6 + mk/arch/tile/rte.vars.mk | 39 + mk/machine/tilegx/rte.vars.mk | 57 + mk/rte.app.mk | 1 + mk/rte.vars.mk | 5 +- 28 files changed, 2637 insertions(+), 117 deletions(-) create mode 100644 config/defconfig_tile-tilegx-linuxapp-gcc create mode 100644 drivers/net/mpipe/Makefile create mode 100644 drivers/net/mpipe/mpipe_tilegx.c create mode 100644 lib/librte_eal/common/include/arch/tile/rte_atomic.h create mode 100644 lib/librte_eal/common/include/arch/tile/rte_byteorder.h create mode 100644 lib/librte_eal/common/include/arch/tile/rte_cpuflags.h create mode 100644 lib/librte_eal/common/include/arch/tile/rte_cycles.h create mode 100644 lib/librte_eal/common/include/arch/tile/rte_memcpy.h create mode 100644 lib/librte_eal/common/include/arch/tile/rte_prefetch.h create mode 100644 lib/librte_eal/common/include/arch/tile/rte_rwlock.h create mode 100644 lib/librte_eal/common/include/arch/tile/rte_spinlock.h create mode 100644 mk/arch/tile/rte.vars.mk create mode 100644 mk/machine/tilegx/rte.vars.mk -- 2.1.2