Add support for DPDK 17.11
[samplevnf.git] / VNFs / DPPD-PROX / prox_port_cfg.h
index 1761618..455e2b2 100644 (file)
 #ifndef _PROX_PORT_CFG_H
 #define _PROX_PORT_CFG_H
 
+#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"