![]() |
EM-ODP 4.4.0
Event Machine on ODP
|
#include <event_machine_init.h>

Data Fields | ||
| struct { | ||
| int enable | ||
| const char * ip_addr | ||
| int port | ||
| } | cli | |
| struct { | ||
| unsigned int poll_ctrl_interval | ||
| uint64_t poll_ctrl_interval_ns | ||
| unsigned int poll_drain_interval | ||
| uint64_t poll_drain_interval_ns | ||
| uint64_t sched_wait_ns | ||
| bool sched_pause | ||
| } | dispatch | |
| struct { | ||
| bool start_local_fn_at_init | ||
| bool stop_local_fn_at_term | ||
| } | eo | |
| struct { | ||
| int enable | ||
| int store_state | ||
| int store_first_u32 | ||
| int prealloc_pools | ||
| } | esv | |
| struct { | ||
| bool order_keep | ||
| unsigned int num_order_queues | ||
| } | event_chaining | |
| struct { | ||
| em_pool_stats_opt_t statistics | ||
| unsigned int align_offset | ||
| size_t user_area_size | ||
| unsigned int pkt_headroom | ||
| } | pool | |
| struct { | ||
| unsigned int num_static | ||
| unsigned int num_dynamic | ||
| unsigned int num_aggr | ||
| unsigned int min_events_default | ||
| struct { | ||
| int map_mode | ||
| int custom_map [EM_QUEUE_PRIO_NUM] | ||
| } priority | ||
| } | queue | |
| struct { | ||
| bool create_core_queue_groups | ||
| bool term_local_flush_orphans | ||
| } | queue_group | |
| 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 { | ||
| enum | { EM_VECTOR_BACKEND_PACKET = 1 , EM_VECTOR_BACKEND_EVENT = 2 } | |
| enum em_cfgfile_opts_t:: { ... } backend | ||
| const char * backend_str | ||
| } | vector | |
| struct { | ||
| uint32_t num | ||
| em_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.
Definition at line 606 of file event_machine_init.h.
| unsigned int em_cfgfile_opts_t::align_offset |
Definition at line 643 of file event_machine_init.h.
| const char* em_cfgfile_opts_t::backend_str |
Definition at line 682 of file event_machine_init.h.
| em_startup_pool_conf_t em_cfgfile_opts_t::conf[EM_CONFIG_POOLS] |
Definition at line 687 of file event_machine_init.h.
| bool em_cfgfile_opts_t::create_core_queue_groups |
Definition at line 660 of file event_machine_init.h.
| int em_cfgfile_opts_t::custom_map[EM_QUEUE_PRIO_NUM] |
Definition at line 655 of file event_machine_init.h.
| int em_cfgfile_opts_t::enable |
Definition at line 608 of file event_machine_init.h.
| const char* em_cfgfile_opts_t::ip_addr |
Definition at line 609 of file event_machine_init.h.
| int em_cfgfile_opts_t::map_mode |
Definition at line 654 of file event_machine_init.h.
| unsigned int em_cfgfile_opts_t::min_events_default |
Definition at line 652 of file event_machine_init.h.
| uint32_t em_cfgfile_opts_t::num |
Definition at line 686 of file event_machine_init.h.
| unsigned int em_cfgfile_opts_t::num_aggr |
Definition at line 651 of file event_machine_init.h.
| unsigned int em_cfgfile_opts_t::num_dynamic |
Definition at line 650 of file event_machine_init.h.
| unsigned int em_cfgfile_opts_t::num_order_queues |
Definition at line 638 of file event_machine_init.h.
| unsigned int em_cfgfile_opts_t::num_static |
Definition at line 649 of file event_machine_init.h.
| bool em_cfgfile_opts_t::order_keep |
Definition at line 637 of file event_machine_init.h.
| unsigned int em_cfgfile_opts_t::pkt_headroom |
Definition at line 645 of file event_machine_init.h.
| unsigned int em_cfgfile_opts_t::poll_ctrl_interval |
Definition at line 614 of file event_machine_init.h.
| uint64_t em_cfgfile_opts_t::poll_ctrl_interval_ns |
Definition at line 615 of file event_machine_init.h.
| unsigned int em_cfgfile_opts_t::poll_drain_interval |
Definition at line 617 of file event_machine_init.h.
| uint64_t em_cfgfile_opts_t::poll_drain_interval_ns |
Definition at line 618 of file event_machine_init.h.
| int em_cfgfile_opts_t::port |
Definition at line 610 of file event_machine_init.h.
| int em_cfgfile_opts_t::prealloc_pools |
Definition at line 633 of file event_machine_init.h.
| bool em_cfgfile_opts_t::sched_pause |
Definition at line 621 of file event_machine_init.h.
| uint64_t em_cfgfile_opts_t::sched_wait_ns |
Definition at line 620 of file event_machine_init.h.
| bool em_cfgfile_opts_t::shared_tmo_pool_enable |
Definition at line 665 of file event_machine_init.h.
| uint32_t em_cfgfile_opts_t::shared_tmo_pool_size |
Definition at line 666 of file event_machine_init.h.
| bool em_cfgfile_opts_t::start_local_fn_at_init |
Definition at line 625 of file event_machine_init.h.
| em_pool_stats_opt_t em_cfgfile_opts_t::statistics |
Definition at line 642 of file event_machine_init.h.
| bool em_cfgfile_opts_t::stop_local_fn_at_term |
Definition at line 626 of file event_machine_init.h.
| int em_cfgfile_opts_t::store_first_u32 |
Definition at line 632 of file event_machine_init.h.
| int em_cfgfile_opts_t::store_state |
Definition at line 631 of file event_machine_init.h.
| bool em_cfgfile_opts_t::term_local_flush_orphans |
Definition at line 661 of file event_machine_init.h.
| uint32_t em_cfgfile_opts_t::timer_event_pool_cache |
Definition at line 670 of file event_machine_init.h.
| uint32_t em_cfgfile_opts_t::timer_event_pool_size |
Definition at line 669 of file event_machine_init.h.
| uint32_t em_cfgfile_opts_t::tmo_pool_cache |
Definition at line 667 of file event_machine_init.h.
| size_t em_cfgfile_opts_t::user_area_size |
Definition at line 644 of file event_machine_init.h.