From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) by dpdk.org (Postfix) with ESMTP id 842BF5A43 for ; Thu, 9 Apr 2015 21:38:26 +0200 (CEST) Received: by pabsx10 with SMTP id sx10so159352638pab.3 for ; Thu, 09 Apr 2015 12:38:26 -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=bz5ANVy/VkNqtv9xAjxSlO+g/16SFYg9Ou9DVfDss50=; b=gd3Ir/5NKevYHrXZHgyED9LSTW/ViIN7N9KwjCv3X7ogJJv/yJ2zRV0/7RPh82og9b 3lMQNiV4qmcoeyy5xDsGoZ88leRRK2b7OvPRNYcMwsc/IFy04UqS4PlnuUV0pncM1hU4 z75pA1/s2bVjh2arn+2rbfIUv3jMwgduE6LRNIBkvzOOpq29KyFuRXILBpXFDjvj/R1M givK0y0tjta0+R5aLMMVO1w5t4Q8ZlQdJ6CaIHRUHksF2WoxnD3MmUxC2kzHD/XKNBA2 BmJx9Ir4FWVK6jNmPGBYD7VBbsOwmcyL5WlCFHF2AY/d4h0Uc6hy5kBOLEt4ary+lJkd IrjQ== X-Received: by 10.68.231.66 with SMTP id te2mr58713265pbc.118.1428608305963; Thu, 09 Apr 2015 12:38: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 qc10sm15126914pbc.72.2015.04.09.12.38.25 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Apr 2015 12:38:25 -0700 (PDT) From: Ravi Kerur To: dev@dpdk.org Date: Thu, 9 Apr 2015 12:38:21 -0700 Message-Id: <1428608301-31033-1-git-send-email-rkerur@gmail.com> X-Mailer: git-send-email 1.9.1 Subject: [dpdk-dev] [PATCH v5 0/8] 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: Thu, 09 Apr 2015 19:38:27 -0000 Changes include moving common functions in BSD and Linux into common directory. Use appropriate wrapper functions to mask minor differences. Testing: Linux - Ubuntu x86_64 14.04 Compilation successful (x86_64-native-linuxapp-gcc). "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 | 6 +- 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 | 122 ++-------- lib/librte_eal/bsdapp/eal/eal_thread.c | 152 ------------ lib/librte_eal/bsdapp/eal/eal_timer.c | 52 +---- lib/librte_eal/common/eal_common_lcore.c | 107 +++++++++ lib/librte_eal/common/eal_common_memory.c | 38 ++- lib/librte_eal/common/eal_common_pci.c | 130 ++++++++++- lib/librte_eal/common/eal_common_runtime.c | 201 ++++++++++++++++ lib/librte_eal/common/eal_common_system.c | 203 ++++++++++++++++ lib/librte_eal/common/eal_common_thread.c | 158 +++++++++++++ lib/librte_eal/common/eal_common_timer.c | 101 ++++++++ lib/librte_eal/common/eal_hugepages.h | 1 + lib/librte_eal/common/eal_private.h | 186 +++++++++++++++ lib/librte_eal/common/include/rte_eal.h | 4 + lib/librte_eal/common/include/rte_pci_dev_ids.h | 8 +- lib/librte_eal/linuxapp/eal/Makefile | 5 + lib/librte_eal/linuxapp/eal/eal.c | 295 ++++-------------------- 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 | 100 +------- lib/librte_eal/linuxapp/eal/eal_pci_init.h | 6 - lib/librte_eal/linuxapp/eal/eal_pci_uio.c | 36 +-- lib/librte_eal/linuxapp/eal/eal_pci_vfio.c | 17 +- lib/librte_eal/linuxapp/eal/eal_thread.c | 152 ------------ lib/librte_eal/linuxapp/eal/eal_timer.c | 55 +---- 28 files changed, 1355 insertions(+), 1332 deletions(-) create mode 100644 lib/librte_eal/common/eal_common_lcore.c create mode 100644 lib/librte_eal/common/eal_common_runtime.c create mode 100644 lib/librte_eal/common/eal_common_system.c create mode 100644 lib/librte_eal/common/eal_common_timer.c -- 1.9.1