From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) by dpdk.org (Postfix) with ESMTP id D9069C3B4 for ; Sat, 18 Apr 2015 21:42:46 +0200 (CEST) Received: by pabtp1 with SMTP id tp1so161830915pab.2 for ; Sat, 18 Apr 2015 12:42:46 -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=XSOQXka52684OunYt7aM+yabbyWpuWc5suRVWwKFq6g=; b=U4BUlmlSqKWm/T2lsXPEhm1AKSIizIRPI1eF/xVa9sJer6eCPLQxbbtQYrlo4b+Lop 6oNnfRDBepP0WcdXuGf0EBiaKj2qBroQjeiMMqO5gZbapjzJ5ARZYdn/TyhqOXAfsx5G p0xI1EXc/PSF53vDzneMB5ufFIlzE+ibCuPR/CGANbaojaV5wpxSI+cFbLDTYvFIWnDq ZGlLH4iLtSDBb/QN59Gf4hafd7UYkdB3esN+KQVHq5iQFN/9CGhURs96YlQzBkEKeU1g 8IjEfqZyxg9eq7XpZsQYqPOXpw+qh6AgXZVFmMwbE3LpLHIH7S0ROvMu22an8+7Txp6D QBSA== X-Received: by 10.67.3.195 with SMTP id by3mr15578330pad.109.1429386166123; Sat, 18 Apr 2015 12:42:46 -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 nl16sm13668472pdb.56.2015.04.18.12.42.45 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 18 Apr 2015 12:42:45 -0700 (PDT) From: Ravi Kerur To: dev@dpdk.org Date: Sat, 18 Apr 2015 12:42:41 -0700 Message-Id: <1429386161-12490-1-git-send-email-rkerur@gmail.com> X-Mailer: git-send-email 1.9.1 Subject: [dpdk-dev] [PATCH v6 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: Sat, 18 Apr 2015 19:42:47 -0000 Changes in v6 includes Adding _setname_ pthread functions when threads are created. Plan to use _getname_ when availabe in both Linux and FreeBSD. Splitting eal.c into 4 files based on the functionality. Simplify eal_pci changes for first series. 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 examples/vhost/main.c | 18 +- examples/vhost_xen/main.c | 18 +- lib/librte_eal/bsdapp/eal/Makefile | 8 +- lib/librte_eal/bsdapp/eal/eal.c | 278 +++--------------- 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/eal_thread.h | 5 + 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 | 9 + lib/librte_eal/linuxapp/eal/eal.c | 306 ++++---------------- lib/librte_eal/linuxapp/eal/eal_interrupts.c | 11 + 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_pci_vfio_mp_sync.c | 22 +- lib/librte_eal/linuxapp/eal/eal_thread.c | 152 +--------- lib/librte_eal/linuxapp/eal/eal_timer.c | 70 ++--- 32 files changed, 1595 insertions(+), 1402 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