Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: ce61337e6a7e955913fa64412c75d2066e0f121c https://github.com/Linaro/odp/commit/ce61337e6a7e955913fa64412c75d2066e0f121c Author: Balakrishna Garapati <balakrishna.garap...@linaro.org> Date: 2017-04-03 (Mon, 03 Apr 2017)
Changed paths: M test/common_plat/validation/api/packet/packet.c Log Message: ----------- validation: packet: do assert on newly created pkt reference Signed-off-by: Balakrishna Garapati <balakrishna.garap...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 0955fbb395dc1651a8bcd473beae2154d39f4a69 https://github.com/Linaro/odp/commit/0955fbb395dc1651a8bcd473beae2154d39f4a69 Author: Balakrishna Garapati <balakrishna.garap...@linaro.org> Date: 2017-04-06 (Thu, 06 Apr 2017) Changed paths: M platform/linux-generic/Makefile.am A platform/linux-generic/include/odp_errno_define.h M platform/linux-generic/include/odp_internal.h Log Message: ----------- linux-generic: decouple odp_errno define from odp-linux makes it easy to define odp_errno to dpdk rteerrno and fixes linking issues. Signed-off-by: Balakrishna Garapati <balakrishna.garap...@linaro.org> Reviewed-and-tested-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: c9417b862f7df0213b5135f0aa364761cb23cec6 https://github.com/Linaro/odp/commit/c9417b862f7df0213b5135f0aa364761cb23cec6 Author: Matias Elo <matias....@nokia.com> Date: 2017-04-13 (Thu, 13 Apr 2017) Changed paths: M test/common_plat/validation/api/packet/packet.c Log Message: ----------- validation: packet: increase test pool size Previously packet_test_concatsplit() could fail on some pool implementations as the pool ran out of buffers. Increase default pools size and use capability to make sure the value is valid. Signed-off-by: Matias Elo <matias....@nokia.com> Reviewed-by: Balakrishna Garapati <balakrishna.garap...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 66869dae3b8cce7ed020d6922bd68ed30542f753 https://github.com/Linaro/odp/commit/66869dae3b8cce7ed020d6922bd68ed30542f753 Author: Matias Elo <matias....@nokia.com> Date: 2017-04-13 (Thu, 13 Apr 2017) Changed paths: M test/common_plat/validation/api/packet/packet.c Log Message: ----------- validation: packet: remove invalid check from packet_test_alloc_segmented() One can't assume that the packet should be segmented as this test is using a different pool with different parameters than the default test pool. Signed-off-by: Matias Elo <matias....@nokia.com> Reviewed-by: Balakrishna Garapati <balakrishna.garap...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 077b6c427cac9687349a56ebf5602bb953348440 https://github.com/Linaro/odp/commit/077b6c427cac9687349a56ebf5602bb953348440 Author: Matias Elo <matias....@nokia.com> Date: 2017-04-13 (Thu, 13 Apr 2017) Changed paths: M test/common_plat/validation/api/packet/packet.c Log Message: ----------- validation: packet: use common define for test pool sizes Signed-off-by: Matias Elo <matias....@nokia.com> Reviewed-by: Balakrishna Garapati <balakrishna.garap...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 8c0df898b6f90564037fba43b1e9e6224e4ee740 https://github.com/Linaro/odp/commit/8c0df898b6f90564037fba43b1e9e6224e4ee740 Author: Bill Fischofer <bill.fischo...@linaro.org> Date: 2017-04-13 (Thu, 13 Apr 2017) Changed paths: M include/odp/arch/default/api/abi/packet.h M platform/linux-generic/include/odp/api/plat/packet_inlines.h M platform/linux-generic/include/odp/api/plat/packet_types.h M platform/linux-generic/odp_packet.c Log Message: ----------- abi: packet: restore abi compatibility for odp_packet_seg_t type When running in --enable-abi-compat=yes mode, all ODP types need to be of pointer width in the default ABI definition. The optimization of the odp_packet_seg_t type to uint8_t can only be supported when running in --enable-abi-compate=no mode. Change the ODP packet routines to use type converter routines that have varying definitions based on whether we're running in ABI compatibility mode and provide these variant definitions to enable proper ABI compatibility while still supporting an optimized typedef for non-ABI mode. This resolves Bug https://bugs.linaro.org/show_bug.cgi?id=2940 Reported-by: Krishna Garapati <balakrishna.garap...@linaro.org> Reviewed-by: Balakrishna Garapati <balakrishna.garap...@linaro.org> Signed-off-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 3e5a07edf190614e739c8dba76cf165330e1b035 https://github.com/Linaro/odp/commit/3e5a07edf190614e739c8dba76cf165330e1b035 Author: Bill Fischofer <bill.fischo...@linaro.org> Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M platform/linux-generic/include/odp/api/debug.h M test/common_plat/miscellaneous/odp_api_from_cpp.cpp Log Message: ----------- linux-generic: debug: enable helper use from c++ programs The ODP_STATIC_ASSERT() macro expands to _Static_assert(), however when used in C++ programs this needs to expand to static_assert(). This resolves Bug https://bugs.linaro.org/show_bug.cgi?id=2852 Reported-by: Moshe Tubul <moshe.tu...@firmitas-cs.com> Signed-off-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 39be9572056ee715468214ad6d2d5c01054456d7 https://github.com/Linaro/odp/commit/39be9572056ee715468214ad6d2d5c01054456d7 Author: Brian Brooks <brian.bro...@arm.com> Date: 2017-04-19 (Wed, 19 Apr 2017) Changed paths: M configure.ac Log Message: ----------- configure.ac: fix native Clang build on ARMv8 The build is broken when using clang on ARM. -mcx16 is being passed to clang when building natively on ARM. This combined with -Werror causes the breakage. Fix it by skipping anything related to -mcx16 when not building for x86-based architectures. See [1] for details. Signed-off-by: Brian Brooks <brian.bro...@arm.com> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 8eba3e76f32bb2d17b88ba13f633606fef61efe8 https://github.com/Linaro/odp/commit/8eba3e76f32bb2d17b88ba13f633606fef61efe8 Author: Kevin Wang <kevin.w...@arm.com> Date: 2017-04-19 (Wed, 19 Apr 2017) Changed paths: M platform/linux-generic/pktio/loop.c Log Message: ----------- linux-gen: pktio: miss an unlock operation before exit if error happens Just set the return value, and remove the return() function at the failure branch. https://bugs.linaro.org/show_bug.cgi?id=2933 Signed-off-by: Kevin Wang <kevin.w...@arm.com> Reviewed-by: Ola Liljedahl <ola.liljed...@arm.com> Reviewed-by: Brian Brooks <brian.bro...@arm.com> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: d20f3a639d236066cbd76514df5c4faaa0ae17e9 https://github.com/Linaro/odp/commit/d20f3a639d236066cbd76514df5c4faaa0ae17e9 Author: Brian Brooks <brian.bro...@arm.com> Date: 2017-04-19 (Wed, 19 Apr 2017) Changed paths: M test/common_plat/performance/odp_scheduling.c Log Message: ----------- test: odp_scheduling: handle dequeueing from a concurrent queue Signed-off-by: Ola Liljedahl <ola.liljed...@arm.com> Reviewed-by: Brian Brooks <brian.bro...@arm.com> Reviewed-by: Honnappa Nagarahalli <honnappa.nagaraha...@arm.com> Reviewed-by: Kevin Wang <kevin.w...@arm.com> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 58a963ccab214829a7526498b2b63349d4f5caef https://github.com/Linaro/odp/commit/58a963ccab214829a7526498b2b63349d4f5caef Author: Maxim Uvarov <maxim.uva...@linaro.org> Date: 2017-04-19 (Wed, 19 Apr 2017) Changed paths: M configure.ac M include/odp/arch/default/api/abi/packet.h M platform/linux-generic/Makefile.am M platform/linux-generic/include/odp/api/debug.h M platform/linux-generic/include/odp/api/plat/packet_inlines.h M platform/linux-generic/include/odp/api/plat/packet_types.h A platform/linux-generic/include/odp_errno_define.h M platform/linux-generic/include/odp_internal.h M platform/linux-generic/odp_packet.c M platform/linux-generic/pktio/loop.c M test/common_plat/miscellaneous/odp_api_from_cpp.cpp M test/common_plat/performance/odp_scheduling.c M test/common_plat/validation/api/packet/packet.c Log Message: ----------- Merge branch 'master' into api-next Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: d4419b080f46aa347637f04445f856e2badaabfa https://github.com/Linaro/odp/commit/d4419b080f46aa347637f04445f856e2badaabfa Author: Kevin Wang <kevin.w...@arm.com> Date: 2017-04-19 (Wed, 19 Apr 2017) Changed paths: M test/common_plat/validation/api/scheduler/scheduler.c Log Message: ----------- validation: scheduler: modify the queue size for atomic queue Signed-off-by: Kevin Wang <kevin.w...@arm.com> Reviewed-by: Honnappa Nagarahalli <honnappa.nagaraha...@arm.com> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: c4c5fbb7ab395443d53efed0741136d92ef13d7a https://github.com/Linaro/odp/commit/c4c5fbb7ab395443d53efed0741136d92ef13d7a Author: Kevin Wang <kevin.w...@arm.com> Date: 2017-04-19 (Wed, 19 Apr 2017) Changed paths: M test/common_plat/validation/api/scheduler/scheduler.c Log Message: ----------- validation: scheduler: release context according to scheduler sync type For different scheduler sync type, need to call different release function. Signed-off-by: Kevin Wang <kevin.w...@arm.com> Reviewed-by: Honnappa Nagarahalli <honnappa.nagaraha...@arm.com> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Compare: https://github.com/Linaro/odp/compare/6ce267197a66...c4c5fbb7ab39