[dpdk-dev,pktgen,6/6] fix build with dpdk-17.08-rc2

Message ID 20170725222107.23203-7-thomas@monjalon.net (mailing list archive)
State Not Applicable, archived
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation fail apply patch file failure

Commit Message

Thomas Monjalon July 25, 2017, 10:21 p.m. UTC
  The DEVTYPE API was changed in dpdk-17.08-rc1 and was reverted
in dpdk-17.08-rc2.

Fixes: 5653601bd0f5 ("fix changes for DPDK 17.08")

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
---
 lib/common/port_config.c | 8 --------
 1 file changed, 8 deletions(-)
  

Patch

diff --git a/lib/common/port_config.c b/lib/common/port_config.c
index c3b427a..94c21f7 100644
--- a/lib/common/port_config.c
+++ b/lib/common/port_config.c
@@ -161,14 +161,6 @@  free_portdesc(uint8_t **portdesc, uint32_t num)
 	}
 }
 
-#ifndef RTE_DEVTYPE_BLACKLISTED_PCI
-#define RTE_DEVTYPE_BLACKLISTED_PCI RTE_DEVTYPE_BLACKLISTED
-#endif
-
-#ifndef RTE_DEVTYPE_WHITELISTED_PCI
-#define RTE_DEVTYPE_WHITELISTED_PCI RTE_DEVTYPE_WHITELISTED
-#endif
-
 /**************************************************************************//**
  *
  * create_blacklist - Create a port blacklist.