From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e8.ny.us.ibm.com (e8.ny.us.ibm.com [32.97.182.138]) by dpdk.org (Postfix) with ESMTP id A754A7DEB for ; Fri, 26 Sep 2014 11:26:45 +0200 (CEST) Received: from /spool/local by e8.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 26 Sep 2014 05:33:06 -0400 Received: from d01dlp02.pok.ibm.com (9.56.250.167) by e8.ny.us.ibm.com (192.168.1.108) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 26 Sep 2014 05:33:04 -0400 Received: from b01cxnp23034.gho.pok.ibm.com (b01cxnp23034.gho.pok.ibm.com [9.57.198.29]) by d01dlp02.pok.ibm.com (Postfix) with ESMTP id 93CD46E8028 for ; Fri, 26 Sep 2014 05:21:48 -0400 (EDT) Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by b01cxnp23034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id s8Q9X3nJ65929222 for ; Fri, 26 Sep 2014 09:33:03 GMT Received: from d01av01.pok.ibm.com (localhost [127.0.0.1]) by d01av01.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s8Q9X3qZ026890 for ; Fri, 26 Sep 2014 05:33:03 -0400 Received: from d01hub02.pok.ibm.com (d01hub02.pok.ibm.com [9.63.10.236]) by d01av01.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id s8Q9X301026881 for ; Fri, 26 Sep 2014 05:33:03 -0400 Received: from localhost.localdomain ([9.186.57.14]) by rescrl1.research.ibm.com (IBM Domino Release 9.0.1) with ESMTP id 2014092617323684-312534 ; Fri, 26 Sep 2014 17:32:36 +0800 From: Chao Zhu To: dev@dpdk.org Date: Fri, 26 Sep 2014 05:33:31 -0400 Message-Id: <1411724018-7738-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:32:37, Serialize by Router on D01HUB02/01/H/IBM(Release 8.5.3FP2 ZX853FP2HF5|February, 2013) at 09/26/2014 05:33:02, Serialize complete at 09/26/2014 05:33:02 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14092609-0320-0000-0000-000000986D25 Subject: [dpdk-dev] [PATCH 0/7] Patches to split architecture specific operations from DPDK 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:26:46 -0000 The set of patches split x86 architecture specific operations from DPDK and put them to the arch directories of i686 and x86_64 architecture. This will make the adpotion of DPDK much easier on other computer architecture. For a new architecture, just add an architecture specific directory and necessary building configuration files, then DPDK can support it. Chao Zhu (7): Split atomic operations to architecture specific Split byte order operations to architecture specific Split CPU cycle operation to architecture specific Split prefetch operations to architecture specific Split spinlock operations to architecture specific Split memcpy operation to architecture specific Split CPU flags operations to architecture specific lib/librte_eal/common/Makefile | 2 +- lib/librte_eal/common/eal_common_cpuflags.c | 173 +--------- .../common/include/i686/arch/rte_atomic_arch.h | 378 ++++++++++++++++++++ .../common/include/i686/arch/rte_byteorder_arch.h | 95 +++++ .../common/include/i686/arch/rte_cpuflags_arch.h | 335 +++++++++++++++++ .../common/include/i686/arch/rte_cycles_arch.h | 108 ++++++ .../common/include/i686/arch/rte_memcpy_arch.h | 199 ++++++++++ .../common/include/i686/arch/rte_prefetch_arch.h | 68 ++++ .../common/include/i686/arch/rte_spinlock_arch.h | 128 +++++++ lib/librte_eal/common/include/rte_atomic.h | 172 +-------- lib/librte_eal/common/include/rte_byteorder.h | 58 +--- lib/librte_eal/common/include/rte_cpuflags.h | 110 +------ lib/librte_eal/common/include/rte_cycles.h | 31 +-- lib/librte_eal/common/include/rte_memcpy.h | 95 +----- lib/librte_eal/common/include/rte_prefetch.h | 7 +- lib/librte_eal/common/include/rte_spinlock.h | 55 +--- .../common/include/x86_64/arch/rte_atomic_arch.h | 378 ++++++++++++++++++++ .../include/x86_64/arch/rte_byteorder_arch.h | 95 +++++ .../common/include/x86_64/arch/rte_cpuflags_arch.h | 335 +++++++++++++++++ .../common/include/x86_64/arch/rte_cycles_arch.h | 108 ++++++ .../common/include/x86_64/arch/rte_memcpy_arch.h | 199 ++++++++++ .../common/include/x86_64/arch/rte_prefetch_arch.h | 68 ++++ .../common/include/x86_64/arch/rte_spinlock_arch.h | 128 +++++++ 23 files changed, 2660 insertions(+), 665 deletions(-) create mode 100644 lib/librte_eal/common/include/i686/arch/rte_atomic_arch.h create mode 100644 lib/librte_eal/common/include/i686/arch/rte_byteorder_arch.h create mode 100644 lib/librte_eal/common/include/i686/arch/rte_cpuflags_arch.h create mode 100644 lib/librte_eal/common/include/i686/arch/rte_cycles_arch.h create mode 100644 lib/librte_eal/common/include/i686/arch/rte_memcpy_arch.h create mode 100644 lib/librte_eal/common/include/i686/arch/rte_prefetch_arch.h create mode 100644 lib/librte_eal/common/include/i686/arch/rte_spinlock_arch.h create mode 100644 lib/librte_eal/common/include/x86_64/arch/rte_atomic_arch.h create mode 100644 lib/librte_eal/common/include/x86_64/arch/rte_byteorder_arch.h create mode 100644 lib/librte_eal/common/include/x86_64/arch/rte_cpuflags_arch.h create mode 100644 lib/librte_eal/common/include/x86_64/arch/rte_cycles_arch.h create mode 100644 lib/librte_eal/common/include/x86_64/arch/rte_memcpy_arch.h create mode 100644 lib/librte_eal/common/include/x86_64/arch/rte_prefetch_arch.h create mode 100644 lib/librte_eal/common/include/x86_64/arch/rte_spinlock_arch.h