spdk_app_opts Struct Reference

Event framework initialization options. More...

Collaboration diagram for spdk_app_opts:

Data Fields

const char * name
 
const char * json_config_file
 
bool json_config_ignore_errors
 
const char * rpc_addr
 
const char * reactor_mask
 
const char * tpoint_group_mask
 
int shm_id
 
spdk_app_shutdown_cb shutdown_cb
 
bool enable_coredump
 
int mem_channel
 
int main_core
 
int mem_size
 
bool no_pci
 
bool hugepage_single_segments
 
bool unlink_hugepage
 
const char * hugedir
 
enum spdk_log_level print_level
 
size_t num_pci_addr
 
struct spdk_pci_addrpci_blocked
 
struct spdk_pci_addrpci_allowed
 
const char * iova_mode
 
bool delay_subsystem_init
 
uint64_t num_entries
 
void * env_context
 Opaque context for use of the env implementation.
 
logfunclog
 for passing user-provided log call
 
uint64_t base_virtaddr
 
size_t opts_size
 The size of spdk_app_opts according to the caller of this library is used for ABI compatibility. More...
 
bool disable_signal_handlers
 Disable default signal handlers. More...
 
size_t msg_mempool_size
 The allocated size for the message pool used by the threading library. More...
 

Detailed Description

Event framework initialization options.

Field Documentation

◆ disable_signal_handlers

bool spdk_app_opts::disable_signal_handlers

Disable default signal handlers.

If set to true, the shutdown process is not started implicitly by process signals, hence the application is responsible for calling spdk_app_start_shutdown().

Default is false.

◆ msg_mempool_size

size_t spdk_app_opts::msg_mempool_size

The allocated size for the message pool used by the threading library.

Default is SPDK_DEFAULT_MSG_MEMPOOL_SIZE.

◆ opts_size

size_t spdk_app_opts::opts_size

The size of spdk_app_opts according to the caller of this library is used for ABI compatibility.

The library uses this field to know how many fields in this structure are valid. And the library will populate any remaining fields with default values. After that, new added fields should be put after opts_size.


The documentation for this struct was generated from the following file: