[dpdk-dev] [pktgen PATCH 6/6] fix build with dpdk-17.08-rc2
Thomas Monjalon
thomas at monjalon.net
Wed Jul 26 00:21:07 CEST 2017
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 at monjalon.net>
---
lib/common/port_config.c | 8 --------
1 file changed, 8 deletions(-)
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.
--
2.13.2
More information about the dev
mailing list