- Introduce a new Kconfig to enable mempool in RTIO - Introduce a new RTIO_DEFINE_WITH_MEMPOOL to allocate an RTIO context with an associated memory pool. - Add a new sqe read function rtio_sqe_read_with_pool() for memory pool enabled RTIO contexts - Allow IODevs to allocate only the memory they need via rtio_sqe_rx_buf() - Allow the consumer to get the allocated buffer via rtio_cqe_get_mempool_buffer() - Consumers need to release the buffer via rtio_release_buffer() when processing is complete. Signed-off-by: Yuval Peress <peress@google.com>
6 lines
94 B
Plaintext
6 lines
94 B
Plaintext
CONFIG_ZTEST=y
|
|
CONFIG_ZTEST_NEW_API=y
|
|
CONFIG_LOG=y
|
|
CONFIG_RTIO=y
|
|
CONFIG_RTIO_SYS_MEM_BLOCKS=y
|