aboutsummaryrefslogtreecommitdiff
path: root/include/kpl/io.h
blob: 2b3375598931fa1ac6884bec7c7a66381761c414 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

#pragma once

// Io through io_uring

#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;