Enables changing ODP runtime configuration options by using an optional
configuration file (libconfig). Path to the conf file is passed using
environment variable ODP_CONF_FILE. If ODP_CONF_FILE or a particular option
is not set, hardcoded default values are used intead. An example
configuration file is provided in config/odp-linux.conf.
Runtime configuration is initially used by DPDK pktio to set NIC options.
Adds new dependency to libconfig library.
Signed-off-by: Matias Elo matias....@nokia.com

/** Email created from pull request 499 (matiaselo:dev/dpdk_dev_config)
 ** https://github.com/Linaro/odp/pull/499
 ** Patch: https://github.com/Linaro/odp/pull/499.patch
 ** Base sha: 5a58bbf2bb331fd7dde2ebbc0430634ace6900fb
 ** Merge commit sha: ab13bcecea3972b5af189e9e5d6d4873790fb554

WARNING: 'intead' may be misspelled - perhaps 'instead'?
is not set, hardcoded default values are used intead. An example

WARNING: externs should be avoided in .c files
#394: FILE: platform/linux-generic/odp_libconfig.c:16:
+extern struct odp_global_data_s odp_global_data;

CHECK: Avoid CamelCase: <PRIu16>
#503: FILE: platform/linux-generic/pktio/dpdk.c:141:
+       printf("DPDK interface (%s): %" PRIu16 "\n", dev_info->driver_name,

total: 0 errors, 2 warnings, 1 checks, 420 lines checked

to_send-p-000.patch has style problems, please review.

If any of these errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.

Reply via email to