From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e28smtp05.in.ibm.com (e28smtp05.in.ibm.com [122.248.162.5]) by dpdk.org (Postfix) with ESMTP id E400C7EF3 for ; Sun, 16 Nov 2014 17:37:18 +0100 (CET) Received: from /spool/local by e28smtp05.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sun, 16 Nov 2014 22:17:30 +0530 Received: from d28dlp03.in.ibm.com (9.184.220.128) by e28smtp05.in.ibm.com (192.168.1.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Sun, 16 Nov 2014 22:17:27 +0530 Received: from d28relay02.in.ibm.com (d28relay02.in.ibm.com [9.184.220.59]) by d28dlp03.in.ibm.com (Postfix) with ESMTP id 3867A1258044 for ; Sun, 16 Nov 2014 22:17:33 +0530 (IST) Received: from d28av01.in.ibm.com (d28av01.in.ibm.com [9.184.220.63]) by d28relay02.in.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id sAGGlgKj57081918 for ; Sun, 16 Nov 2014 22:17:42 +0530 Received: from d28av01.in.ibm.com (localhost [127.0.0.1]) by d28av01.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id sAGGlQLF029177 for ; Sun, 16 Nov 2014 22:17:26 +0530 Received: from os_controller.crl.ibm.com ([9.186.57.97]) by d28av01.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id sAGGlP31029091 for ; Sun, 16 Nov 2014 22:17:26 +0530 From: Chao Zhu To: dev@dpdk.org Date: Sun, 16 Nov 2014 23:48:13 -0500 Message-Id: <1416199705-24150-1-git-send-email-chaozhu@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.1 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14111616-0017-0000-0000-00000230D101 Subject: [dpdk-dev] [PATCH v2 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: Sun, 16 Nov 2014 16:37:19 -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 DPDK function on Power processors. Many functions are turned off in configuratidon file. 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 size define for IBM Power architecture Add eal memory support for IBM Power Architecture app/test/test_cpuflags.c | 35 ++ app/test/test_malloc.c | 8 +- app/test/test_memzone.c | 119 ++++++- config/common_linuxapp_powerpc | 394 +++++++++++++++++++ config/defconfig_ppc_64-power8-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/arch/ppc_64/rte_atomic.h | 415 ++++++++++++++++++++ .../common/include/arch/ppc_64/rte_byteorder.h | 150 +++++++ .../common/include/arch/ppc_64/rte_cpuflags.h | 184 +++++++++ .../common/include/arch/ppc_64/rte_cycles.h | 86 ++++ .../common/include/arch/ppc_64/rte_memcpy.h | 223 +++++++++++ .../common/include/arch/ppc_64/rte_prefetch.h | 61 +++ .../common/include/arch/ppc_64/rte_spinlock.h | 73 ++++ 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 | 13 +- lib/librte_eal/linuxapp/eal/eal_memory.c | 27 +- mk/arch/ppc_64/rte.vars.mk | 39 ++ mk/machine/power8/rte.vars.mk | 57 +++ mk/rte.cpuflags.mk | 17 + 23 files changed, 1959 insertions(+), 19 deletions(-) create mode 100644 config/common_linuxapp_powerpc create mode 100644 config/defconfig_ppc_64-power8-linuxapp-gcc create mode 100644 lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h create mode 100644 lib/librte_eal/common/include/arch/ppc_64/rte_byteorder.h create mode 100644 lib/librte_eal/common/include/arch/ppc_64/rte_cpuflags.h create mode 100644 lib/librte_eal/common/include/arch/ppc_64/rte_cycles.h create mode 100644 lib/librte_eal/common/include/arch/ppc_64/rte_memcpy.h create mode 100644 lib/librte_eal/common/include/arch/ppc_64/rte_prefetch.h create mode 100644 lib/librte_eal/common/include/arch/ppc_64/rte_spinlock.h create mode 100644 mk/arch/ppc_64/rte.vars.mk create mode 100644 mk/machine/power8/rte.vars.mk