From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f179.google.com (mail-pd0-f179.google.com [209.85.192.179]) by dpdk.org (Postfix) with ESMTP id 867E0C6F6 for ; Wed, 29 Apr 2015 01:46:26 +0200 (CEST) Received: by pdbnk13 with SMTP id nk13so10460760pdb.0 for ; Tue, 28 Apr 2015 16:46:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=YkjWXDrBvCcBzKkC7hmwn7TtDrBIBbuzgy49gJ2drXU=; b=U1/zNExtkRkFG8APMBYguxPHFS6OsII6Q1bclpQC1RP7yrVtthBi1nMK48MItdfdb5 rDjfzHd/ctSXjIsYPJV32YMPioBgeKUCdGjBAHTr+djhNhMMSJqzLk+Mq2DNH/f5BVJO CGvezoYZmkqcbqjhdDsltlJsb/A5eDNin0TSwt1q0fqqVhSbljL/1MlUEbVt9gNaT35B 2Zo6+pMCOQZNuwleHaAgeXMkeXf7fCwmwRot0WGH1qtxTXNw7fuWTSGk291R1hVZLvDU bMVrX5liDZqmPOzAA86UGacewlAkpdE03kKoKQqag+pONjpGUNm2R1bF3i8pGAUrSQz0 8F6w== X-Received: by 10.68.102.161 with SMTP id fp1mr36883480pbb.64.1430264785849; Tue, 28 Apr 2015 16:46:25 -0700 (PDT) Received: from user-PC.hsd1.ca.comcast.net (c-98-234-176-9.hsd1.ca.comcast.net. [98.234.176.9]) by mx.google.com with ESMTPSA id fl4sm23588480pab.8.2015.04.28.16.46.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Apr 2015 16:46:25 -0700 (PDT) From: Ravi Kerur To: dev@dpdk.org Date: Tue, 28 Apr 2015 16:46:21 -0700 Message-Id: <1430264781-32560-1-git-send-email-rkerur@gmail.com> X-Mailer: git-send-email 1.9.1 Subject: [dpdk-dev] [PATCH v8 0/6] Move common functions in EAL 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: Tue, 28 Apr 2015 23:46:26 -0000 Changes in v8 includes Re-ordering source file compilation to fix ABI warning. Ran validate-abi against x86_64-native-linuxapp-gcc, x86_64-native-linuxapp-clang and x86_64-ivshmem-linuxapp-gcc environments. Testing: Linux - Ubuntu x86_64 14.04 Compilation successful (x86_64-native-linuxapp-gcc and x86_64-native-linuxapp-clang). "make test" results match baseline code. testpmd utility on I217/I218 Intel chipset. FreeBSD 10.0 x86_64 Compilation successful (x86_64-native-bsdapp-gcc and x86_64-native-bsdapp-clang). Tested with helloworld, timer and cmdline examples. Ravi Kerur (6): Move common functions in eal_thread.c Move common functions in eal.c Move common functions in eal_lcore.c Move common functions in eal_timer.c Move common functions in eal_memory.c Move common functions in eal_pci.c lib/librte_eal/bsdapp/eal/Makefile | 9 +- lib/librte_eal/bsdapp/eal/eal.c | 271 +++--------------------- lib/librte_eal/bsdapp/eal/eal_lcore.c | 72 ++----- lib/librte_eal/bsdapp/eal/eal_memory.c | 47 ++--- lib/librte_eal/bsdapp/eal/eal_pci.c | 72 +------ lib/librte_eal/bsdapp/eal/eal_thread.c | 152 -------------- lib/librte_eal/bsdapp/eal/eal_timer.c | 52 +---- lib/librte_eal/common/eal_common_app_usage.c | 63 ++++++ lib/librte_eal/common/eal_common_lcore.c | 107 ++++++++++ lib/librte_eal/common/eal_common_mem_cfg.c | 224 ++++++++++++++++++++ lib/librte_eal/common/eal_common_memory.c | 38 +++- lib/librte_eal/common/eal_common_pci.c | 72 +++++++ lib/librte_eal/common/eal_common_proc_type.c | 58 ++++++ lib/librte_eal/common/eal_common_sysfs.c | 148 ++++++++++++++ lib/librte_eal/common/eal_common_thread.c | 147 ++++++++++++- lib/librte_eal/common/eal_common_timer.c | 102 +++++++++ lib/librte_eal/common/eal_hugepages.h | 1 + lib/librte_eal/common/eal_private.h | 171 +++++++++++++++- lib/librte_eal/common/include/rte_eal.h | 4 + lib/librte_eal/linuxapp/eal/Makefile | 10 +- lib/librte_eal/linuxapp/eal/eal.c | 296 ++++----------------------- lib/librte_eal/linuxapp/eal/eal_lcore.c | 66 +----- lib/librte_eal/linuxapp/eal/eal_memory.c | 36 +--- lib/librte_eal/linuxapp/eal/eal_pci.c | 75 +------ lib/librte_eal/linuxapp/eal/eal_thread.c | 152 +------------- lib/librte_eal/linuxapp/eal/eal_timer.c | 55 +---- 26 files changed, 1277 insertions(+), 1223 deletions(-) create mode 100644 lib/librte_eal/common/eal_common_app_usage.c create mode 100644 lib/librte_eal/common/eal_common_lcore.c create mode 100644 lib/librte_eal/common/eal_common_mem_cfg.c create mode 100644 lib/librte_eal/common/eal_common_proc_type.c create mode 100644 lib/librte_eal/common/eal_common_sysfs.c create mode 100644 lib/librte_eal/common/eal_common_timer.c -- 1.9.1