Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: 7fdf6e03af1608e476fa0296d77de50f618b1754 https://github.com/Linaro/odp/commit/7fdf6e03af1608e476fa0296d77de50f618b1754 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-12-26 (Wed, 26 Dec 2018)
Changed paths: M include/odp/api/spec/queue_types.h M include/odp/api/spec/schedule.h M include/odp/api/spec/schedule_types.h Log Message: ----------- api: queue, schedule: move scheduler capabilities to scheduler Add odp_schedule_capability() call to query scheduler capabilities. Move basic scheduler capabilities to new odp_schedule_capability_t structure. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Balasubramanian Manoharan <bala.manoha...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Petri Savolainen <petri.savolai...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 81e5aead1d8996907911463c9025a0b852bbfae8 https://github.com/Linaro/odp/commit/81e5aead1d8996907911463c9025a0b852bbfae8 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-12-26 (Wed, 26 Dec 2018) Changed paths: M platform/linux-generic/include/odp_config_internal.h M platform/linux-generic/odp_queue_basic.c M platform/linux-generic/odp_queue_scalable.c Log Message: ----------- linux-gen: move NUM_INTERNAL_QUEUES to config It is really a config value, that allows one to select amount of queues to be reserved for platform internal use, so move it to config header. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Balasubramanian Manoharan <bala.manoha...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Petri Savolainen <petri.savolai...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 930b0042689ca69851e2fe7abd0c9d35b61e76e5 https://github.com/Linaro/odp/commit/930b0042689ca69851e2fe7abd0c9d35b61e76e5 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-12-26 (Wed, 26 Dec 2018) Changed paths: M platform/linux-generic/include/odp_schedule_if.h 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_if.c M platform/linux-generic/odp_schedule_scalable.c M platform/linux-generic/odp_schedule_sp.c Log Message: ----------- linux-gen: queue, schedule: move scheduler capabilities to scheduler Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Balasubramanian Manoharan <bala.manoha...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Petri Savolainen <petri.savolai...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: eee646125e8e6ae3222268448be423a351e6043e https://github.com/Linaro/odp/commit/eee646125e8e6ae3222268448be423a351e6043e Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-12-26 (Wed, 26 Dec 2018) Changed paths: M example/sysinfo/odp_sysinfo.c M test/performance/odp_pktio_ordered.c M test/validation/api/classification/odp_classification_tests.c M test/validation/api/queue/queue.c M test/validation/api/scheduler/scheduler.c Log Message: ----------- example, tests: move scheduler capabilities to scheduler Add odp_schedule_capability() call to query scheduler capabilities. Move basic scheduler capabilities to new odp_schedule_capability_t structure. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Balasubramanian Manoharan <bala.manoha...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Petri Savolainen <petri.savolai...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 206c476a3e4d60713a8c279eee78add66421d0e6 https://github.com/Linaro/odp/commit/206c476a3e4d60713a8c279eee78add66421d0e6 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-12-26 (Wed, 26 Dec 2018) Changed paths: M include/odp/api/spec/queue_types.h M include/odp/api/spec/schedule_types.h Log Message: ----------- api: queue, schedule: move scheduled queue capabilities to sched Move scheduled queue capabilities to odp_schedule_capability_t structure, as they logically belong to ODP scheduler module, rather than queue module. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Balasubramanian Manoharan <bala.manoha...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Petri Savolainen <petri.savolai...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 2aee8a5840602472d46ae873c9d9f87cf54461e7 https://github.com/Linaro/odp/commit/2aee8a5840602472d46ae873c9d9f87cf54461e7 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-12-26 (Wed, 26 Dec 2018) Changed paths: 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_schedule_sp.c Log Message: ----------- linux-gen: queue, schedule: move scheduled queue capabilities to sched Move scheduled queue capabilities to odp_schedule_capability_t structure, as they logically belong to ODP scheduler module, rather than queue module. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Balasubramanian Manoharan <bala.manoha...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Petri Savolainen <petri.savolai...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: f27ee888c0ed07a08eafaea596094125cb9fdcc6 https://github.com/Linaro/odp/commit/f27ee888c0ed07a08eafaea596094125cb9fdcc6 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-12-26 (Wed, 26 Dec 2018) Changed paths: M example/sysinfo/odp_sysinfo.c M test/performance/odp_cpu_bench.c M test/performance/odp_pktio_ordered.c M test/performance/odp_sched_perf.c M test/performance/odp_sched_pktio.c M test/performance/odp_scheduling.c M test/validation/api/queue/queue.c M test/validation/api/scheduler/scheduler.c Log Message: ----------- example, tests: move scheduled queue capabilities to sched Move scheduled queue capabilities to odp_schedule_capability_t structure, as they logically belong to ODP scheduler module, rather than queue module. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Balasubramanian Manoharan <bala.manoha...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Petri Savolainen <petri.savolai...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: eded2529a711a731220322d37af569b7e08c41e9 https://github.com/Linaro/odp/commit/eded2529a711a731220322d37af569b7e08c41e9 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-12-26 (Wed, 26 Dec 2018) Changed paths: M include/odp/api/spec/schedule.h M include/odp/api/spec/schedule_types.h Log Message: ----------- api: schedule: add scheduler config and start API Add API calls to configure and start scheduler subsystem. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Balasubramanian Manoharan <bala.manoha...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Petri Savolainen <petri.savolai...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 6aeb2eed6c65cb5830200c236b98b09a9a0f9245 https://github.com/Linaro/odp/commit/6aeb2eed6c65cb5830200c236b98b09a9a0f9245 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-12-26 (Wed, 26 Dec 2018) Changed paths: M include/odp/api/spec/event.h M include/odp/api/spec/schedule_types.h Log Message: ----------- api: schedule: add scheduler flow aware mode ODP scheduler configuration to support flow aware mode Signed-off-by: Balasubramanian Manoharan <bala.manoha...@linaro.org> Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Balasubramanian Manoharan <bala.manoha...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Petri Savolainen <petri.savolai...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: e721288bf73f752015162eb594e294e58fb96a07 https://github.com/Linaro/odp/commit/e721288bf73f752015162eb594e294e58fb96a07 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-12-26 (Wed, 26 Dec 2018) Changed paths: M platform/linux-generic/include/odp_schedule_if.h M platform/linux-generic/odp_schedule_basic.c M platform/linux-generic/odp_thread.c Log Message: ----------- linux-gen: schedule: rename config to get_config Rename config function to get_config to avoid collisions. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Balasubramanian Manoharan <bala.manoha...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Petri Savolainen <petri.savolai...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: ddfe2d945b3dfe6e443acf18f86ce30f60b325a4 https://github.com/Linaro/odp/commit/ddfe2d945b3dfe6e443acf18f86ce30f60b325a4 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-12-26 (Wed, 26 Dec 2018) Changed paths: M platform/linux-generic/include/odp_schedule_if.h M platform/linux-generic/odp_schedule_basic.c M platform/linux-generic/odp_schedule_if.c M platform/linux-generic/odp_schedule_scalable.c M platform/linux-generic/odp_schedule_sp.c Log Message: ----------- linux-gen: implement odp_schedule_config() API call Add odp_schedule_config() stub, which does nothing at this point. Use it to actually check (in debug mode) that application call it in proper place. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Balasubramanian Manoharan <bala.manoha...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Petri Savolainen <petri.savolai...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: b484f32b2464a53946a88013a0ee547415cdf414 https://github.com/Linaro/odp/commit/b484f32b2464a53946a88013a0ee547415cdf414 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-12-26 (Wed, 26 Dec 2018) Changed paths: M test/common/odp_cunit_common.c M test/validation/api/timer/timer.c Log Message: ----------- validation: add calls to odp_schedule_config() Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Balasubramanian Manoharan <bala.manoha...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Petri Savolainen <petri.savolai...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 9287482b9debd49de84b6ec1640604edeaa9f9e1 https://github.com/Linaro/odp/commit/9287482b9debd49de84b6ec1640604edeaa9f9e1 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-12-26 (Wed, 26 Dec 2018) Changed paths: M test/performance/odp_cpu_bench.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_perf.c M test/performance/odp_sched_pktio.c M test/performance/odp_scheduling.c Log Message: ----------- performance: add calls to odp_schedule_config() Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Balasubramanian Manoharan <bala.manoha...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Petri Savolainen <petri.savolai...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 9edf20ac38a6c7dc61cb00fbd776bea6afa264c7 https://github.com/Linaro/odp/commit/9edf20ac38a6c7dc61cb00fbd776bea6afa264c7 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-12-26 (Wed, 26 Dec 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/ipsec_offload/odp_ipsec_offload.c M example/packet/odp_packet_dump.c M example/packet/odp_pktio.c M example/timer/odp_timer_accuracy.c M example/timer/odp_timer_simple.c M example/timer/odp_timer_test.c Log Message: ----------- examples: add calls to odp_schedule_config() Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Balasubramanian Manoharan <bala.manoha...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Petri Savolainen <petri.savolai...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 410a0d38d13b08003d54d316868f941c5d570c54 https://github.com/Linaro/odp/commit/410a0d38d13b08003d54d316868f941c5d570c54 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-12-26 (Wed, 26 Dec 2018) Changed paths: M test/validation/api/scheduler/scheduler.c Log Message: ----------- validation: scheduler use schedule_config instead of capabilities Since ODP test suite will use default configuration for scheduler, all comparisons should be done against it rather than maximum possible values returned by capabilities. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Balasubramanian Manoharan <bala.manoha...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Petri Savolainen <petri.savolai...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 14f3d11428650ed3af3bfa1bf728fc1a64e52da7 https://github.com/Linaro/odp/commit/14f3d11428650ed3af3bfa1bf728fc1a64e52da7 Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-12-26 (Wed, 26 Dec 2018) Changed paths: M platform/linux-generic/odp_event.c Log Message: ----------- linux-gen: event: support flow-awareness API Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Petri Savolainen <petri.savolai...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 89f4d6b463c93e2e87634f0d17f214d967b66bdd https://github.com/Linaro/odp/commit/89f4d6b463c93e2e87634f0d17f214d967b66bdd Author: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Date: 2018-12-26 (Wed, 26 Dec 2018) Changed paths: M include/odp/api/abi-default/event.h M include/odp/api/spec/event.h Log Message: ----------- api: event: define ODP_EVENT_PACKET_COMP 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: b0d8afdb22c92c4f0974acbe30e346110b8a8fc6 https://github.com/Linaro/odp/commit/b0d8afdb22c92c4f0974acbe30e346110b8a8fc6 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-12-26 (Wed, 26 Dec 2018) Changed paths: M include/odp/api/spec/schedule.h M include/odp/api/spec/schedule_types.h Log Message: ----------- api: sched: max_flow_id capability Change max number of flows to max flow ID. This way implementation can utilize full 32 bits of flow ID space. Also, note explicitly that odp_schedule_config() must be called only once. 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: 3e9428c476bf8527e9c294f298fa550f634ae40b https://github.com/Linaro/odp/commit/3e9428c476bf8527e9c294f298fa550f634ae40b Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-12-26 (Wed, 26 Dec 2018) Changed paths: M platform/linux-generic/odp_schedule_basic.c M platform/linux-generic/odp_schedule_if.c M platform/linux-generic/odp_schedule_sp.c Log Message: ----------- linux-gen: sched: check that config has been done Check always on slow path functions that schedule config has been called. Fast path functions do the check only when debugging is enabled. 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: 9909800501e6a09654328e76496adf31f1750f68 https://github.com/Linaro/odp/commit/9909800501e6a09654328e76496adf31f1750f68 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-12-26 (Wed, 26 Dec 2018) Changed paths: M test/validation/api/scheduler/scheduler.c Log Message: ----------- validation: sched: add flow aware test case Move scheduler config call into the test suite as some test cases need non-default config. Scheduler configuration can be set only once, so all test cases share the config. Flow aware mode is enabled, when capability allows that. 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: 87a81d8b4feb08fdf60a960ac2b003233fc0ae3b https://github.com/Linaro/odp/commit/87a81d8b4feb08fdf60a960ac2b003233fc0ae3b Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-12-26 (Wed, 26 Dec 2018) Changed paths: M platform/linux-generic/include/odp_buffer_internal.h M platform/linux-generic/odp_event.c M platform/linux-generic/odp_schedule_basic.c Log Message: ----------- linux-gen: sched: dummy flow aware implementation Implement flow aware scheduling API with least possible changes. Scheduler does not care about flow IDs, but synchronizes still on queue level. This is functionally correct, but does provide parallelism between different flows of a queue. So, application does not benefit from using flows, but functions correctly. Maximum number of flows per queue is limited to 256 just to minimize number of bytes used in buffer header. 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> Compare: https://github.com/Linaro/odp/compare/9c3f29b03daf...87a81d8b4feb **NOTE:** This service has 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.