Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: 3e61be54a77ed8ccc2030e88b9a26372d3f76e2c https://github.com/Linaro/odp/commit/3e61be54a77ed8ccc2030e88b9a26372d3f76e2c Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-03-07 (Wed, 07 Mar 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_schedule_basic.c M platform/linux-generic/odp_schedule_iquery.c M platform/linux-generic/odp_schedule_sp.c Log Message: ----------- linux-gen: sched: optimize packet input polling Optimize scheduler throughput with packet IO interfaces. Special pktio poll commands are removed and event queue is used instead to trigger packet input polling. Packet input is polled when those queues are empty. Thus, these queues connected to packet input are not removed from scheduling when empty. 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: bb8015d15ca4b0e2033eeca09906032a88e74bff https://github.com/Linaro/odp/commit/bb8015d15ca4b0e2033eeca09906032a88e74bff Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-03-07 (Wed, 07 Mar 2018) Changed paths: M platform/linux-generic/include/odp_buffer_inlines.h M platform/linux-generic/include/odp_queue_internal.h M platform/linux-generic/include/odp_queue_lf.h M platform/linux-generic/include/odp_schedule_if.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_schedule_basic.c M platform/linux-generic/odp_schedule_iquery.c M platform/linux-generic/odp_schedule_sp.c Log Message: ----------- linux-gen: sched: optimize atomic packet input queue throughput When packet input queue is atomic, packets received from packet input are passed directly to the application. Other queue types may have events stashed on other threads, so for those incoming packets are always enqueued (to maintain packet order). 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: 42fc5ebdcd5a1e5fbb7a19a2756a310f23a0cdd5 https://github.com/Linaro/odp/commit/42fc5ebdcd5a1e5fbb7a19a2756a310f23a0cdd5 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-03-07 (Wed, 07 Mar 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_iquery.c Log Message: ----------- linux-gen: queue: enqueue may fail Drop events when queue enqueue fails. Enqueue failure is more likely now when queue has limited 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: 196d8f518071cc8c37dde0835cb7559d6cdd55da https://github.com/Linaro/odp/commit/196d8f518071cc8c37dde0835cb7559d6cdd55da Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-03-07 (Wed, 07 Mar 2018) Changed paths: M platform/linux-generic/odp_schedule_basic.c Log Message: ----------- linux-gen: sched: optimize parallel packet input queue throughput Extend direct packet input processing to parallel queues. Parallel queues do not quarantee ordering, so also those can pass packets directly to application and (potentially) stash some per thread. 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: 2bbd7ace9e236d27dcfb52acfef991bd5ce39354 https://github.com/Linaro/odp/commit/2bbd7ace9e236d27dcfb52acfef991bd5ce39354 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-03-07 (Wed, 07 Mar 2018) Changed paths: M platform/linux-generic/odp_schedule_basic.c Log Message: ----------- linux-gen: sched: use stash prefix Use consistently stash_ prefix for thread local variables related to event stashing. 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: 36f589b5a84804ce246bcd9a3eb9352801aaf41d https://github.com/Linaro/odp/commit/36f589b5a84804ce246bcd9a3eb9352801aaf41d Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-03-07 (Wed, 07 Mar 2018) Changed paths: M platform/linux-generic/odp_schedule_basic.c Log Message: ----------- linux-gen: sched: optimize local variable layout Pack local variables struct and bring commonly used variables into the head of the struct. 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/c0da87688187...36f589b5a848