1# Copyright (c) 2022 Intel Corporation 2# SPDX-License-Identifier: Apache-2.0 3 4menuconfig RTIO 5 bool "RTIO" 6 7if RTIO 8 9config RTIO_SUBMIT_SEM 10 bool "Use a semaphore when waiting for completions in rtio_submit" 11 help 12 When calling rtio_submit a semaphore is available to sleep the calling 13 thread for each completion queue event until the wait count is met. This 14 adds a small RAM overhead for a single semaphore. By default wait_for will 15 use polling on the completion queue with a k_yield() in between iterations. 16 17config RTIO_CONSUME_SEM 18 bool "Use a semaphore when waiting for completions in rtio_cqe_consume_block" 19 help 20 When calling rtio_cqe_consume_block a semaphore is available to sleep the 21 calling thread for each completion queue event until the wait count is met. 22 This adds a small RAM overhead for a single semaphore. By default the call 23 will use polling on the completion queue with a k_yield() in between 24 iterations. 25 26config RTIO_SYS_MEM_BLOCKS 27 bool "Include system memory blocks as an optional backing read memory pool" 28 select SYS_MEM_BLOCKS 29 help 30 Enable the RTIO_DEFINE_WITH_MEMPOOL macro which allows queueing reads 31 without a pre-allocated memory buffer. Instead the buffer will be taken 32 from the allocated memory pool associated with the RTIO context. 33 34module = RTIO 35module-str = RTIO 36module-help = Sets log level for RTIO support 37source "subsys/logging/Kconfig.template.log_config" 38 39endif 40