dpdk: fix dpdk runtime config file path
authorKevin Laatz <kevin.laatz@intel.com>
Tue, 11 Sep 2018 10:01:27 +0000 (11:01 +0100)
committerKevin Laatz <kevin.laatz@intel.com>
Tue, 11 Sep 2018 10:11:19 +0000 (11:11 +0100)
commitf886e7d2a3abbbed38e1f13e2441b4c40e6a112c
tree78c84594fb6341e846c3fd996e77549961cab039
parent209492515b93532ac800deb6ceaa2c661896b986
dpdk: fix dpdk runtime config file path

The config path was changed in DPDK by the commit 'adf1d86  eal: move
runtime config file to new location’. As a result, the dpdk plugins won't
be able to link to the DPDK primary application after this change.

This commit adds a compile time check for the DPDK verison being used and
sets the DPDK runtime config file location accordingly.

Suggested-by: Michael Luo <michael.luo@intel.com>
Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
src/utils_dpdk.c