zephyr/subsys/rtio
Tom Burdick 610d307fa0 rtio: Properly track last sqe in the queue
The pending_sqe logic to track where in the ring queue the concurrent
executor had left off was slightly flawed. It didn't account for starting
all sqes in the queue and ending back up at the beginning.

Instead track the last SQE in the queue, from which the next one in the
queue will the one to start next.

If we happen to sweep the last known SQE in the queue, reset it to NULL
so the next time prepare is called we start at the beginning of the queue
again.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
2023-03-17 12:49:57 -05:00
..
CMakeLists.txt rtio: Userspace support 2022-11-08 10:44:03 +01:00
Kconfig rtio: Low (Memory) Cost Concurrent scheduler 2022-06-28 13:53:13 -04:00
rtio_executor_concurrent.c rtio: Properly track last sqe in the queue 2023-03-17 12:49:57 -05:00
rtio_executor_simple.c rtio: Add transactional submissions 2023-03-17 12:49:57 -05:00
rtio_handlers.c rtio: Userspace support 2022-11-08 10:44:03 +01:00