Open CAS Framework
Open source framework of Cache Acceleration Software
ocf_cfg.h
Go to the documentation of this file.
1 /*
2  * Copyright(c) 2012-2020 Intel Corporation
3  * SPDX-License-Identifier: BSD-3-Clause-Clear
4  */
5 
6 
7 #ifndef __OCF_CFG_H__
8 #define __OCF_CFG_H__
9 
18 #ifndef OCF_CONFIG_MAX_CORES
19 #define OCF_CONFIG_MAX_CORES 4096
20 #endif
21 
23 #ifndef OCF_CONFIG_MAX_IO_CLASSES
24 #define OCF_CONFIG_MAX_IO_CLASSES 33
25 #endif
26 
27 #if OCF_CONFIG_MAX_IO_CLASSES > 256
28 #error "Limit of maximum number of IO classes exceeded"
29 #endif
30 
32 #ifndef OCF_CONFIG_DEBUG_STATS
33 #define OCF_CONFIG_DEBUG_STATS 0
34 #endif
35 
36 #endif /* __OCF_CFG_H__ */