zephyr/tests/subsys/rtio/rtio_api
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
..
src rtio: Properly track last sqe in the queue 2023-03-17 12:49:57 -05:00
CMakeLists.txt tests: rtio: Split test suites up into files 2023-03-17 12:49:57 -05:00
prj.conf tests/subsys/rtio: Update testing to use newer ZTEST API 2022-06-30 14:58:10 -04:00
testcase.yaml tests: rtio: remove subsys from test identifer 2023-03-10 14:01:59 +02:00