All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/8] Move common functions in EAL
@ 2015-04-09 19:38 Ravi Kerur
       [not found] ` <1428608301-31033-1-git-send-email-rkerur-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 22+ messages in thread
From: Ravi Kerur @ 2015-04-09 19:38 UTC (permalink / raw)
  To: dev-VfR2kkLFssw

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

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2015-04-16 22:22 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-09 19:38 [PATCH v5 0/8] Move common functions in EAL Ravi Kerur
     [not found] ` <1428608301-31033-1-git-send-email-rkerur-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-04-09 19:40   ` Ravi Kerur
     [not found]     ` <1428608412-31191-1-git-send-email-rkerur-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-04-09 19:40       ` [PATCH v5 1/8] Move common functions in eal_thread.c Ravi Kerur
     [not found]         ` <1428608412-31191-2-git-send-email-rkerur-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-04-14 13:59           ` Thomas Monjalon
2015-04-14 21:35             ` Ravi Kerur
     [not found]               ` <CAFb4SLBUrSviEu3+f-vv3j4OktjodM5Dy0AUbxrpa2QtxpAVWQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-16 22:19                 ` Ravi Kerur
2015-04-09 19:40       ` [PATCH v5 2/8] Move common functions in eal.c Ravi Kerur
     [not found]         ` <1428608412-31191-3-git-send-email-rkerur-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-04-16  8:24           ` Thomas Monjalon
2015-04-16 22:08             ` Ravi Kerur
     [not found]               ` <CAFb4SLCt6HAnL7tb7HJB2HBvHPoMghkv-e-pCiK_EyjYB_p9ew-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-16 22:22                 ` Ravi Kerur
2015-04-09 19:40       ` [PATCH v5 3/8] Move common functions in eal_lcore.c Ravi Kerur
     [not found]         ` <1428608412-31191-4-git-send-email-rkerur-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-04-16  8:39           ` Thomas Monjalon
2015-04-16 22:10             ` Ravi Kerur
2015-04-09 19:40       ` [PATCH v5 4/8] Move common functions in eal_timer.c Ravi Kerur
     [not found]         ` <1428608412-31191-5-git-send-email-rkerur-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-04-16  8:46           ` Thomas Monjalon
2015-04-16 22:11             ` Ravi Kerur
2015-04-09 19:40       ` [PATCH v5 5/8] Move common functions in eal_memory.c Ravi Kerur
     [not found]         ` <1428608412-31191-6-git-send-email-rkerur-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-04-16  8:52           ` Thomas Monjalon
2015-04-16 22:11             ` Ravi Kerur
2015-04-09 19:40       ` [PATCH v5 6/8] Move common functions in eal_pci.c Ravi Kerur
     [not found]         ` <1428608412-31191-7-git-send-email-rkerur-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-04-16  9:02           ` Thomas Monjalon
2015-04-16 22:12             ` Ravi Kerur

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.