![]() |
EM-ODP
3.8.0-1
Event Machine on ODP
|
#include <em_init.h>

Data Fields | |
| struct { | |
| em_pool_stats_opt_t statistics | |
| unsigned int align_offset | |
| unsigned int pkt_headroom | |
| size_t user_area_size | |
| } | pool |
| struct { | |
| bool create_core_queue_groups | |
| } | queue_group |
| struct { | |
| unsigned int max_num | |
| unsigned int min_events_default | |
| struct { | |
| int map_mode | |
| int custom_map [EM_QUEUE_PRIO_NUM] | |
| } priority | |
| } | queue |
| struct { | |
| bool order_keep | |
| unsigned int num_order_queues | |
| } | event_chaining |
| struct { | |
| int enable | |
| int store_state | |
| int store_first_u32 | |
| int prealloc_pools | |
| } | esv |
| struct { | |
| int enable | |
| const char * ip_addr | |
| int port | |
| } | cli |
| struct { | |
| unsigned int poll_ctrl_interval | |
| uint64_t poll_ctrl_interval_ns | |
| odp_time_t poll_ctrl_interval_time | |
| unsigned int poll_drain_interval | |
| uint64_t poll_drain_interval_ns | |
| odp_time_t poll_drain_interval_time | |
| uint64_t sched_wait_ns | |
| uint64_t sched_wait | |
| bool sched_pause | |
| } | dispatch |
| struct { | |
| bool shared_tmo_pool_enable | |
| uint32_t shared_tmo_pool_size | |
| uint32_t tmo_pool_cache | |
| struct { | |
| uint32_t timer_event_pool_size | |
| uint32_t timer_event_pool_cache | |
| } ring | |
| } | timer |
| struct { | |
| uint32_t num | |
| startup_pool_conf_t conf [EM_CONFIG_POOLS] | |
| } | startup_pools |
EM config options read from the config file.
See the config/em-odp.conf file for description of the options.
| odp_time_t opt_t::poll_ctrl_interval_time |