Merged, thanks, Maxim. On 01/15/2015 01:48 AM, Anders Roxell wrote:
Hi,Tried to split up Robbies odp_cpumask into "smaller" and more easily built chunks. 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, renamed APIs to "cpumask" and updated the linux helper routines to take CPU masks instead of a starting CPU and count. Changed parameter ordering to be consistent with other ODP APIs. Updated the examples/tests to use the modified APIs. v2 - Got in too big of a hurry and forgot to rebase v3 - Split patches to allow applying patches individually. Swapped arguments to CPU mask to/from string routines (to match ODP API conventions) and added missing const to several API paramters in CPU mask and linux files. Robbie King (9): api: cpumask: rename API and use CPU_SET(3) for impl api: cpumask: reorder the input vars to match convention linux-generic: cpumask: remove unneeded define api: cpumask: add odp_cpumask_copy api: cpumask: add odp_cpumask_first api: cpumask: add odp_cpumask_last api: cpumask: add odp_cpumask_next helper: linux: add odph_linux_cpumask_default helper: linux: use cpumask in linux thread/proc example/generator/odp_generator.c | 48 +++--- example/ipsec/odp_ipsec.c | 30 ++-- example/l2fwd/odp_l2fwd.c | 43 +++-- example/packet/odp_pktio.c | 37 ++-- example/timer/odp_timer_test.c | 25 ++- helper/include/odph_linux.h | 28 ++-- platform/linux-generic/Makefile.am | 4 +- platform/linux-generic/include/api/odp.h | 2 +- platform/linux-generic/include/api/odp_coremask.h | 188 --------------------- platform/linux-generic/include/api/odp_cpumask.h | 177 ++++++++++++++++++++ platform/linux-generic/include/api/odp_queue.h | 6 +- platform/linux-generic/odp_coremask.c | 109 ------------ platform/linux-generic/odp_cpumask.c | 195 ++++++++++++++++++++++ platform/linux-generic/odp_linux.c | 107 +++++++++--- test/api_test/odp_common.c | 13 +- test/performance/odp_scheduling.c | 30 ++-- test/validation/common/odp_cunit_common.c | 5 +- 17 files changed, 588 insertions(+), 459 deletions(-) delete mode 100644 platform/linux-generic/include/api/odp_coremask.h create mode 100644 platform/linux-generic/include/api/odp_cpumask.h delete mode 100644 platform/linux-generic/odp_coremask.c create mode 100644 platform/linux-generic/odp_cpumask.c
_______________________________________________ lng-odp mailing list [email protected] http://lists.linaro.org/mailman/listinfo/lng-odp
