Skip to content

Move common functions in EAL

Ravi Kerur dpdk-dev 13 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest6 patches 4 repliesIn review
  2. v76 patches 20 repliesSuperseded
  3. v6 posting 3/36 patches 8 repliesSuperseded
Earlier versions · 10
VersionPostedPatchesRepliesStatus
v6 posting 2/36 of 9 patches0 repliesSuperseded
v6 posting 1/30 of 6 patches0 repliesSuperseded
v56 of 8 patches14 repliesSuperseded
v4 posting 2/27 patches0 repliesSuperseded
v4 posting 1/20 of 7 patches5 repliesSuperseded
v36 patches4 repliesSuperseded
v2 posting 3/36 patches3 repliesSuperseded
v2 posting 2/31 patch12 repliesApplied
v2 posting 1/31 patch0 repliesSuperseded
v17 patches33 repliesSuperseded

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Move common functions in eal_thread.clib/librte_eal/bsdapp/eal/Makefile lib/librte_eal/bsdapp/eal/eal_thread.c lib/librte_eal/common/eal_common_thread.c +2 more+151 -3060 replies
2/6Move common functions in eal.clib/librte_eal/bsdapp/eal/Makefile lib/librte_eal/bsdapp/eal/eal.c lib/librte_eal/common/eal_common_app_usage.c +8 more+660 -4912 replies
3/6Move common functions in eal_lcore.clib/librte_eal/bsdapp/eal/Makefile lib/librte_eal/bsdapp/eal/eal_lcore.c lib/librte_eal/common/eal_common_lcore.c +3 more+143 -1190 replies
4/6Move common functions in eal_timer.clib/librte_eal/bsdapp/eal/Makefile lib/librte_eal/bsdapp/eal/eal_timer.c lib/librte_eal/common/eal_common_timer.c +3 more+140 -950 replies
5/6Move common functions in eal_memory.clib/librte_eal/bsdapp/eal/eal_memory.c lib/librte_eal/common/eal_common_memory.c lib/librte_eal/common/eal_private.h +1 more+72 -690 replies
6/6Move common functions in eal_pci.clib/librte_eal/bsdapp/eal/eal_pci.c lib/librte_eal/common/eal_common_pci.c lib/librte_eal/common/eal_private.h +1 more+113 -1451 reply

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchNeil Horman
SeriesA-b
1/6
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v8 thread

Cover letter [PATCH v8 0/6] Move common functions in EAL

Changes in v8 includes
Re-ordering source file compilation to fix ABI warning. Ran validate-abi against x86_64-native-linuxapp-gcc, x86_64-native-linuxapp-clang and x86_64-ivshmem-linuxapp-gcc environments.

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 and x86_64-native-bsdapp-clang).
Tested with helloworld, timer and cmdline examples.

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           |   9 +-
 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   | 224 ++++++++++++++++++++
 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     | 148 ++++++++++++++
 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         |  10 +-
 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, 1277 insertions(+), 1223 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
Signature · 1 line
1.9.1