Branch: refs/heads/master
  Commit: 534667daec58ce8b2e417709e788934bea6f8f09
  Author: Matias Elo <>
  Date:   2018-03-06 (Tue, 06 Mar 2018)

  Changed paths:
    M .travis.yml
    M config/README
    A config/odp-linux-generic.conf
    A m4/odp_libconfig.m4
    M platform/
    M platform/linux-generic/.gitignore
    M platform/linux-generic/
    M platform/linux-generic/include/odp_internal.h
    A platform/linux-generic/include/odp_libconfig_internal.h
    M platform/linux-generic/include/odp_packet_dpdk.h
    M platform/linux-generic/
    M platform/linux-generic/m4/configure.m4
    M platform/linux-generic/odp_init.c
    A platform/linux-generic/odp_libconfig.c
    M platform/linux-generic/pktio/dpdk.c
    M platform/linux-generic/test/ring/

  Log Message:
  linux-gen: add runtime configuration file

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 instead. An template
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 <>
Reviewed-by: Dmitry Eremin-Solenikov <>
Reviewed-by: Bill Fischofer <>
Signed-off-by: Maxim Uvarov <>

Reply via email to