summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/prox_port_cfg.h
diff options
context:
space:
mode:
authorXavier Simonart <xavier.simonart@intel.com>2018-01-04 14:35:57 +0100
committerXavier Simonart <xavier.simonart@intel.com>2018-01-04 14:37:56 +0100
commit972dac6999c939a3b1f70d69f81082d8cabd04c7 (patch)
tree1cf056c902771ebbb8ddbbc0f021b3662b72708b /VNFs/DPPD-PROX/prox_port_cfg.h
parent25ffc7091ffe7069e6b4aeed9a5a69aa034c58f9 (diff)
Add support for DPDK 17.11
Change-Id: I5611ead4b61b23d6c1c983852e8c75619e08ecf9 Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
Diffstat (limited to 'VNFs/DPPD-PROX/prox_port_cfg.h')
-rw-r--r--VNFs/DPPD-PROX/prox_port_cfg.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/VNFs/DPPD-PROX/prox_port_cfg.h b/VNFs/DPPD-PROX/prox_port_cfg.h
index 370b0456..455e2b2e 100644
--- a/VNFs/DPPD-PROX/prox_port_cfg.h
+++ b/VNFs/DPPD-PROX/prox_port_cfg.h
@@ -20,6 +20,11 @@
#include <rte_pci.h>
#include <rte_ether.h>
#include <rte_ethdev.h>
+#include <rte_version.h>
+#if RTE_VERSION >= RTE_VERSION_NUM(17,11,0,0)
+#include <rte_bus_pci.h>
+#endif
+#include <rte_pci.h>
#include "prox_globals.h"