From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f53.google.com (mail-pa0-f53.google.com [209.85.220.53]) by dpdk.org (Postfix) with ESMTP id EA6183237 for ; Thu, 23 Apr 2015 23:35:12 +0200 (CEST) Received: by pabtp1 with SMTP id tp1so28914740pab.2 for ; Thu, 23 Apr 2015 14:35:12 -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=I9VoeLFpG6Y0uVygFvrcXhVHwD6HPSyCI/Vg1wV/QXs=; b=TxpEStPrT0vjEa9f5unfKHphHR0IUn06lDWrXAD9vmLMLR8AsOuJmUdwccyJ1dhEDA gTwNH6jYl8igAz5pL7dSUKlYiosLmDRLG/WwyXbyVXAhM6AXzAPjU5c+8MxjNfTwTWv2 n2DI5l0/cRfbWZEnpAoOE2eEqPCQe+PbfOI5dj+xZRKrTF5nNjL0ro2oGudFxaQY1UC+ bwyaOnJpAhWB3LVK3M8pBHGQ6iiXwe9T/v4M53zYfB84t/QuHNNk0V71SArwNTsAQiB9 1ttHy4y1+nNgws5j1qUak9UlyjZwUDHURR6i/fyT4q7pf+jJf7rrgU+4Op81diZjzoDm svig== X-Received: by 10.66.192.1 with SMTP id hc1mr9060528pac.38.1429824912258; Thu, 23 Apr 2015 14:35:12 -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 da2sm8957442pbb.75.2015.04.23.14.35.11 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 23 Apr 2015 14:35:11 -0700 (PDT) From: Ravi Kerur To: dev@dpdk.org Date: Thu, 23 Apr 2015 14:35:09 -0700 Message-Id: <1429824909-9360-1-git-send-email-rkerur@gmail.com> X-Mailer: git-send-email 1.9.1 Subject: [dpdk-dev] [PATCH v7 0/6] Move EAL common functions. 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, 23 Apr 2015 21:35:13 -0000 Changes in v7 includes Fix clang and ICC compilation errors reported by Bruce. Remove pthread _setname_ APIs introduced in v6 as a separate patch is sent. 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). helloworld. 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 | 8 +- 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 | 217 ++++++++++++++++++++ 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 | 163 +++++++++++++++ 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 | 7 + 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, 1282 insertions(+), 1222 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