Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: 6947621e1b3a3c73c3ee351325f505e5e191474f https://github.com/Linaro/odp/commit/6947621e1b3a3c73c3ee351325f505e5e191474f Author: Josep Puigdemont <josep.puigdem...@linaro.org> Date: 2018-04-24 (Tue, 24 Apr 2018)
Changed paths: M platform/linux-generic/odp_fdserver.c Log Message: ----------- linux-gen: fdserver: remove unnecessary locking The locks in fdserver's operations don't serve any purpose, there is no need to acquire a lock when registering a file descriptor to the server, specially because the only place where the registering function is used is already protected by another lock, and the same goes for deregistering. Also, the fdserver handles requests sequentially. On the other hand, removing the lock from the lookup function may return a fd that is being deregistered, but this is not protecting us from misusing it because the operation to be unregistered may be queued right after the lookup request, at which point the fd is already invalid anyway. Signed-off-by: Josep Puigdemont <josep.puigdem...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 7e355890905a9195ff1027377991b4134e285a03 https://github.com/Linaro/odp/commit/7e355890905a9195ff1027377991b4134e285a03 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-04-25 (Wed, 25 Apr 2018) Changed paths: M platform/linux-generic/odp_ipsec.c Log Message: ----------- linux-gen: ipsec: parse IPv6 next header in tunnel case IPsec parsing code will fail to update next header field in internal state in case of outbound tunnel processing of IPv6 packets. Fixes: https://bugs.linaro.org/show_bug.cgi?id=3764 Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 24262a9aae62290dfd1a041d0bd5c6943270251d https://github.com/Linaro/odp/commit/24262a9aae62290dfd1a041d0bd5c6943270251d Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-04-25 (Wed, 25 Apr 2018) Changed paths: M platform/linux-generic/test/mmap_vlan_ins/mmap_vlan_ins.sh Log Message: ----------- test: mmap_vlan_ins: wait for background process Each 'make check' run was still leaving a mmap_vlan_ins process behind. Wait until both processes (also the background process) has finished before tearing down the interfaces. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 5028177e4e795305b514d7164ff882dcf1d3622b https://github.com/Linaro/odp/commit/5028177e4e795305b514d7164ff882dcf1d3622b Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-04-25 (Wed, 25 Apr 2018) Changed paths: M .travis.yml Log Message: ----------- travis: fetch explicitly specified DPDK version Use tag to fetch DPDK, rather than fetching top of corresponding branch. This allows us to specify stable version and stop unnecessary playing with the cache. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Matias Elo <matias....@nokia.com> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 8d957f16105fa44d483478b2c05bae735680c007 https://github.com/Linaro/odp/commit/8d957f16105fa44d483478b2c05bae735680c007 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-04-25 (Wed, 25 Apr 2018) Changed paths: M .travis.yml Log Message: ----------- travis: bump DPDK version to 17.11.2 - latest LTS release Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Matias Elo <matias....@nokia.com> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: f69f033da3b6900acdd170668cae07ac6cd959f3 https://github.com/Linaro/odp/commit/f69f033da3b6900acdd170668cae07ac6cd959f3 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-04-25 (Wed, 25 Apr 2018) Changed paths: M test/validation/api/crypto/odp_crypto_test_inp.c Log Message: ----------- validation: crypto: add missing ODP_CIPHER_ALG_AES_CTR name Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 53dca8426775ed5bf40f2c2708915f02b2dccc74 https://github.com/Linaro/odp/commit/53dca8426775ed5bf40f2c2708915f02b2dccc74 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-04-25 (Wed, 25 Apr 2018) Changed paths: M test/validation/api/timer/timer.c Log Message: ----------- validation: timer: loosen period accuracy requirement Test passes if measured: * timeout period is within +-20% (+-4x resolution) of the requested period, and * test period is within +-10% (+- 1 timeout period) of the requested 10 periods. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: c164ad605422f90f3566e4c4ebed0ea3c2adb3a8 https://github.com/Linaro/odp/commit/c164ad605422f90f3566e4c4ebed0ea3c2adb3a8 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-04-25 (Wed, 25 Apr 2018) Changed paths: M test/performance/odp_crypto.c Log Message: ----------- test: crypto perf: add missing breaks to switch case Breaks are needed for switch-cases. Missing breaks were breaking build for GCC 7.2. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 82499a9a4c80670de20825992478ccd4d764e28c https://github.com/Linaro/odp/commit/82499a9a4c80670de20825992478ccd4d764e28c Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-04-25 (Wed, 25 Apr 2018) Changed paths: M platform/linux-generic/m4/odp_dpdk.m4 M platform/linux-generic/pktio/dpdk.c Log Message: ----------- linux-gen: dpdk: fix linking to libnuma Linking to dpdk/numa can fail with the following message: /usr/bin/x86_64-linux-gnu-ld: lib/.libs/libodp-linux.a(dpdk.o): undefined reference to symbol 'numa_num_configured_nodes@@libnuma_1.2' //usr/lib/x86_64-linux-gnu/libnuma.so.1: error adding symbols: DSO missing from command line Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 2ee48570ed824d5caff4f8cb121b7c293a481820 https://github.com/Linaro/odp/commit/2ee48570ed824d5caff4f8cb121b7c293a481820 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-04-26 (Thu, 26 Apr 2018) Changed paths: M platform/linux-generic/odp_timer.c Log Message: ----------- linux-gen: timer: fix timer pool index allocation Timer pool index was allocated using atomic counters, so that a combination of timer_pool_create and _destroy calls resulted the same index to be allocated for multiple timers. Use a global data structure protected with a lock to maintain pool status. Fixes: https://bugs.linaro.org/show_bug.cgi?id=3772 Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: f0d0fd91978a8127ed270b03853ac0e04492a333 https://github.com/Linaro/odp/commit/f0d0fd91978a8127ed270b03853ac0e04492a333 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-04-26 (Thu, 26 Apr 2018) Changed paths: M platform/linux-generic/odp_timer.c Log Message: ----------- linux-gen: timer: reduce number of timer pools Typical application needs only couple of timer pools. Reduce number of timer pools to reduce global data structure size. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 0f700e1a4b8e66c269081eba64eb5be8c37de868 https://github.com/Linaro/odp/commit/0f700e1a4b8e66c269081eba64eb5be8c37de868 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-04-26 (Thu, 26 Apr 2018) Changed paths: M test/validation/api/timer/timer.c Log Message: ----------- validation: timer: add timer pool create-destroy test Added a test case that creates, uses and destroyes multiple timer pools. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 4ec4a756c7607e3a78878e6699a82ccf6d0a1461 https://github.com/Linaro/odp/commit/4ec4a756c7607e3a78878e6699a82ccf6d0a1461 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-04-28 (Sat, 28 Apr 2018) Changed paths: M .travis.yml Log Message: ----------- travis: do not run gcov before executing codecov script There is no need to manually run gcov from Travis script, codecov.io will do that for us. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 3600304c30c4a345538f6c06ca50183b14cd12b1 https://github.com/Linaro/odp/commit/3600304c30c4a345538f6c06ca50183b14cd12b1 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-04-28 (Sat, 28 Apr 2018) Changed paths: M doc/Makefile.inc Log Message: ----------- doc: allow user to provide exta asciidoctor flags Allow user to provide extra asciidoctor flags. E.g. this allows one to override icons and/or fonts placement. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 27a84cdfc0dfb82e3b86067e473658c091377892 https://github.com/Linaro/odp/commit/27a84cdfc0dfb82e3b86067e473658c091377892 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-03 (Thu, 03 May 2018) Changed paths: M platform/linux-generic/odp_timer.c Log Message: ----------- linux-gen: timer: set and check highest resolution When using inline_timers, highest resolution was left to 0 ns and was checked to be non-zero. In practice, few nanosecond resolution is not needed or practical. Limit highest supported resolution to 500 ns. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 15a30694560ba62160fa3a8ffddeb51b800e351a https://github.com/Linaro/odp/commit/15a30694560ba62160fa3a8ffddeb51b800e351a Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-03 (Thu, 03 May 2018) Changed paths: M test/performance/odp_sched_pktio.c Log Message: ----------- test: sched_pktio: add pktio queue count option Added option for selecting number of input / output queues per pktio interface. For simplicity, the same number of queues is configured for all interfaces and both (input / output) directions. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 5c745f55a160b0a72d8e493604917a0d63dd71a5 https://github.com/Linaro/odp/commit/5c745f55a160b0a72d8e493604917a0d63dd71a5 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-03 (Thu, 03 May 2018) Changed paths: M test/performance/odp_sched_pktio.c Log Message: ----------- test: sched_pktio: ensure packet order per flow Select pktout queue based on input queue, instead of worker id. Packet order is maintained from input to output as each flow is routed always through the same queues. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: dea03d0a24117764ea9b8763e640a4836031e82b https://github.com/Linaro/odp/commit/dea03d0a24117764ea9b8763e640a4836031e82b Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-03 (Thu, 03 May 2018) Changed paths: M test/performance/odp_sched_pktio.c Log Message: ----------- test: sched_pktio: parse options before odp global init Options can be used to set parameters for odp_init_global(). Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: bd37df82b49faefef078558cdb2a54477bec6c5a https://github.com/Linaro/odp/commit/bd37df82b49faefef078558cdb2a54477bec6c5a Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-03 (Thu, 03 May 2018) Changed paths: M test/performance/odp_sched_pktio.c Log Message: ----------- test: sched_pktio: add inactivity timer Add a timer per packet input queue to test timer performance with packet IO. The timer is reset every time packets are received from a queue, or when timer expires. Timer testing is enabled by setting the timeout period in usec with -t option. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 122b74c0074329f1758b2ed5d241e0e9a790087b https://github.com/Linaro/odp/commit/122b74c0074329f1758b2ed5d241e0e9a790087b Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-05-04 (Fri, 04 May 2018) Changed paths: M m4/odp_dpdk.m4 Log Message: ----------- build: odp_dpdk: add dependencies for crypto PMDs Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Matias Elo <matias....@nokia.com> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: d189d704a29f490583057ccb5c762432a4e4b7a7 https://github.com/Linaro/odp/commit/d189d704a29f490583057ccb5c762432a4e4b7a7 Author: Maxim Uvarov <maxim.uva...@linaro.org> Date: 2018-05-07 (Mon, 07 May 2018) Changed paths: M platform/linux-generic/pktio/ipc.c Log Message: ----------- linux-gen: pktio: ipc free ring memory on error ipc pktio can fail on open if second process is not yet ready to connect. But on this error free of ring memory is missing which leads to taking all available shm descriptors. https://bugs.linaro.org/show_bug.cgi?id=3788 Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Commit: 7d91fbd6c1a40e378b06f9be6dd3ef260c66dba9 https://github.com/Linaro/odp/commit/7d91fbd6c1a40e378b06f9be6dd3ef260c66dba9 Author: Matias Elo <matias....@nokia.com> Date: 2018-05-07 (Mon, 07 May 2018) Changed paths: M platform/linux-generic/include/odp_packet_internal.h Log Message: ----------- linux-gen: packet: rearrange odp_packet_hdr_t members Save 64 bytes by rearranging odp_packet_hdr_t members. Signed-off-by: Matias Elo <matias....@nokia.com> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 79781031e28dee010425f575d1bf5de5b18af0d6 https://github.com/Linaro/odp/commit/79781031e28dee010425f575d1bf5de5b18af0d6 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-07 (Mon, 07 May 2018) Changed paths: M example/timer/.gitignore M example/timer/Makefile.am A example/timer/odp_timer_accuracy.c Log Message: ----------- example: timer_accuracy: simple timer accuracy measurement app Added simple application to measure timer accuracy. Uses time API to measure accuracy of received timeouts from timer. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 2b27f75b587cf23d2687dd37897cbb26ed915890 https://github.com/Linaro/odp/commit/2b27f75b587cf23d2687dd37897cbb26ed915890 Author: Josep Puigdemont <josep.puigdem...@linaro.org> Date: 2018-05-08 (Tue, 08 May 2018) Changed paths: M platform/linux-generic/odp_fdserver.c M platform/linux-generic/odp_ishm.c Log Message: ----------- linux-gen: fix compilation warnings gcc 8 complains when strncpy may truncate the destination string, possibly not copying the null terminating character (-Werror=stringop-truncation). By using memcpy we silent gcc8, but we also make sure that the strings are null-terminated. Signed-off-by: Josep Puigdemont <josep.puigdem...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: bed462d28fa081a0d66dd29a8034f188256c7d04 https://github.com/Linaro/odp/commit/bed462d28fa081a0d66dd29a8034f188256c7d04 Author: Bill Fischofer <bill.fischo...@linaro.org> Date: 2018-05-08 (Tue, 08 May 2018) Changed paths: M CHANGELOG Log Message: ----------- changelog: updates for odp v1.19.0.1 Add updates for ODP v1.19.0.1 (Tiger Moth Service Update 1) Signed-off-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 332877d51e773a584d272a03f08446d18cbe1634 https://github.com/Linaro/odp/commit/332877d51e773a584d272a03f08446d18cbe1634 Author: Maxim Uvarov <maxim.uva...@linaro.org> Date: 2018-05-10 (Thu, 10 May 2018) Changed paths: M configure.ac Log Message: ----------- configure.ac: update version to v1.19.0.1 Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Commit: cc6d68e1dcf0f4f9b8b7442a4739288892fcb345 https://github.com/Linaro/odp/commit/cc6d68e1dcf0f4f9b8b7442a4739288892fcb345 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-10 (Thu, 10 May 2018) Changed paths: M test/validation/api/ipsec/Makefile.am Log Message: ----------- test: ipsec: fix link order In LDADD a library using another library, must become before that library. An application library uses ODP, so it must become before ODP library. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: f49289a7f621ffe5c981caa8531623d9e0a4abd9 https://github.com/Linaro/odp/commit/f49289a7f621ffe5c981caa8531623d9e0a4abd9 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-10 (Thu, 10 May 2018) Changed paths: M platform/linux-generic/Makefile.am R platform/linux-generic/include/odp_buffer_inlines.h M platform/linux-generic/include/odp_buffer_internal.h M platform/linux-generic/include/odp_packet_internal.h M platform/linux-generic/odp_buffer.c M platform/linux-generic/odp_event.c M platform/linux-generic/odp_ipsec_events.c M platform/linux-generic/odp_pool.c M platform/linux-generic/odp_queue_basic.c M platform/linux-generic/odp_queue_scalable.c M platform/linux-generic/odp_schedule_basic.c M platform/linux-generic/odp_schedule_scalable.c M platform/linux-generic/odp_timer.c Log Message: ----------- linux-gen: buffer: remove buffer_inlines header file Moved odp_buffer_inlines.h content to odp_buffer_internal.h and removed the file. Other xxx_inlines.h headers do not contain internal functions but only code for API function inlining. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 3abbe8b729310d29b9a2c84a7d7a11771513908d https://github.com/Linaro/odp/commit/3abbe8b729310d29b9a2c84a7d7a11771513908d Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-10 (Thu, 10 May 2018) Changed paths: M platform/linux-generic/Makefile.am M platform/linux-generic/include-abi/odp/api/abi/event.h A platform/linux-generic/include/odp/api/plat/buffer_inline_types.h A platform/linux-generic/include/odp/api/plat/event_inlines.h M platform/linux-generic/odp_buffer.c M platform/linux-generic/odp_event.c A platform/linux-generic/odp_event_api.c Log Message: ----------- linux-gen: event: inline event_type function Inline odp_event_type() as an example how current inline mechanism can be simplified. Only one file is needed for inline function definitions (xxx_inlines.h) and _ODP_NO_INLINE macro selects when non-inlined implementation is needed (only by xxx_api.c files). Implementation uses internally always inlined functions. Inlined function name is changed with macro from odp_foo() to __odp_foo(). Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 11207ff1e211658bfb44c635423ae818a0654239 https://github.com/Linaro/odp/commit/11207ff1e211658bfb44c635423ae818a0654239 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-10 (Thu, 10 May 2018) Changed paths: M platform/linux-generic/odp_crypto.c M platform/linux-generic/odp_ipsec_events.c M platform/linux-generic/odp_packet.c M platform/linux-generic/odp_timer.c Log Message: ----------- linux-gen: use inlined event type function Implementation uses internally inlined version of event functions. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 49c671e80fd2c88b6f36337ebd1cd4748eb8bae1 https://github.com/Linaro/odp/commit/49c671e80fd2c88b6f36337ebd1cd4748eb8bae1 Author: Ilias Apalodimas <ilias.apalodi...@linaro.org> Date: 2018-05-11 (Fri, 11 May 2018) Changed paths: M .travis.yml M configure.ac M doc/users-guide/Makefile.am A doc/users-guide/users-guide-utilities-examples.adoc M doc/users-guide/users-guide.adoc M platform/linux-generic/Makefile.am M platform/linux-generic/include/odp_internal.h M platform/linux-generic/include/odp_packet_io_internal.h A platform/linux-generic/include/odp_pcapng.h M platform/linux-generic/m4/configure.m4 A platform/linux-generic/m4/odp_pcapng.m4 M platform/linux-generic/odp_packet_io.c A platform/linux-generic/odp_pcapng.c Log Message: ----------- odp: pktio: add pcapng capture capabilities Introduce new fast pcap capture interface to odp. How to test: sudo mkdir /var/run/odp/ start the ODP application sudo dd if=/var/run/odp/"pid"-ethX-flow-"queue" of=~/t.pcap Signed-off-by: Ilias Apalodimas <ilias.apalodi...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: df1c292ed40d4c2c480917f1eab06a046c93c3b1 https://github.com/Linaro/odp/commit/df1c292ed40d4c2c480917f1eab06a046c93c3b1 Author: Bogdan Pricope <bogdan.pric...@linaro.org> Date: 2018-05-14 (Mon, 14 May 2018) Changed paths: M platform/linux-generic/include/odp_classification_internal.h M platform/linux-generic/odp_classification.c M platform/linux-generic/pktio/dpdk.c M platform/linux-generic/pktio/loop.c M platform/linux-generic/pktio/netmap.c M platform/linux-generic/pktio/socket.c M platform/linux-generic/pktio/socket_mmap.c M platform/linux-generic/pktio/tap.c Log Message: ----------- linux-gen: classification: permit packet parsing at pktio level This change is needed to support pktio specific parsers. Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> Reviewed-and-tested-by: Matias Elo <matias....@nokia.com> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: db62337f2c0a3add91bbdbaa096f2a3c04162c60 https://github.com/Linaro/odp/commit/db62337f2c0a3add91bbdbaa096f2a3c04162c60 Author: Bogdan Pricope <bogdan.pric...@linaro.org> Date: 2018-05-14 (Mon, 14 May 2018) Changed paths: M platform/linux-generic/Makefile.am M platform/linux-generic/include/odp_packet_dpdk.h M platform/linux-generic/pktio/dpdk.c A platform/linux-generic/pktio/dpdk_parse.c Log Message: ----------- linux-gen: pktio: dpdk: add specific packet parser Increase packet parsing performance by using dpdk provided information. Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> Reviewed-and-tested-by: Matias Elo <matias....@nokia.com> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: ad3417a6fd2ba93616b937f9a2d8642eceeb0bf8 https://github.com/Linaro/odp/commit/ad3417a6fd2ba93616b937f9a2d8642eceeb0bf8 Author: Bogdan Pricope <bogdan.pric...@linaro.org> Date: 2018-05-14 (Mon, 14 May 2018) Changed paths: M platform/linux-generic/include/odp_packet_dpdk.h M platform/linux-generic/pktio/dpdk.c M platform/linux-generic/pktio/dpdk_parse.c Log Message: ----------- linux-gen: pktio: dpdk: integrate csum with packet parser Merge csum validation and packet parser to reduce branching. Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> Reviewed-and-tested-by: Matias Elo <matias....@nokia.com> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 0ee8255c2555ed68721ea5e7679f26a2e53bd8b8 https://github.com/Linaro/odp/commit/0ee8255c2555ed68721ea5e7679f26a2e53bd8b8 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-14 (Mon, 14 May 2018) Changed paths: M example/classifier/odp_classifier.c M example/generator/odp_generator.c M example/ipsec/odp_ipsec.c M example/ipsec_api/odp_ipsec.c M example/l2fwd_simple/odp_l2fwd_simple.c M example/packet/odp_pktio.c M example/switch/odp_switch.c M example/time/time_global_test.c M example/timer/odp_timer_test.c M helper/include/odp/helper/threads.h M helper/test/odpthreads.c M helper/threads.c M platform/linux-generic/test/mmap_vlan_ins/mmap_vlan_ins.c M test/common/odp_cunit_common.c M test/performance/odp_bench_packet.c M test/performance/odp_crypto.c M test/performance/odp_ipsec.c M test/performance/odp_l2fwd.c M test/performance/odp_pktio_ordered.c M test/performance/odp_pktio_perf.c M test/performance/odp_sched_latency.c M test/performance/odp_sched_pktio.c M test/performance/odp_scheduling.c Log Message: ----------- helper: thread: don't use getopt library Don't use getopt library calls for helper options. Getopt library reset is not portable in practice. Library interface includes global variables and different internal state variables depending on POSIX version. There's no need for helper to use getopt calls or set getopt global variables at all. It's much more simple (and portable) to remove helper options from argv[] and return new value for argc. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 894b80ee113440037b7899459eeb1c0f5c14b124 https://github.com/Linaro/odp/commit/894b80ee113440037b7899459eeb1c0f5c14b124 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-05-17 (Thu, 17 May 2018) Changed paths: M platform/linux-generic/include/odp_packet_io_internal.h M platform/linux-generic/odp_packet_io.c Log Message: ----------- linux-gen: pktio: introduce checksum settings Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Bogdan Pricope <bogdan.pric...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 933a59910b2b95f579dbb11729192ccfcc26bcd7 https://github.com/Linaro/odp/commit/933a59910b2b95f579dbb11729192ccfcc26bcd7 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-05-17 (Thu, 17 May 2018) Changed paths: M platform/linux-generic/include/odp_packet_internal.h M platform/linux-generic/odp_classification.c M platform/linux-generic/odp_packet.c M platform/linux-generic/pktio/loop.c M platform/linux-generic/pktio/netmap.c M platform/linux-generic/pktio/pcap.c M platform/linux-generic/pktio/socket.c M platform/linux-generic/pktio/socket_mmap.c M platform/linux-generic/pktio/tap.c Log Message: ----------- linux-gen: packet: add IPv4 checksum validation If configured, check IPv4 header checksum. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Bogdan Pricope <bogdan.pric...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 0034b0c0c63194bd7aa227364b381d6b049631dc https://github.com/Linaro/odp/commit/0034b0c0c63194bd7aa227364b381d6b049631dc Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-05-17 (Thu, 17 May 2018) Changed paths: M platform/linux-generic/include/odp/api/plat/packet_inline_types.h M platform/linux-generic/odp_packet.c Log Message: ----------- linux-gen: packet: check TCP/UDP checksums Add code to enable checking of TCP and UDP checksums. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Bogdan Pricope <bogdan.pric...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 713f9d5dee94b6eb81cdbbb929bf875f414d339c https://github.com/Linaro/odp/commit/713f9d5dee94b6eb81cdbbb929bf875f414d339c Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-05-17 (Thu, 17 May 2018) Changed paths: M platform/linux-generic/pktio/loop.c Log Message: ----------- linux-gen: pktio: loop: support checksum parsing Add capability bits referencing support for IPv4 and UDP checksum validation for loop pktio device. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Bogdan Pricope <bogdan.pric...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 0e81876e6119fd76282f3de4bb50dad9e67ec6f2 https://github.com/Linaro/odp/commit/0e81876e6119fd76282f3de4bb50dad9e67ec6f2 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-18 (Fri, 18 May 2018) Changed paths: M test/performance/odp_sched_pktio.c Log Message: ----------- test: sched_pktio: don't call pktout_send with 0 packets When only timouts are received from the scheduler, avoid odp_pktout_send() call with 0 packets. Rename variable to num_pkt to highlight difference between event count and packet count. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: a459233d0ac535d67e3141e21dee3e805c4e906f https://github.com/Linaro/odp/commit/a459233d0ac535d67e3141e21dee3e805c4e906f Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-18 (Fri, 18 May 2018) Changed paths: M test/performance/odp_sched_pktio.c Log Message: ----------- test: sched_pktio: timer reset return codes Timer reset may fail since timer has been expired or it's about to expire. Return code ODP_TIMER_NOEVENT indicates this. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 215069d156f3612ff9e140a7e47232047c6870e6 https://github.com/Linaro/odp/commit/215069d156f3612ff9e140a7e47232047c6870e6 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-18 (Fri, 18 May 2018) Changed paths: M test/performance/odp_sched_pktio.c Log Message: ----------- test: sched_pktio: add timeout statistics Record number of timeouts received. Timers are mostly reset when packets are received. So, timeout rate is low when packets are flowing. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 40699694b24cceb86ed441308309393de84c3478 https://github.com/Linaro/odp/commit/40699694b24cceb86ed441308309393de84c3478 Author: Maxim Uvarov <maxim.uva...@linaro.org> Date: 2018-05-21 (Mon, 21 May 2018) Changed paths: M .codecov.yml Log Message: ----------- codecov: disable check by patch Inside PRs there is check for code coverage for patch lines. There is no big reason for that check due to patch also can only remove lines. Only complete project has to be checked for code coverage. Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Commit: f426dbf3b4dc5be7a1b56d9cc3c0dab00eb9787c https://github.com/Linaro/odp/commit/f426dbf3b4dc5be7a1b56d9cc3c0dab00eb9787c Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-05-21 (Mon, 21 May 2018) Changed paths: M platform/linux-generic/Makefile.am M platform/linux-generic/include-abi/odp/api/abi/packet.h M platform/linux-generic/include-abi/odp/api/abi/packet_io.h M platform/linux-generic/include/odp/api/plat/packet_inlines.h M platform/linux-generic/include/odp/api/plat/pktio_inlines.h R platform/linux-generic/include/odp/api/plat/pktio_inlines_api.h M platform/linux-generic/include/odp_packet_io_internal.h M platform/linux-generic/odp_packet_api.c M platform/linux-generic/odp_packet_flags_api.c M platform/linux-generic/odp_packet_io.c M platform/linux-generic/odp_pktio_api.c Log Message: ----------- linux-gen: pktio: remove separate API inlining header Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: d61545b5b2ad42d7e9fca34d3b077942fcc04c01 https://github.com/Linaro/odp/commit/d61545b5b2ad42d7e9fca34d3b077942fcc04c01 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-05-21 (Mon, 21 May 2018) Changed paths: M platform/linux-generic/Makefile.am M platform/linux-generic/include-abi/odp/api/abi/packet_flags.h M platform/linux-generic/include/odp/api/plat/packet_flag_inlines.h R platform/linux-generic/include/odp/api/plat/packet_flag_inlines_api.h R platform/linux-generic/include/odp/api/plat/ticketlock_inlines_api.h M platform/linux-generic/odp_packet_flags.c M platform/linux-generic/odp_packet_flags_api.c M platform/linux-generic/pktio/loop.c Log Message: ----------- linux-gen: packet_flags: remove separate API inlining header Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 1da9bcf69a3f2c364eb1674b44ede4c0cf280f06 https://github.com/Linaro/odp/commit/1da9bcf69a3f2c364eb1674b44ede4c0cf280f06 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-05-21 (Mon, 21 May 2018) Changed paths: M platform/linux-generic/include/odp/api/plat/packet_flag_inlines.h Log Message: ----------- linux-gen: packet_flags: drop unused @internal annotations Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 9e1aad1fbffad60e849c9cac613e282fd3f80646 https://github.com/Linaro/odp/commit/9e1aad1fbffad60e849c9cac613e282fd3f80646 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-05-21 (Mon, 21 May 2018) Changed paths: M platform/linux-generic/include/odp/api/plat/atomic_inlines.h M platform/linux-generic/odp_atomic_api.c M platform/linux-generic/odp_ticketlock.c Log Message: ----------- linux-gen: atomic: remove separate API inlining header Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 3ee54c088ec06a65b1ae7ece2dae8cfabfe90d12 https://github.com/Linaro/odp/commit/3ee54c088ec06a65b1ae7ece2dae8cfabfe90d12 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-05-21 (Mon, 21 May 2018) Changed paths: M platform/linux-generic/Makefile.am M platform/linux-generic/include-abi/odp/api/abi/ticketlock.h M platform/linux-generic/include/odp/api/plat/ticketlock_inlines.h M platform/linux-generic/odp_pool.c M platform/linux-generic/odp_queue_basic.c M platform/linux-generic/odp_queue_scalable.c M platform/linux-generic/odp_schedule_scalable.c R platform/linux-generic/odp_ticketlock.c A platform/linux-generic/odp_ticketlock_api.c Log Message: ----------- linux-gen: ticketlock: remove separate API inlining header Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 4b895826e62b9b6e7512d76d05999752ffc93432 https://github.com/Linaro/odp/commit/4b895826e62b9b6e7512d76d05999752ffc93432 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-05-21 (Mon, 21 May 2018) Changed paths: M platform/linux-generic/include/odp/api/plat/ticketlock_inlines.h Log Message: ----------- linux-gen: ticketlock: drop unused @internal documentation Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 37390a88fd35d972a8e399fc934c612c1043ad77 https://github.com/Linaro/odp/commit/37390a88fd35d972a8e399fc934c612c1043ad77 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-05-21 (Mon, 21 May 2018) Changed paths: M platform/linux-generic/Makefile.am M platform/linux-generic/include-abi/odp/api/abi/byteorder.h M platform/linux-generic/include/odp/api/plat/byteorder_inlines.h R platform/linux-generic/include/odp/api/plat/byteorder_inlines_api.h M platform/linux-generic/include/odp_classification_inlines.h M platform/linux-generic/include/protocols/thash.h R platform/linux-generic/odp_byteorder.c A platform/linux-generic/odp_byteorder_api.c M platform/linux-generic/odp_classification.c M platform/linux-generic/odp_ipsec.c M platform/linux-generic/odp_packet.c M platform/linux-generic/odp_traffic_mngr.c M platform/linux-generic/pktio/dpdk_parse.c M platform/linux-generic/pktio/loop.c Log Message: ----------- linux-gen: byteorder: remove separate API inlining header Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: a4d31373e5a0f72d028ff73ca9eae0fd6671f350 https://github.com/Linaro/odp/commit/a4d31373e5a0f72d028ff73ca9eae0fd6671f350 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-05-22 (Tue, 22 May 2018) Changed paths: M platform/linux-generic/Makefile.am M platform/linux-generic/include-abi/odp/api/abi/thread.h M platform/linux-generic/include/odp/api/plat/thread_inlines.h R platform/linux-generic/include/odp/api/plat/thread_inlines_api.h M platform/linux-generic/odp_rwlock_recursive.c M platform/linux-generic/odp_spinlock_recursive.c M platform/linux-generic/odp_thread_api.c Log Message: ----------- linux-gen: thread: remove separate API inlining header Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 455230a4331e25a1bb68e6fe1c0058bd790c9d9b https://github.com/Linaro/odp/commit/455230a4331e25a1bb68e6fe1c0058bd790c9d9b Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-05-22 (Tue, 22 May 2018) Changed paths: M platform/linux-generic/Makefile.am M platform/linux-generic/include-abi/odp/api/abi/packet.h M platform/linux-generic/include/odp/api/plat/packet_inlines.h R platform/linux-generic/include/odp/api/plat/packet_inlines_api.h M platform/linux-generic/include/odp/api/plat/pktio_inlines.h M platform/linux-generic/odp_packet.c M platform/linux-generic/odp_packet_api.c M platform/linux-generic/odp_traffic_mngr.c M platform/linux-generic/pktio/dpdk.c M platform/linux-generic/pktio/netmap.c M platform/linux-generic/pktio/pcap.c M platform/linux-generic/pktio/socket_mmap.c M platform/linux-generic/pktio/tap.c Log Message: ----------- linux-gen: packet: remove separate API inlining header Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 7299adcc939a3d55b2c694744037ea9ea1dd7835 https://github.com/Linaro/odp/commit/7299adcc939a3d55b2c694744037ea9ea1dd7835 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-05-22 (Tue, 22 May 2018) Changed paths: M platform/linux-generic/Makefile.am M platform/linux-generic/include/odp/api/plat/sync_inlines.h R platform/linux-generic/odp_sync.c A platform/linux-generic/odp_sync_api.c Log Message: ----------- linux-gen: sync: rework code to follow inlining style Rework sync module to follow _ODP_INLINE style of code used by the rest of ODP codebase. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: c5b855df5b9e4388efd387810959b0f81f072fc9 https://github.com/Linaro/odp/commit/c5b855df5b9e4388efd387810959b0f81f072fc9 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-05-22 (Tue, 22 May 2018) Changed paths: M platform/linux-generic/Makefile.am M platform/linux-generic/include/odp/api/plat/std_clib_inlines.h R platform/linux-generic/odp_std_clib.c A platform/linux-generic/odp_std_clib_api.c Log Message: ----------- linux-gen: std clib: rework code to follow inlining style Rework std clib module to follow _ODP_INLINE style of code used by the rest of ODP codebase. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 758fdf094deae51597b5e9f5f70584c3dba92ff1 https://github.com/Linaro/odp/commit/758fdf094deae51597b5e9f5f70584c3dba92ff1 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-05-22 (Tue, 22 May 2018) Changed paths: M platform/linux-generic/odp_packet_io.c Log Message: ----------- linux-gen: pktio: use inlined packet functions Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: ec41adeed9884621f242c8153612a3f2eaa5bcee https://github.com/Linaro/odp/commit/ec41adeed9884621f242c8153612a3f2eaa5bcee Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-05-22 (Tue, 22 May 2018) Changed paths: M platform/linux-generic/include/odp/api/plat/packet_flag_inlines.h M platform/linux-generic/include/odp/api/plat/ticketlock_inlines.h M platform/linux-generic/include/odp_ring_internal.h M platform/linux-generic/odp_barrier.c M platform/linux-generic/odp_ipsec_sad.c M platform/linux-generic/odp_queue_lf.c M platform/linux-generic/odp_rwlock.c M platform/linux-generic/odp_ticketlock_api.c Log Message: ----------- linux-gen: use inlined atomic functions everywhere Make linux-gen platform code use inlined atomic functions instead of doing proper functions calls. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 46064619d9bd9d2733089dcff044a9a86277dbdd https://github.com/Linaro/odp/commit/46064619d9bd9d2733089dcff044a9a86277dbdd Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-05-22 (Tue, 22 May 2018) Changed paths: M platform/linux-generic/odp_crypto.c M platform/linux-generic/odp_pool.c M platform/linux-generic/odp_schedule_basic.c M platform/linux-generic/odp_schedule_iquery.c M platform/linux-generic/odp_schedule_scalable.c M platform/linux-generic/odp_schedule_sp.c Log Message: ----------- linux-gen: use inlined thread functions everywhere Make linux-gen platform code use inlined thread functions instead of doing proper functions calls. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 2315e146e19c937ff407f0a5aa0be1f8de655abf https://github.com/Linaro/odp/commit/2315e146e19c937ff407f0a5aa0be1f8de655abf Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-05-22 (Tue, 22 May 2018) Changed paths: M platform/linux-generic/odp_barrier.c M platform/linux-generic/odp_queue_basic.c M platform/linux-generic/odp_queue_scalable.c Log Message: ----------- linux-gen: use inlined sync functions everywhere Make linux-gen platform code use inlined sync functions instead of doing proper functions calls. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 4eb5acde3012effceaaf9af4318d95b02551fffa https://github.com/Linaro/odp/commit/4eb5acde3012effceaaf9af4318d95b02551fffa Author: Bogdan Pricope <bogdan.pric...@linaro.org> Date: 2018-05-28 (Mon, 28 May 2018) Changed paths: M example/generator/odp_generator.c Log Message: ----------- example: generator: add UDP port range support Add options to generate UDP packets with source and destination ports in a range of values. This will simulate multiple packet flows. Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 744d466a0fe5530bb6c036664413d799a3aeb871 https://github.com/Linaro/odp/commit/744d466a0fe5530bb6c036664413d799a3aeb871 Author: Brian Brooks <brian.bro...@linaro.org> Date: 2018-05-28 (Mon, 28 May 2018) Changed paths: M platform/linux-generic/odp_schedule_scalable.c Log Message: ----------- linux-generic: schedule: call timer_run() in scalable scheduler Signed-off-by: Brian Brooks <brian.bro...@linaro.org> Reported-by: David Nyström <david.c.nyst...@gmail.com> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 170e93051d25ac491811f1ed66cd5552a0b26ec8 https://github.com/Linaro/odp/commit/170e93051d25ac491811f1ed66cd5552a0b26ec8 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-28 (Mon, 28 May 2018) Changed paths: M platform/linux-generic/include/odp_internal.h M platform/linux-generic/odp_init.c Log Message: ----------- linux-gen: init: remove init.c internal types from header Moved types from header into c file. Changed internal functions to static and changed order of functions (prototypes not needed). Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: bdc44eae6bac8aed26170d21cf05fe99ba9d84d6 https://github.com/Linaro/odp/commit/bdc44eae6bac8aed26170d21cf05fe99ba9d84d6 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-28 (Mon, 28 May 2018) Changed paths: M platform/linux-generic/Makefile.am M platform/linux-generic/arch/default/odp_sysinfo_parse.c M platform/linux-generic/arch/mips64/odp_sysinfo_parse.c M platform/linux-generic/arch/powerpc/odp_sysinfo_parse.c M platform/linux-generic/arch/x86/odp_sysinfo_parse.c M platform/linux-generic/include/odp_debug_internal.h A platform/linux-generic/include/odp_global_data.h A platform/linux-generic/include/odp_init_internal.h R platform/linux-generic/include/odp_internal.h M platform/linux-generic/include/odp_packet_io_ipc_internal.h M platform/linux-generic/include/odp_schedule_scalable_ordered.h A platform/linux-generic/include/odp_sysinfo_internal.h M platform/linux-generic/include/odp_traffic_mngr_internal.h M platform/linux-generic/odp_classification.c M platform/linux-generic/odp_cpumask.c M platform/linux-generic/odp_crypto.c M platform/linux-generic/odp_errno.c M platform/linux-generic/odp_fdserver.c M platform/linux-generic/odp_init.c M platform/linux-generic/odp_ipsec.c M platform/linux-generic/odp_ipsec_events.c M platform/linux-generic/odp_ipsec_sad.c M platform/linux-generic/odp_ishm.c M platform/linux-generic/odp_ishmphy.c M platform/linux-generic/odp_ishmpool.c M platform/linux-generic/odp_libconfig.c M platform/linux-generic/odp_packet.c M platform/linux-generic/odp_packet_io.c M platform/linux-generic/odp_pool.c M platform/linux-generic/odp_queue_basic.c M platform/linux-generic/odp_queue_if.c M platform/linux-generic/odp_queue_scalable.c M platform/linux-generic/odp_random.c M platform/linux-generic/odp_schedule_basic.c M platform/linux-generic/odp_schedule_if.c M platform/linux-generic/odp_schedule_iquery.c M platform/linux-generic/odp_schedule_scalable.c M platform/linux-generic/odp_shared_memory.c M platform/linux-generic/odp_system_info.c M platform/linux-generic/odp_thread.c M platform/linux-generic/odp_time.c M platform/linux-generic/odp_timer.c M platform/linux-generic/odp_traffic_mngr.c M platform/linux-generic/odp_weak.c M platform/linux-generic/pktio/dpdk.c M platform/linux-generic/pktio/ethtool.c M platform/linux-generic/pktio/loop.c M platform/linux-generic/pktio/netmap.c M platform/linux-generic/pktio/ring.c M platform/linux-generic/pktio/socket.c M platform/linux-generic/pktio/socket_mmap.c M platform/linux-generic/pktio/sysfs.c M platform/linux-generic/pktio/tap.c M platform/linux-generic/test/ring/ring_basic.c Log Message: ----------- linux-gen: init: split odp_internal.h odp_internal.h contained code for three different purposes. Split file into three different headers, so that it's no more a place for random type/function prototype additions. New files are: * odp_init_internal.h which holds global/local init function prototypes * odp_global_data.h which defines global data structure * odp_sysinfo_internal.h which contains system info internal function prototypes Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: d6e4b3df266ee1c847763ba50fa802d9e9e62b5e https://github.com/Linaro/odp/commit/d6e4b3df266ee1c847763ba50fa802d9e9e62b5e Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-28 (Mon, 28 May 2018) Changed paths: M platform/linux-generic/arch/default/odp_cpu_cycles.c M platform/linux-generic/arch/mips64/odp_cpu_cycles.c M platform/linux-generic/arch/x86/cpu_flags.c M platform/linux-generic/arch/x86/cpu_flags.h M platform/linux-generic/arch/x86/odp_cpu_cycles.c M platform/linux-generic/include/odp_init_internal.h M platform/linux-generic/odp_init.c Log Message: ----------- linux-gen: cpu: add cpu cycles init global Add global init function to check e.g. if CPU cycle counter instruction is available on x86. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: f4f4dcee96e534c0badc28258ad09ef50b35ec76 https://github.com/Linaro/odp/commit/f4f4dcee96e534c0badc28258ad09ef50b35ec76 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-28 (Mon, 28 May 2018) Changed paths: M Makefile.inc M include/odp/api/spec/cpu.h M include/odp/arch/x86_32-linux/odp/api/abi/cpu.h M include/odp/arch/x86_64-linux/odp/api/abi/cpu.h M platform/linux-generic/Makefile.am A platform/linux-generic/arch/default/odp/api/abi/cpu_inlines.h M platform/linux-generic/arch/x86/odp/api/abi/cpu.h A platform/linux-generic/arch/x86/odp/api/abi/cpu_inlines.h M platform/linux-generic/arch/x86/odp_cpu_cycles.c M platform/linux-generic/arch/x86/odp_global_time.c A platform/linux-generic/include/odp/api/plat/cpu_inlines.h M platform/linux-generic/include/odp/api/plat/ticketlock_inlines.h M platform/linux-generic/include/odp_ring_internal.h M platform/linux-generic/odp_barrier.c A platform/linux-generic/odp_cpu_api.c M platform/linux-generic/odp_ipsec_sad.c M platform/linux-generic/odp_rwlock.c M platform/linux-generic/odp_schedule_scalable.c M platform/linux-generic/odp_schedule_scalable_ordered.c M platform/linux-generic/odp_spinlock.c M platform/linux-generic/pktio/ring.c Log Message: ----------- linux-gen: cpu: inline cpu cycle functions on x86 Moved cpu cycle and pause functions into arch/x86/odp_arch_cpu_inlines.h. Uncommented pause function in spec file and removed it from ABI file. It's safer for ABI compat mode to not have code included into ABI spec files. Other architectures use the default odp_arch_cpu_inlines.h, which does not change the current implementation. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 42a8b2f0dbaee653953170cbd0a7fa659bc32b38 https://github.com/Linaro/odp/commit/42a8b2f0dbaee653953170cbd0a7fa659bc32b38 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-28 (Mon, 28 May 2018) Changed paths: M platform/linux-generic/Makefile.am M platform/linux-generic/include/odp/api/plat/cpu_inlines.h M platform/linux-generic/include/odp_ring_internal.h R platform/linux-generic/odp_cpu.c M platform/linux-generic/odp_schedule_scalable_ordered.c Log Message: ----------- linux-gen: cpu: inline cpu_cycles_diff Moved the last function from .c file to inline header and removed .c file. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 68f26e2a86eb206dcdda9324b20afa208067e6c2 https://github.com/Linaro/odp/commit/68f26e2a86eb206dcdda9324b20afa208067e6c2 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-30 (Wed, 30 May 2018) Changed paths: M platform/linux-generic/include/odp_packet_internal.h M platform/linux-generic/include/odp_packet_io_internal.h M platform/linux-generic/include/odp_queue_if.h M platform/linux-generic/include/odp_queue_internal.h M platform/linux-generic/include/odp_queue_scalable_internal.h M platform/linux-generic/include/odp_schedule_if.h M platform/linux-generic/include/odp_traffic_mngr_internal.h M platform/linux-generic/odp_packet_io.c M platform/linux-generic/odp_queue_basic.c M platform/linux-generic/odp_queue_lf.c M platform/linux-generic/odp_queue_scalable.c M platform/linux-generic/odp_schedule_basic.c M platform/linux-generic/odp_schedule_iquery.c M platform/linux-generic/odp_schedule_scalable.c M platform/linux-generic/odp_schedule_sp.c M platform/linux-generic/odp_traffic_mngr.c M platform/linux-generic/pktio/loop.c Log Message: ----------- linux-gen: queue: remove abstract internal queue type Implementation internal (queue) references are pointers. Remove additional (abstract) type from queue interface. Other modules use void pointer as (abstract) queue reference. Abstract type added complexity and confusion, as queue handles had three different formats API handle, internal abstract type and queue structure pointer. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 78b552f62a65c6a873ed021d5579675b4fd84e3a https://github.com/Linaro/odp/commit/78b552f62a65c6a873ed021d5579675b4fd84e3a Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-30 (Wed, 30 May 2018) Changed paths: M platform/linux-generic/include/odp_queue_internal.h M platform/linux-generic/odp_queue_basic.c M platform/linux-generic/odp_queue_lf.c M platform/linux-generic/odp_schedule_basic.c M platform/linux-generic/odp_schedule_iquery.c Log Message: ----------- linux-gen: queue: remove extra conversion functions Remove unnecessary conversion functions between queue entry and void pointer types. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: b5982d00b9e2ff6fbcb86d8602ca249236c1f06c https://github.com/Linaro/odp/commit/b5982d00b9e2ff6fbcb86d8602ca249236c1f06c Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-30 (Wed, 30 May 2018) Changed paths: M platform/linux-generic/include/odp_queue_internal.h M platform/linux-generic/odp_queue_basic.c M platform/linux-generic/odp_schedule_basic.c Log Message: ----------- linux-gen: queue: change queue handle to pointer Use queue entry pointer as queue handle. This allow easy inline of queue_context, etc functions. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: a2fb09b3a4178398a5528eeab2c119cc9a107629 https://github.com/Linaro/odp/commit/a2fb09b3a4178398a5528eeab2c119cc9a107629 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-30 (Wed, 30 May 2018) Changed paths: M platform/linux-generic/include/odp_queue_scalable_internal.h M platform/linux-generic/odp_queue_scalable.c Log Message: ----------- linux-gen: queue scalable: change queue handle to pointer Use queue entry pointer as queue handle. This allow easy inline of queue_context, etc functions. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 2a9d3323537d030c1b3385ed14b496bf9e2b20b3 https://github.com/Linaro/odp/commit/2a9d3323537d030c1b3385ed14b496bf9e2b20b3 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-30 (Wed, 30 May 2018) Changed paths: M platform/linux-generic/Makefile.am M platform/linux-generic/include-abi/odp/api/abi/queue.h A platform/linux-generic/include/odp/api/plat/queue_inline_types.h A platform/linux-generic/include/odp/api/plat/queue_inlines.h M platform/linux-generic/include/odp_queue_if.h A platform/linux-generic/odp_queue_api.c M platform/linux-generic/odp_queue_basic.c M platform/linux-generic/odp_queue_if.c M platform/linux-generic/odp_queue_scalable.c Log Message: ----------- linux-gen: queue: inline queue context Use common qentry offset structure to inline queue context function for both basic and scalable queue implementation. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: c6cc6d3a79976bfe96cbb9ff192cf22daffc18c4 https://github.com/Linaro/odp/commit/c6cc6d3a79976bfe96cbb9ff192cf22daffc18c4 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-31 (Thu, 31 May 2018) Changed paths: M platform/linux-generic/Makefile.am M platform/linux-generic/arch/aarch64/odp_global_time.c A platform/linux-generic/arch/default/odp/api/abi/cpu_time.h M platform/linux-generic/arch/default/odp_global_time.c R platform/linux-generic/arch/odp_arch_time_internal.h M platform/linux-generic/arch/x86/cpu_flags.c M platform/linux-generic/arch/x86/odp/api/abi/cpu_inlines.h A platform/linux-generic/arch/x86/odp/api/abi/cpu_rdtsc.h A platform/linux-generic/arch/x86/odp/api/abi/cpu_time.h M platform/linux-generic/arch/x86/odp_global_time.c M platform/linux-generic/include-abi/odp/api/abi/time.h A platform/linux-generic/include/odp/api/plat/time_inlines.h M platform/linux-generic/odp_time.c A platform/linux-generic/odp_time_api.c M platform/linux-generic/odp_timer.c Log Message: ----------- linux-gen: time: inline arch cpu time on x86 Inline cpu HW time counter read function on x86. Time global data structure is visible to applications, but Posix types (timespec) or header files are not. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 678c2a149a3e7d48c4462fb2e6cc531a3cfed780 https://github.com/Linaro/odp/commit/678c2a149a3e7d48c4462fb2e6cc531a3cfed780 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-31 (Thu, 31 May 2018) Changed paths: M platform/linux-generic/include/odp/api/plat/time_inlines.h M platform/linux-generic/odp_time.c Log Message: ----------- linux-gen: time: inline diff, sum and cmp Inline small functions commonly used in time calculations. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 06b3650b581bf05ea2f015a02635382fb7c38fda https://github.com/Linaro/odp/commit/06b3650b581bf05ea2f015a02635382fb7c38fda Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-31 (Thu, 31 May 2018) Changed paths: M platform/linux-generic/odp_packet_io.c M platform/linux-generic/odp_schedule_basic.c M platform/linux-generic/odp_schedule_scalable.c M platform/linux-generic/odp_schedule_sp.c M platform/linux-generic/odp_traffic_mngr.c M platform/linux-generic/pktio/dpdk.c M platform/linux-generic/pktio/netmap.c Log Message: ----------- linux-gen: time: use inlined functions internally Always use inlined time functions internally. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: bd5112acbb750723958463cf0328ebb15855f7ab https://github.com/Linaro/odp/commit/bd5112acbb750723958463cf0328ebb15855f7ab Author: Maxim Uvarov <maxim.uva...@linaro.org> Date: 2018-06-01 (Fri, 01 Jun 2018) Changed paths: M platform/linux-generic/odp_traffic_mngr.c M test/validation/api/traffic_mngr/traffic_mngr.c Log Message: ----------- linux-gen: test: tm: respect return codes Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Commit: fe280bface8fd28a8d0baa3ca95a71f221187fe8 https://github.com/Linaro/odp/commit/fe280bface8fd28a8d0baa3ca95a71f221187fe8 Author: Maxim Uvarov <maxim.uva...@linaro.org> Date: 2018-06-01 (Fri, 01 Jun 2018) Changed paths: M test/validation/api/traffic_mngr/traffic_mngr.c Log Message: ----------- test: tm: allow some tests to be skipped under CI that is temporary patch until we fix CUNIT to be able to skip tests. Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Commit: 6582ff6158b7e8380536f83da9b0fc25659e3c36 https://github.com/Linaro/odp/commit/6582ff6158b7e8380536f83da9b0fc25659e3c36 Author: Maxim Uvarov <maxim.uva...@linaro.org> Date: 2018-06-01 (Fri, 01 Jun 2018) Changed paths: M test/validation/api/Makefile.am M test/validation/api/traffic_mngr/Makefile.am R test/validation/api/traffic_mngr/traffic_mngr.sh Log Message: ----------- test: remove bash wrapper around tm validation test Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Commit: ffc3f2bd0059664273425eb0c34411ac5cd88c3e https://github.com/Linaro/odp/commit/ffc3f2bd0059664273425eb0c34411ac5cd88c3e Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-06-01 (Fri, 01 Jun 2018) Changed paths: M platform/linux-generic/include/odp_packet_io_internal.h Log Message: ----------- linux-gen: pktio: add abstract pktio private data storage In order to encapsulate PktIO private data, add common private data storage to pktio_entry_t. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 09406916470553a85f30fc14889127443cc4a09b https://github.com/Linaro/odp/commit/09406916470553a85f30fc14889127443cc4a09b Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-06-01 (Fri, 01 Jun 2018) Changed paths: M platform/linux-generic/include/odp_packet_io_internal.h M platform/linux-generic/pktio/loop.c Log Message: ----------- linux-gen: pktio: make loop use generic private data field Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 8460c9c1b5afab84f4279e6e04cfb1e012965c14 https://github.com/Linaro/odp/commit/8460c9c1b5afab84f4279e6e04cfb1e012965c14 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-06-01 (Fri, 01 Jun 2018) Changed paths: M platform/linux-generic/include/odp_packet_io_internal.h M platform/linux-generic/include/odp_packet_socket.h M platform/linux-generic/pktio/socket.c Log Message: ----------- linux-gen: pktio: make socket use generic private data field Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: bcb01a637648278bbbefcd6cdc3014a98de8ed4f https://github.com/Linaro/odp/commit/bcb01a637648278bbbefcd6cdc3014a98de8ed4f Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-06-01 (Fri, 01 Jun 2018) Changed paths: M platform/linux-generic/include/odp_packet_io_internal.h M platform/linux-generic/include/odp_packet_socket.h M platform/linux-generic/pktio/socket_mmap.c Log Message: ----------- linux-gen: pktio: make socket_mmap use generic private data field Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 9dd6633189cf15ca554cc4ae21996f7db91c6901 https://github.com/Linaro/odp/commit/9dd6633189cf15ca554cc4ae21996f7db91c6901 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-06-01 (Fri, 01 Jun 2018) Changed paths: M platform/linux-generic/Makefile.am M platform/linux-generic/include/odp_packet_io_internal.h R platform/linux-generic/include/odp_packet_netmap.h M platform/linux-generic/pktio/netmap.c Log Message: ----------- linux-gen: pktio: make netmap use generic private data field Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: a3e0a9ddf57e165e682700263f1e0a6e65037c04 https://github.com/Linaro/odp/commit/a3e0a9ddf57e165e682700263f1e0a6e65037c04 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-06-01 (Fri, 01 Jun 2018) Changed paths: M platform/linux-generic/include/odp_packet_dpdk.h M platform/linux-generic/include/odp_packet_io_internal.h M platform/linux-generic/pktio/dpdk.c Log Message: ----------- linux-gen: pktio: make dpdk use generic private data field Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 27de124db6343381c25335e611853b487880e9fc https://github.com/Linaro/odp/commit/27de124db6343381c25335e611853b487880e9fc Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-06-01 (Fri, 01 Jun 2018) Changed paths: M platform/linux-generic/include/odp_packet_io_internal.h M platform/linux-generic/pktio/pcap.c Log Message: ----------- linux-gen: pktio: make pcap use generic private data field Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 7cc7193c74553b5f46db482b6d8c7af599d0464a https://github.com/Linaro/odp/commit/7cc7193c74553b5f46db482b6d8c7af599d0464a Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-06-01 (Fri, 01 Jun 2018) Changed paths: M platform/linux-generic/Makefile.am M platform/linux-generic/include/odp_packet_io_internal.h R platform/linux-generic/include/odp_packet_tap.h M platform/linux-generic/pktio/tap.c Log Message: ----------- linux-gen: pktio: make tap use generic private data field Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: ff8eea5c2a9f5283a46376d3bb1bbedd8dd034a4 https://github.com/Linaro/odp/commit/ff8eea5c2a9f5283a46376d3bb1bbedd8dd034a4 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-06-01 (Fri, 01 Jun 2018) Changed paths: M platform/linux-generic/include/odp_packet_io_internal.h M platform/linux-generic/pktio/ipc.c Log Message: ----------- linux-gen: pktio: make ipc use generic private data field Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 617d56864581c2c26dd03158aa5b60c7f845da4c https://github.com/Linaro/odp/commit/617d56864581c2c26dd03158aa5b60c7f845da4c Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-06-01 (Fri, 01 Jun 2018) Changed paths: M platform/linux-generic/Makefile.am M platform/linux-generic/include/odp_packet_io_internal.h R platform/linux-generic/include/odp_packet_null.h M platform/linux-generic/pktio/null.c Log Message: ----------- linux-gen: pktio: make null use generic private data field Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 07201e1277cfeb885c7ee2a666575ec9dc8c8d7c https://github.com/Linaro/odp/commit/07201e1277cfeb885c7ee2a666575ec9dc8c8d7c Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-06-01 (Fri, 01 Jun 2018) Changed paths: M platform/linux-generic/include/odp_packet_io_internal.h Log Message: ----------- linux-gen: pktio: drop now-unused union definition Union, that previously contained different private data items, now has only generic private data array. Drop surrounding union to make code simpler. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 482da37abf31dc87fbe9bb28258122fa178cec45 https://github.com/Linaro/odp/commit/482da37abf31dc87fbe9bb28258122fa178cec45 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-06-01 (Fri, 01 Jun 2018) Changed paths: M test/validation/api/queue/queue.c Log Message: ----------- validation: queue_lf: log print when test skipped Test passes if capability indicates that lockfree queues are not implemented. Print the skipped status into log. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 75a996cfa0f3e2fa8530ea41ea3857eb86ab4b84 https://github.com/Linaro/odp/commit/75a996cfa0f3e2fa8530ea41ea3857eb86ab4b84 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-06-01 (Fri, 01 Jun 2018) Changed paths: M test/performance/.gitignore M test/performance/Makefile.am A test/performance/odp_queue_perf.c Log Message: ----------- test: queue_perf: added new plain queue performance test Simple test to measure plain queue performance in various modes. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: afef45861d081c0722fff71992d45854923c0d0f https://github.com/Linaro/odp/commit/afef45861d081c0722fff71992d45854923c0d0f Author: Josep Puigdemont <josep.puigdem...@linaro.org> Date: 2018-06-04 (Mon, 04 Jun 2018) Changed paths: M platform/linux-generic/odp_ishmphy.c Log Message: ----------- linux-gen: ishmphy: use MAP_POPULATE in mmap Populating pages on mapping will avoid them being zeroed-out at run-time. Fixes: https://bugs.linaro.org/show_bug.cgi?id=3867 Signed-off-by: Josep Puigdemont <josep.puigdem...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-and-tested-by: Matias Elo <matias....@nokia.com> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 780d15ced4188a38984c656a9fca58fdd5226735 https://github.com/Linaro/odp/commit/780d15ced4188a38984c656a9fca58fdd5226735 Author: Josep Puigdemont <josep.puigdem...@linaro.org> Date: 2018-06-06 (Wed, 06 Jun 2018) Changed paths: M example/l2fwd_simple/l2fwd_simple_run.sh Log Message: ----------- example/l2fw_simple: increase wait time When using huge pages, the wrapper script that's used to run this test will send a SIGINT signal too early to the signal, causing it to be ignored by the application. This in turn cause the application to never exit its main loop, which depends on handling this signal to set the variable that terminates the loop. Increasing the delay between starting the application and sending the SIGINT signal fixes this issue. This fixes https://bugs.linaro.org/show_bug.cgi?id=3879 Signed-off-by: Josep Puigdemont <josep.puigdem...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 953246794f041282cb1a59ccf47f9bde6c369069 https://github.com/Linaro/odp/commit/953246794f041282cb1a59ccf47f9bde6c369069 Author: Bogdan Pricope <bogdan.pric...@linaro.org> Date: 2018-06-06 (Wed, 06 Jun 2018) Changed paths: M platform/linux-generic/Makefile.am A platform/linux-generic/include/odp_ethtool_stats.h M platform/linux-generic/include/odp_packet_socket.h R platform/linux-generic/pktio/ethtool.c A platform/linux-generic/pktio/ethtool_stats.c M platform/linux-generic/pktio/netmap.c M platform/linux-generic/pktio/pktio_common.c M platform/linux-generic/pktio/socket.c M platform/linux-generic/pktio/socket_mmap.c Log Message: ----------- linux-gen: pktio: move ethtool stats function to a new file Cleanup the code by moving independent functionalities to separate files. Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 277cbcf414448fb7fd3fa8171a7cb8ffdcb6262b https://github.com/Linaro/odp/commit/277cbcf414448fb7fd3fa8171a7cb8ffdcb6262b Author: Bogdan Pricope <bogdan.pric...@linaro.org> Date: 2018-06-06 (Wed, 06 Jun 2018) Changed paths: M platform/linux-generic/Makefile.am A platform/linux-generic/include/odp_ethtool_rss.h M platform/linux-generic/include/odp_packet_socket.h A platform/linux-generic/pktio/ethtool_rss.c M platform/linux-generic/pktio/netmap.c M platform/linux-generic/pktio/socket.c Log Message: ----------- linux-gen: pktio: move ethtool rss function to a new file Cleanup socket pktio code by moving independent rss functionality to a separate file. Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: a832529f5430e0f60fee792a95a35ce7b2bed25d https://github.com/Linaro/odp/commit/a832529f5430e0f60fee792a95a35ce7b2bed25d Author: Bogdan Pricope <bogdan.pric...@linaro.org> Date: 2018-06-06 (Wed, 06 Jun 2018) Changed paths: M platform/linux-generic/Makefile.am M platform/linux-generic/include/odp_packet_socket.h A platform/linux-generic/include/odp_socket_common.h M platform/linux-generic/pktio/dpdk.c M platform/linux-generic/pktio/netmap.c M platform/linux-generic/pktio/socket.c A platform/linux-generic/pktio/socket_common.c M platform/linux-generic/pktio/socket_mmap.c M platform/linux-generic/pktio/tap.c Log Message: ----------- linux-gen: pktio: move common code out of socket pktio files Cleanup socket pktio code by moving common functionality to a separate file. Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: c7bf6a71fe08f3ba8228eced708c9d05496a825a https://github.com/Linaro/odp/commit/c7bf6a71fe08f3ba8228eced708c9d05496a825a Author: Bogdan Pricope <bogdan.pric...@linaro.org> Date: 2018-06-06 (Wed, 06 Jun 2018) Changed paths: M platform/linux-generic/include/odp_packet_io_internal.h M platform/linux-generic/odp_packet_io.c M platform/linux-generic/pktio/netmap.c M platform/linux-generic/pktio/tap.c Log Message: ----------- linux-gen: pktio: remove odp_packet_socket.h from unrelated files Cleanup pktio code by not including odp_packet_socket.h in unrelated files. Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: c3c447c96ab63092461dee2bac607f59a21bf8de https://github.com/Linaro/odp/commit/c3c447c96ab63092461dee2bac607f59a21bf8de Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-06-07 (Thu, 07 Jun 2018) Changed paths: M platform/linux-generic/odp_queue_lf.c Log Message: ----------- linux-gen: queue_lf: wrap is_lock_free function Wrap GCC built-in __atomic_is_lock_free function so that it can be overridden on ARMv8. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 3c449bd75224b543de394bf6444c09cfbc6e104f https://github.com/Linaro/odp/commit/3c449bd75224b543de394bf6444c09cfbc6e104f Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-06-07 (Thu, 07 Jun 2018) Changed paths: M platform/linux-generic/odp_queue_lf.c Log Message: ----------- linux-gen: queue_lf: use lock free 128 bit atomics Use 128 bit atomics from arch/aarch64 directory. On ARMv8, GCC built-in atomics does not utilize 128 bit atomic instructions but uses locks instead. All other targets use GGC built-ins (when lock free). Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: ff0e06546eb8fb49f495c819efec984b70d29102 https://github.com/Linaro/odp/commit/ff0e06546eb8fb49f495c819efec984b70d29102 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-06-11 (Mon, 11 Jun 2018) Changed paths: M test/validation/api/hash/hash.c Log Message: ----------- validation: hash: update crc32c test vectors Picked up crc32c test vectors from RFC 7143. Also generated some with an online CRC calculator (http://crccalc.com) to add variability to test data length. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 4a6e7f9c28fe9ad0f90bbfd6d45bcd65b14d15e7 https://github.com/Linaro/odp/commit/4a6e7f9c28fe9ad0f90bbfd6d45bcd65b14d15e7 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-06-11 (Mon, 11 Jun 2018) Changed paths: M platform/linux-generic/odp_hash.c Log Message: ----------- linux-gen: hash: crc32c support for odd data lengths Only data lengths multiple of 4 bytes were supported. Add support for any data length. Code is updated from current DPDK. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: dc3746ac97c0dbb8e7b85de909c7356cc05ee8b9 https://github.com/Linaro/odp/commit/dc3746ac97c0dbb8e7b85de909c7356cc05ee8b9 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-06-11 (Mon, 11 Jun 2018) Changed paths: M platform/linux-generic/odp_hash.c Log Message: ----------- linux-gen: hash: crc32c table format update Table content should be the same as before. It is just copied from DPDK again. This time rows are not aligned against the 80 char limit of checkpatch. This enables easy table content comparison against DPDK. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: d511479f529fa71e76ff0d2941585f7467276982 https://github.com/Linaro/odp/commit/d511479f529fa71e76ff0d2941585f7467276982 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-06-11 (Mon, 11 Jun 2018) Changed paths: M test/validation/api/hash/hash.c Log Message: ----------- validation: hash: odd length crc32c test vectors Added test cases for odd data lengths. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: bc2ca16611bdaac49e2ec22ecebe6ba67dd73812 https://github.com/Linaro/odp/commit/bc2ca16611bdaac49e2ec22ecebe6ba67dd73812 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-06-11 (Mon, 11 Jun 2018) Changed paths: M DEPENDENCIES M platform/linux-generic/Makefile.am M platform/linux-generic/m4/configure.m4 A platform/linux-generic/m4/odp_zlib.m4 A platform/linux-generic/odp_hash_crc32.c Log Message: ----------- linux-gen: hash_crc32: crc32 implementation with zlib Implement crc32 function with zlib. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 3daf62015014e70b09ea6fc59d20a5facff4fe6d https://github.com/Linaro/odp/commit/3daf62015014e70b09ea6fc59d20a5facff4fe6d Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-06-11 (Mon, 11 Jun 2018) Changed paths: M test/validation/api/hash/hash.c Log Message: ----------- validation: hash: add crc32 test case Added test vectors for crc32. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: ff723f791449a5ba156a997459844b4be2e2ab82 https://github.com/Linaro/odp/commit/ff723f791449a5ba156a997459844b4be2e2ab82 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-06-11 (Mon, 11 Jun 2018) Changed paths: M platform/linux-generic/Makefile.am R platform/linux-generic/odp_hash.c A platform/linux-generic/odp_hash_crc32c.c Log Message: ----------- linux-gen: hash: rename hash.c to hash_crc32c.c This file contains tabled implementation of crc32c. Crc32 and crc32c implementations do not share anything, and have different dependencies. Crc32 is implemented in file odp_hash_crc32.c. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 273fc3e2e0c92bbf22019ea7d686b061d640da78 https://github.com/Linaro/odp/commit/273fc3e2e0c92bbf22019ea7d686b061d640da78 Author: Maxim Uvarov <maxim.uva...@linaro.org> Date: 2018-06-12 (Tue, 12 Jun 2018) Changed paths: M example/l2fwd_simple/l2fwd_simple_run.sh M example/l2fwd_simple/odp_l2fwd_simple.c Log Message: ----------- example: l2fwd_simple remove predefined sleep Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Josep Puigdemont <josep.puigdem...@linaro.org> Commit: bfc31d006406481c26aa851257d643d480507e2c https://github.com/Linaro/odp/commit/bfc31d006406481c26aa851257d643d480507e2c Author: Matias Elo <matias....@nokia.com> Date: 2018-06-13 (Wed, 13 Jun 2018) Changed paths: M test/validation/api/queue/queue.c Log Message: ----------- validation: queue: enable passing tests without ordered locks Supporting ordered locks is not mandatory. Signed-off-by: Matias Elo <matias....@nokia.com> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 3239dd418ff3f02924fa71c0b805e709b6b6db63 https://github.com/Linaro/odp/commit/3239dd418ff3f02924fa71c0b805e709b6b6db63 Author: Matias Elo <matias....@nokia.com> Date: 2018-06-13 (Wed, 13 Jun 2018) Changed paths: M test/validation/api/scheduler/scheduler.c Log Message: ----------- validation: sched: adjust number of used queues based on capability Scale down the number of test queues per priority based on odp_queue_capability. Signed-off-by: Matias Elo <matias....@nokia.com> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 40ac22bb63526e9a935d804513204a85a665d13a https://github.com/Linaro/odp/commit/40ac22bb63526e9a935d804513204a85a665d13a Author: Matias Elo <matias....@nokia.com> Date: 2018-06-13 (Wed, 13 Jun 2018) Changed paths: M test/performance/odp_scheduling.c Log Message: ----------- test: scheduling: use queue capability Running the application would fail on systems with less than NUM_PRIOS * QUEUES_PER_PRIO scheduled queues. Use odp_queue_capability() and adjust number of queues per priority accordingly. Signed-off-by: Matias Elo <matias....@nokia.com> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 30114714f7740b3ee309e0be05e679c7e03816ba https://github.com/Linaro/odp/commit/30114714f7740b3ee309e0be05e679c7e03816ba Author: Bogdan Pricope <bogdan.pric...@linaro.org> Date: 2018-06-13 (Wed, 13 Jun 2018) Changed paths: M platform/linux-generic/Makefile.am M platform/linux-generic/include/odp_packet_io_internal.h A platform/linux-generic/include/odp_sysfs_stats.h R platform/linux-generic/pktio/ethtool_stats.c M platform/linux-generic/pktio/pktio_common.c M platform/linux-generic/pktio/socket.c M platform/linux-generic/pktio/socket_mmap.c A platform/linux-generic/pktio/stats/ethtool_stats.c A platform/linux-generic/pktio/stats/sysfs_stats.c R platform/linux-generic/pktio/sysfs.c Log Message: ----------- linux-gen: pktio: move ethtool and sysfs stats files to new folder Cleanup code structure by moving stats related files to new folder and creating header file for sysfs stats. Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 61989fee80f613970445e9658979a7b9f58fe9fb https://github.com/Linaro/odp/commit/61989fee80f613970445e9658979a7b9f58fe9fb Author: Bogdan Pricope <bogdan.pric...@linaro.org> Date: 2018-06-13 (Wed, 13 Jun 2018) Changed paths: M platform/linux-generic/Makefile.am M platform/linux-generic/include/odp_packet_io_internal.h A platform/linux-generic/include/odp_packet_io_stats.h A platform/linux-generic/include/odp_packet_io_stats_common.h M platform/linux-generic/pktio/netmap.c M platform/linux-generic/pktio/pktio_common.c M platform/linux-generic/pktio/socket.c M platform/linux-generic/pktio/socket_mmap.c A platform/linux-generic/pktio/stats/packet_io_stats.c Log Message: ----------- linux-gen: pktio: move pktio socket stats to a new file Cleanup pktio code by moving socket stats functions to a new file. Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 3e3f0f51da0af53d6161ffa270e1b1c13c88e3e4 https://github.com/Linaro/odp/commit/3e3f0f51da0af53d6161ffa270e1b1c13c88e3e4 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-06-15 (Fri, 15 Jun 2018) Changed paths: M DEPENDENCIES M platform/linux-generic/Makefile.am M platform/linux-generic/m4/configure.m4 R platform/linux-generic/m4/odp_zlib.m4 M platform/linux-generic/odp_hash_crc32.c Log Message: ----------- linux-gen: hash: table based crc32 implementation Remove dependency to zlib and use own table based implementation of crc32. The table was generated with odp_hash_crc_gen64() code (printed the table it generates internally). Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: a01d17348d6c34457a415935e702a24257adcf8a https://github.com/Linaro/odp/commit/a01d17348d6c34457a415935e702a24257adcf8a Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-06-19 (Tue, 19 Jun 2018) Changed paths: M example/timer/odp_timer_accuracy.c Log Message: ----------- example: timer_accuracy: convert full nsec time to ticks Calculate timeout values in nsec instead of ticks to avoid (accumulating) rounding error caused by nsec to tick conversion. Fixes bug https://bugs.linaro.org/show_bug.cgi?id=3787, timeouts are received consistently with different resolution values. Suggested-by: Josep Puigdemont <josep.puigdem...@linaro.org> Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: f8136babc5601068ac0f3ab30414a5cbd99388c3 https://github.com/Linaro/odp/commit/f8136babc5601068ac0f3ab30414a5cbd99388c3 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-06-19 (Tue, 19 Jun 2018) Changed paths: M platform/linux-generic/Makefile.am A platform/linux-generic/include/odp_ring_spsc_internal.h Log Message: ----------- linux-gen: ring_spsc: single-producer, single-consumer ring This ring can be used to implement (lock-free) queues when there is only single (concurrent) producer and consumer. SP/SC limitation enables very simple synchronization and thus good performance. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: eb021ca3cba9635b861205b2fc94da2a3cdf37bc https://github.com/Linaro/odp/commit/eb021ca3cba9635b861205b2fc94da2a3cdf37bc Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-06-19 (Tue, 19 Jun 2018) Changed paths: M platform/linux-generic/Makefile.am M platform/linux-generic/include/odp_queue_internal.h M platform/linux-generic/odp_queue_basic.c A platform/linux-generic/odp_queue_spsc.c Log Message: ----------- linux-gen: queue_spsc: single-producer, single-consumer queue Simple and lock-free implementation of plain queues when there are only single producer and consumer. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 7266ca2e44705e550ba7c8c1a71fa373eabd7b99 https://github.com/Linaro/odp/commit/7266ca2e44705e550ba7c8c1a71fa373eabd7b99 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-06-19 (Tue, 19 Jun 2018) Changed paths: M test/performance/odp_queue_perf.c Log Message: ----------- test: queue_perf: single producer/consumer option Added option to test queues with single producer/consumer mode set. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 53f3baf58256c085fa230992eb03c896276fc874 https://github.com/Linaro/odp/commit/53f3baf58256c085fa230992eb03c896276fc874 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-06-19 (Tue, 19 Jun 2018) Changed paths: M test/validation/api/queue/queue.c Log Message: ----------- validation: queue: test enq/deq mode combinations Changed the single thread, lock-free queue test to generic single thread burst enq/deq test. Test all combination enq/deq mode combination with blocking and lock-free queues. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 492390a79f20c7aaaf16f232fbd5ecf0d9b700e7 https://github.com/Linaro/odp/commit/492390a79f20c7aaaf16f232fbd5ecf0d9b700e7 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-06-19 (Tue, 19 Jun 2018) Changed paths: M test/validation/api/queue/queue.c Log Message: ----------- validation: queue: pair test Test a pair of queues with two threads. This simple multi-thread test can be executed in all enqueue/dequeue modes, also in single-producer / single-consumer mode. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Compare: https://github.com/Linaro/odp/compare/29cb860583cb...492390a79f20 **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.