From 260e50d627aea535abcd9d9902c1b4ae56da4c54 Mon Sep 17 00:00:00 2001 From: nodist Date: Sun, 20 Sep 2026 17:10:21 -0400 Subject: add config for io and thread --- include/kpl/io.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/kpl/io.h') diff --git a/include/kpl/io.h b/include/kpl/io.h index e6ea690..2b33755 100644 --- a/include/kpl/io.h +++ b/include/kpl/io.h @@ -5,6 +5,12 @@ #include "kpl/macro.h" +typedef enum : int32_t { + KPL_IO_QUEUE_POW_MIN = 4, + KPL_IO_QUEUE_POW_DEFAULT = 10, + KPL_IO_QUEUE_POW_MAX = 16 +} kpl_io_queue_pow_options; + typedef struct { int32_t queue_pow; } kpl_config_io; -- cgit v1.2.3