Here are the propsed modifcations for ODP 1.0 to coremask
and the linux helper routines.

v1 - Updated coremask library to use the CPU_xxx libraries
     directly, and the linux helper routines to take core
     masks instead of a starting core and count.  Also
     updated the examples/tests to use the modified APIs.

     NOTE: There is an issue with _GNU_SOURCE and sched.h
           being included directly by the odp_coremask.h
           file such that the only way I can things to
           build properly is by defining GNU_SOURCE on
           the command line via "configure":

           ./configure CFLAGS="-g -O2 -D_GNU_SOURCE"

           Several things I found on the internet suggest
           via the command line is the only proper way
           to do this, however I have been unable to 
           determine how to add this to the ODP build
           environment.

Robbie King (2):
  Convert linux thread/proc helpers to use core mask
  Update tests/examples to use coremasks

 example/generator/odp_generator.c                 |  42 +++---
 example/ipsec/odp_ipsec.c                         |  30 ++---
 example/l2fwd/odp_l2fwd.c                         |  39 +++---
 example/packet/odp_pktio.c                        |  30 ++---
 example/timer/odp_timer_test.c                    |  23 ++--
 helper/include/odph_linux.h                       |  34 +++--
 platform/linux-generic/include/api/odp_coremask.h | 128 ++++++++++++------
 platform/linux-generic/odp_coremask.c             | 157 +++++++++++-----------
 platform/linux-generic/odp_linux.c                |  95 +++++++++----
 test/api_test/odp_common.c                        |   7 +-
 test/performance/odp_scheduling.c                 |  26 ++--
 test/validation/common/odp_cunit_common.c         |   7 +-
 12 files changed, 357 insertions(+), 261 deletions(-)

-- 
1.9.3


_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to