dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
From: Ravi Kerur <rkerur-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: dev-VfR2kkLFssw@public.gmane.org
Subject: [PATCH v7 0/6] Move EAL common functions.
Date: Thu, 23 Apr 2015 14:35:09 -0700	[thread overview]
Message-ID: <1429824909-9360-1-git-send-email-rkerur@gmail.com> (raw)

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

             reply	other threads:[~2015-04-23 21:35 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-23 21:35 Ravi Kerur [this message]
     [not found] ` <1429824909-9360-1-git-send-email-rkerur-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-04-23 21:35   ` [PATCH v7 1/6] Move common functions in eal_thread.c Ravi Kerur
     [not found]     ` <1429824936-9399-1-git-send-email-rkerur-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-04-23 21:35       ` [PATCH v7 2/6] Move common functions in eal.c Ravi Kerur
2015-04-23 21:35       ` [PATCH v7 3/6] Move common functions in eal_lcore.c Ravi Kerur
2015-04-23 21:35       ` [PATCH v7 4/6] Move common functions in eal_timer.c Ravi Kerur
2015-04-23 21:35       ` [PATCH v7 5/6] Move common functions in eal_memory.c Ravi Kerur
2015-04-23 21:35       ` [PATCH v7 6/6] Move common functions in eal_pci.c Ravi Kerur
2015-04-24 13:51       ` [PATCH v7 1/6] Move common functions in eal_thread.c Neil Horman
     [not found]         ` <20150424135114.GA32445-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2015-04-24 15:14           ` Ravi Kerur
     [not found]             ` <CAFb4SLCOkKsD92=x4ZaYSfnNh972wFJxLAkVgf5WghuZNbJ1Wg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-24 15:22               ` Neil Horman
     [not found]                 ` <20150424152200.GB32445-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2015-04-24 16:45                   ` Ravi Kerur
     [not found]                     ` <CAFb4SLDhKjtSoU4r7wJwFjKXpmOF1zwJC8+ZTA9jZwgckfGzhA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-24 18:53                       ` Neil Horman
     [not found]                         ` <20150424185327.GE32445-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2015-04-24 19:21                           ` Ravi Kerur
     [not found]                             ` <CAFb4SLBPzaux+=y+iBSBM=bovC=zSY8HXh4-rGmSHO9J-efA8w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-24 19:51                               ` Neil Horman
     [not found]                                 ` <20150424195153.GF32445-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2015-04-24 21:24                                   ` Ravi Kerur
     [not found]                                     ` <CAFb4SLD8nxfCtdQpKkzpA2Ljh2kn2X_g1qarq-9nPbESSKG_NA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-25  1:45                                       ` Ravi Kerur
     [not found]                                         ` <CAFb4SLAbjNm01GKJf9-praT5Z4xGA8ncM78TvuPbYpKPLi7Q9A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-25 12:32                                           ` Neil Horman
     [not found]                                             ` <20150425123241.GB26734-0o1r3XBGOEbbgkc5XkKeNuvMHUBZFtU3YPYVAmT7z5s@public.gmane.org>
2015-04-25 13:02                                               ` Neil Horman
     [not found]                                                 ` <20150425130214.GA28043-0o1r3XBGOEbbgkc5XkKeNuvMHUBZFtU3YPYVAmT7z5s@public.gmane.org>
2015-04-26  0:09                                                   ` Ravi Kerur
     [not found]                                                     ` <CAFb4SLDv34X6EBj7=ssn4C0PJfmG2_0d0fkPpohyyB3cAFvOPg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-27 13:44                                                       ` Neil Horman
     [not found]                                                         ` <20150427134435.GD17179-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2015-04-27 22:39                                                           ` Ravi Kerur
     [not found]                                                             ` <CAFb4SLAVdYMGsxTZSUxqN2coikFDRS_aCSStR0mNUAMK41eWsA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-28 19:35                                                               ` Neil Horman
     [not found]                                                                 ` <20150428193516.GB26098-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2015-04-28 23:52                                                                   ` Ravi Kerur
     [not found]                                                                     ` <CAFb4SLA0F9B9ZNh_tGZj1_Zk1DAGKjvB-icmDJqdWJ4Ph-buww-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-29 10:04                                                                       ` Neil Horman
     [not found]                                                                         ` <20150429100401.GA32154-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2015-04-29 17:47                                                                           ` Ravi Kerur
     [not found]                                                                             ` <CAFb4SLCD4eRMOM75JxBUjkdMBagtTGbFLAHghePzjj27ypNAjA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-30 16:00                                                                               ` Neil Horman
     [not found]                                                                                 ` <20150430160038.GA5462-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2015-05-01  0:15                                                                                   ` Ravi Kerur

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1429824909-9360-1-git-send-email-rkerur@gmail.com \
    --to=rkerur-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).