From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e7.ny.us.ibm.com (e7.ny.us.ibm.com [32.97.182.137]) by dpdk.org (Postfix) with ESMTP id 5FFFC7E00 for ; Fri, 26 Sep 2014 11:30:21 +0200 (CEST) Received: from /spool/local by e7.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 26 Sep 2014 05:36:42 -0400 Received: from d01dlp03.pok.ibm.com (9.56.250.168) by e7.ny.us.ibm.com (192.168.1.107) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 26 Sep 2014 05:36:40 -0400 Received: from b01cxnp23034.gho.pok.ibm.com (b01cxnp23034.gho.pok.ibm.com [9.57.198.29]) by d01dlp03.pok.ibm.com (Postfix) with ESMTP id 1D297C90026 for ; Fri, 26 Sep 2014 05:25:24 -0400 (EDT) Received: from d01av05.pok.ibm.com (d01av05.pok.ibm.com [9.56.224.195]) by b01cxnp23034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id s8Q9aVx14981088 for ; Fri, 26 Sep 2014 09:36:39 GMT Received: from d01av05.pok.ibm.com (localhost [127.0.0.1]) by d01av05.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s8Q9a7Qo002918 for ; Fri, 26 Sep 2014 05:36:07 -0400 Received: from d01hub02.pok.ibm.com (d01hub02.pok.ibm.com [9.63.10.236]) by d01av05.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id s8Q9a7wD002655 for ; Fri, 26 Sep 2014 05:36:07 -0400 Received: from localhost.localdomain ([9.186.57.14]) by rescrl1.research.ibm.com (IBM Domino Release 9.0.1) with ESMTP id 2014092617351628-312546 ; Fri, 26 Sep 2014 17:35:16 +0800 From: Chao Zhu To: dev@dpdk.org Date: Fri, 26 Sep 2014 05:36:14 -0400 Message-Id: <1411724186-8036-1-git-send-email-bjzhuc@cn.ibm.com> X-Mailer: git-send-email 1.7.1 X-MIMETrack: Itemize by SMTP Server on rescrl1/Research/Affiliated/IBM(Release 9.0.1|October 14, 2013) at 2014/09/26 17:35:16, Serialize by Router on D01HUB02/01/H/IBM(Release 8.5.3FP2 ZX853FP2HF5|February, 2013) at 09/26/2014 05:36:06, Serialize complete at 09/26/2014 05:36:06 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14092609-5806-0000-0000-00000098F226 Subject: [dpdk-dev] [PATCH 00/12] Patches for DPDK to support Power architecture 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: Fri, 26 Sep 2014 09:30:22 -0000 The set of patches add IBM Power architecture to the DPDK. It adds the required support to the EAL library. This set of patches doesn't support full function on Power processors. Many functions are turned off in configuratidon. More patches will be added continuesly. Chao Zhu (12): Add compiling definations for IBM Power architecture Add atomic operations for IBM Power architecture Add byte order operations for IBM Power architecture Add CPU cycle operations for IBM Power architecture Add prefetch operation for IBM Power architecture Add spinlock operation for IBM Power architecture Add vector memcpy for IBM Power architecture Add CPU flag checking for IBM Power architecture Remove iopl operation for IBM Power architecture Add cache size define for IBM Power Architecture Add huge page sizes for IBM Power architecture Add memory support for IBM Power Architecture app/test/test_cpuflags.c | 35 ++ app/test/test_malloc.c | 8 +- app/test/test_mbuf.c | 2 +- app/test/test_memzone.c | 119 ++++++- config/common_linuxapp_powerpc | 388 ++++++++++++++++++++ config/defconfig_ppc_64-native-linuxapp-gcc | 42 +++ config/defconfig_x86_64-native-linuxapp-clang | 1 + config/defconfig_x86_64-native-linuxapp-gcc | 1 + config/defconfig_x86_64-native-linuxapp-icc | 1 + lib/librte_eal/common/eal_common_memzone.c | 15 +- .../common/include/powerpc/arch/rte_atomic.h | 387 +++++++++++++++++++ .../common/include/powerpc/arch/rte_atomic_arch.h | 318 ++++++++++++++++ .../include/powerpc/arch/rte_byteorder_arch.h | 79 ++++ .../include/powerpc/arch/rte_cpuflags_arch.h | 199 ++++++++++ .../common/include/powerpc/arch/rte_cycles_arch.h | 67 ++++ .../common/include/powerpc/arch/rte_memcpy_arch.h | 129 +++++++ .../include/powerpc/arch/rte_prefetch_arch.h | 67 ++++ .../include/powerpc/arch/rte_spinlock_arch.h | 88 +++++ lib/librte_eal/common/include/rte_byteorder.h | 66 ++++ lib/librte_eal/common/include/rte_memory.h | 9 +- lib/librte_eal/common/include/rte_memzone.h | 8 + lib/librte_eal/linuxapp/eal/eal.c | 16 +- lib/librte_eal/linuxapp/eal/eal_memory.c | 19 +- mk/arch/powerpc/rte.vars.mk | 39 ++ mk/machine/powerpc/rte.vars.mk | 57 +++ mk/rte.cpuflags.mk | 17 + 26 files changed, 2161 insertions(+), 16 deletions(-) create mode 100644 config/common_linuxapp_powerpc create mode 100644 config/defconfig_ppc_64-native-linuxapp-gcc create mode 100644 lib/librte_eal/common/include/powerpc/arch/rte_atomic.h create mode 100644 lib/librte_eal/common/include/powerpc/arch/rte_atomic_arch.h create mode 100644 lib/librte_eal/common/include/powerpc/arch/rte_byteorder_arch.h create mode 100644 lib/librte_eal/common/include/powerpc/arch/rte_cpuflags_arch.h create mode 100644 lib/librte_eal/common/include/powerpc/arch/rte_cycles_arch.h create mode 100644 lib/librte_eal/common/include/powerpc/arch/rte_memcpy_arch.h create mode 100644 lib/librte_eal/common/include/powerpc/arch/rte_prefetch_arch.h create mode 100644 lib/librte_eal/common/include/powerpc/arch/rte_spinlock_arch.h create mode 100644 mk/arch/powerpc/rte.vars.mk create mode 100644 mk/machine/powerpc/rte.vars.mk