d4cb819758
Extend existing cfgfile library with providing new API functions: rte_cfgfile_create() - create new cfgfile object rte_cfgfile_add_section() - add new section to existing cfgfile object rte_cfgfile_add_entry() - add new entry to existing cfgfile object in specified section rte_cfgfile_set_entry() - update existing entry in cfgfile object rte_cfgfile_save() - save existing cfgfile object to INI file This modification allows to create a cfgfile on runtime and opens up the possibility to have applications dynamically build up a proper DPDK configuration, rather than having to have a pre-existing one. Signed-off-by: Jacek Piasecki <jacekx.piasecki@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
41 lines
568 B
Plaintext
41 lines
568 B
Plaintext
DPDK_2.0 {
|
|
global:
|
|
|
|
rte_cfgfile_close;
|
|
rte_cfgfile_get_entry;
|
|
rte_cfgfile_has_entry;
|
|
rte_cfgfile_has_section;
|
|
rte_cfgfile_load;
|
|
rte_cfgfile_num_sections;
|
|
rte_cfgfile_section_entries;
|
|
rte_cfgfile_section_num_entries;
|
|
rte_cfgfile_sections;
|
|
|
|
local: *;
|
|
};
|
|
|
|
DPDK_16.04 {
|
|
global:
|
|
|
|
rte_cfgfile_section_entries_by_index;
|
|
|
|
} DPDK_2.0;
|
|
|
|
DPDK_17.05 {
|
|
global:
|
|
|
|
rte_cfgfile_load_with_params;
|
|
|
|
} DPDK_16.04;
|
|
|
|
DPDK_17.11 {
|
|
global:
|
|
|
|
rte_cfgfile_add_entry;
|
|
rte_cfgfile_add_section;
|
|
rte_cfgfile_create;
|
|
rte_cfgfile_save;
|
|
rte_cfgfile_set_entry;
|
|
|
|
} DPDK_17.05;
|