[dpdk-dev] [PATCH v10 0/3] deduplicate EAL common functions

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Jul 27 02:56:31 CEST 2015


v9 was a subset of previous deduplications by Ravi Kerur.
This v10 address the comments I've done on v9.

Ravi Kerur (3):
  eal: deduplicate lcore initialization
  eal: deduplicate timer functions
  eal: deduplicate memory initialization

 lib/librte_eal/bsdapp/eal/Makefile                 |  2 +
 lib/librte_eal/bsdapp/eal/eal_lcore.c              | 72 ++++---------------
 lib/librte_eal/bsdapp/eal/eal_memory.c             | 39 +----------
 lib/librte_eal/bsdapp/eal/eal_timer.c              | 58 ++--------------
 .../eal/eal_lcore.c => common/eal_common_lcore.c}  | 52 +++++---------
 lib/librte_eal/common/eal_common_memory.c          | 38 +++++++++-
 .../eal/eal_timer.c => common/eal_common_timer.c}  | 79 +++------------------
 lib/librte_eal/common/eal_private.h                | 46 +++++++++++++
 lib/librte_eal/linuxapp/eal/Makefile               |  3 +
 lib/librte_eal/linuxapp/eal/eal_lcore.c            | 66 ++----------------
 lib/librte_eal/linuxapp/eal/eal_memory.c           | 80 +++++++---------------
 lib/librte_eal/linuxapp/eal/eal_timer.c            | 60 ++--------------
 12 files changed, 175 insertions(+), 420 deletions(-)
 copy lib/librte_eal/{bsdapp/eal/eal_lcore.c => common/eal_common_lcore.c} (75%)
 copy lib/librte_eal/{bsdapp/eal/eal_timer.c => common/eal_common_timer.c} (57%)

-- 
2.4.2



More information about the dev mailing list