Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: 20dd9920a9666adbbc5700a0c5f91539f36748e0 https://github.com/Linaro/odp/commit/20dd9920a9666adbbc5700a0c5f91539f36748e0 Author: Petri Savolainen <petri.savolai...@nokia.com> Date: 2017-03-01 (Wed, 01 Mar 2017)
Changed paths: M include/odp/api/spec/packet.h Log Message: ----------- api: packet: add support for packet references Introduce new APIs that support efficient sharing of portions of packets: * odp_packet_ref_static() creates a new static reference for a packet * odp_packet_ref() creates a new dynamic reference to a packet * odp_packet_ref_pkt() creates a reference to a packet with a supplied header packet * odp_packet_has_ref() checks if a packet has multiple references to it * odp_packet_unshared_len() returns the unshared data length of a reference Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com> Signed-off-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Balasubramanian Manoharan <bala.manoha...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 7f67f9c82f0d8454a17c57480e0d042ce4d02c2b https://github.com/Linaro/odp/commit/7f67f9c82f0d8454a17c57480e0d042ce4d02c2b Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2017-03-01 (Wed, 01 Mar 2017) Changed paths: M include/odp/api/spec/packet.h Log Message: ----------- api: packet: references may be implemented as copy Some implementations may implement new references as packet copy. odp_packet_has_ref() will return 0 for copies, since those are unique packets. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-and-tested-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 4d2965368138f5980598bff84bb8a5bb23b764ef https://github.com/Linaro/odp/commit/4d2965368138f5980598bff84bb8a5bb23b764ef Author: Bill Fischofer <bill.fischo...@linaro.org> Date: 2017-03-01 (Wed, 01 Mar 2017) Changed paths: M test/common_plat/validation/api/packet/packet.c M test/common_plat/validation/api/packet/packet.h Log Message: ----------- validation: packet: add packet reference tests Add validation tests for the new packet reference APIs: - odp_packet_ref_static() - odp_packet_ref() - odp_packet_ref_pkt() - odp_packet_has_ref() - odp_packet_unshared_len() Signed-off-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Balasubramanian Manoharan <bala.manoha...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 6d0a57c69bd41ad152a6366b0563edd2f39381f5 https://github.com/Linaro/odp/commit/6d0a57c69bd41ad152a6366b0563edd2f39381f5 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2017-03-01 (Wed, 01 Mar 2017) Changed paths: M test/common_plat/validation/api/packet/packet.c Log Message: ----------- validation: packet: remove non compatible tests Tests for bad inputs are not compatible to the spec. Out-of-range values cause undefined results and must not be tested in validation suite. Remove reference checks that do not comply anymore to the new odp_packet_has_ref() specification. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-and-tested-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: ce8fb2e5d86dd2b041d8bd17f7ed46035b516094 https://github.com/Linaro/odp/commit/ce8fb2e5d86dd2b041d8bd17f7ed46035b516094 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2017-03-01 (Wed, 01 Mar 2017) Changed paths: M platform/linux-generic/odp_packet.c Log Message: ----------- linux-gen: packet: implement references as copy Implement packet references API as packet copy. This is the simplest way to support the API, as other packet functions are not affected at all. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-and-tested-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: a26219abfccbd1148a1ccbf9648039dd6a790a6e https://github.com/Linaro/odp/commit/a26219abfccbd1148a1ccbf9648039dd6a790a6e Author: Yi He <yi...@linaro.org> Date: 2017-03-01 (Wed, 01 Mar 2017) Changed paths: M platform/linux-generic/odp_schedule_sp.c Log Message: ----------- linux-gen: sched: fix SP scheduler hang in process mode SP scheduler hangs in process mode performance test due to global data structure were not created in shared memory region. Signed-off-by: Yi He <yi...@linaro.org> Reviewed-and-tested-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 34f63c0cb6421ce32fac1a409cbc75fd1cc8fdbc https://github.com/Linaro/odp/commit/34f63c0cb6421ce32fac1a409cbc75fd1cc8fdbc Author: Yi He <yi...@linaro.org> Date: 2017-03-01 (Wed, 01 Mar 2017) Changed paths: M platform/linux-generic/include/odp_schedule_if.h M platform/linux-generic/odp_queue.c M platform/linux-generic/odp_schedule.c M platform/linux-generic/odp_schedule_sp.c Log Message: ----------- linux-gen: sched: solve ordered context inversion For ordered queue, a thread consumes events (dequeue) and acquires its unique sequential context in two steps, non atomic and preemptable. This leads to potential ordered context inversion in case the thread consumes prior events acquired subsequent context, while the thread consumes subsequent events but acquired prior context. This patch insert the ordered context acquisition into event dequeue operation to make these two steps atomic. Signed-off-by: Yi He <yi...@linaro.org> Reviewed-and-tested-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 8e2059e01f0d94257481cd71a5bb67733d9cb6ff https://github.com/Linaro/odp/commit/8e2059e01f0d94257481cd71a5bb67733d9cb6ff Author: Yi He <yi...@linaro.org> Date: 2017-03-01 (Wed, 01 Mar 2017) Changed paths: M platform/linux-generic/include/odp_schedule_if.h M platform/linux-generic/odp_queue.c M platform/linux-generic/odp_schedule.c M platform/linux-generic/odp_schedule_sp.c Log Message: ----------- linux-gen: sched: add unsched_queue callback Add this unsched_queue callback to indicate queue's ineligible for scheduling. Signed-off-by: Yi He <yi...@linaro.org> Reviewed-and-tested-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: ff30fcb8467467e4dd08dc1f72b852f5e0c903f1 https://github.com/Linaro/odp/commit/ff30fcb8467467e4dd08dc1f72b852f5e0c903f1 Author: Yi He <yi...@linaro.org> Date: 2017-03-01 (Wed, 01 Mar 2017) Changed paths: M platform/linux-generic/Makefile.am A platform/linux-generic/include/odp_bitmap_internal.h A platform/linux-generic/odp_bitmap.c Log Message: ----------- linux-gen: add generic bitmaps and iterators Add C++ template alike bitmap<size> to allow instantiate bitmap data structure of any size, and provide iterators to help walking through the bitmap objects. Signed-off-by: Yi He <yi...@linaro.org> Reviewed-and-tested-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 4210d023fd08e4e36983a7c5a8e7de13bcf38204 https://github.com/Linaro/odp/commit/4210d023fd08e4e36983a7c5a8e7de13bcf38204 Author: Yi He <yi...@linaro.org> Date: 2017-03-01 (Wed, 01 Mar 2017) Changed paths: M platform/linux-generic/Makefile.am M platform/linux-generic/m4/odp_schedule.m4 M platform/linux-generic/odp_schedule_if.c A platform/linux-generic/odp_schedule_iquery.c Log Message: ----------- linux-gen: add interests query (iquery) scheduler Add this interests query (iquery) scheduler as an alternate choice of ODP-linux scheduler component for performance optimization especially in lower queue counts use cases. It includes a new core algorithm, but adopted the ring-based pktio poll algorithm from default scheduler, and still uses the old ordered queue implementation. Signed-off-by: Yi He <yi...@linaro.org> Reviewed-and-tested-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 33b2cc17e92ae0eaa3961bf262035f45b9e6e2f5 https://github.com/Linaro/odp/commit/33b2cc17e92ae0eaa3961bf262035f45b9e6e2f5 Author: Bill Fischofer <bill.fischo...@linaro.org> Date: 2017-03-01 (Wed, 01 Mar 2017) Changed paths: M doc/users-guide/users-guide-packet.adoc Log Message: ----------- doc: userguide: add user documentation for packet references Signed-off-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Balasubramanian Manoharan <bala.manoha...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 8f33c673232c6b12334d02d12850e6a3e9fbde0e https://github.com/Linaro/odp/commit/8f33c673232c6b12334d02d12850e6a3e9fbde0e Author: Bill Fischofer <bill.fischo...@linaro.org> Date: 2017-03-01 (Wed, 01 Mar 2017) Changed paths: M doc/users-guide/users-guide.adoc Log Message: ----------- doc: userguide: add section on application portability Add a section to the ODP User Guide discussing application portability considerations and the use of source and binary portability options provided by ODP. Signed-off-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Mike Holmes <mike.hol...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 8cdc31026eab52b59169e8450308c8f552f49613 https://github.com/Linaro/odp/commit/8cdc31026eab52b59169e8450308c8f552f49613 Author: Christophe Milard <christophe.mil...@linaro.org> Date: 2017-03-01 (Wed, 01 Mar 2017) Changed paths: M include/odp/api/spec/byteorder.h M platform/linux-generic/include/odp/api/plat/byteorder_types.h Log Message: ----------- linux-generic: cosmetic changes on byteorder files To please check-patch before the copy to the drv interface. Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> Reviewed-and-tested-by: Mike Holmes <mike.hol...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: f0ee0e9812cb05fac89ed464732a3cd421974af9 https://github.com/Linaro/odp/commit/f0ee0e9812cb05fac89ed464732a3cd421974af9 Author: Yi He <yi...@linaro.org> Date: 2017-03-01 (Wed, 01 Mar 2017) Changed paths: M platform/linux-generic/m4/odp_schedule.m4 Log Message: ----------- linux-gen: fix odp_schedule.m4 Fixed configure script when enables schedule option schedule-iquery=yes or schedule-sp=yes: command not found Signed-off-by: Yi He <yi...@linaro.org> Reviewed-and-tested-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: ba12518e030095c7a3fd5a0156522c427b25e776 https://github.com/Linaro/odp/commit/ba12518e030095c7a3fd5a0156522c427b25e776 Author: Bill Fischofer <bill.fischo...@linaro.org> Date: 2017-03-01 (Wed, 01 Mar 2017) Changed paths: A doc/images/ref.svg A doc/images/reflen.svg A doc/images/refpkt1.svg A doc/images/refpkt2.svg A doc/images/refpktmulti.svg A doc/images/refpktsingle.svg A doc/images/refstatic.svg Log Message: ----------- doc: images: add images for packet reference documentation Signed-off-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Balasubramanian Manoharan <bala.manoha...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 919d6924c532d46a52e467d481ee30b6b8bd78ec https://github.com/Linaro/odp/commit/919d6924c532d46a52e467d481ee30b6b8bd78ec Author: Bill Fischofer <bill.fischo...@linaro.org> Date: 2017-03-01 (Wed, 01 Mar 2017) Changed paths: M CHANGELOG Log Message: ----------- changelog: summary of changes for ODP v1.14.0.0 Signed-off-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: a652887cfebadb30843a6fbfe9d5655031d46881 https://github.com/Linaro/odp/commit/a652887cfebadb30843a6fbfe9d5655031d46881 Author: Maxim Uvarov <maxim.uva...@linaro.org> Date: 2017-03-01 (Wed, 01 Mar 2017) Changed paths: M configure.ac Log Message: ----------- update API version number from v1.13.0.0 to v1.14.0.0 Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Compare: https://github.com/Linaro/odp/compare/ff7600a119f0...a652887cfeba