[dpdk-dev] [PATCH] tap: remove unused KERNEL_VERSION definitions
Stephen Hemminger
stephen at networkplumber.org
Wed Dec 27 19:08:09 CET 2017
The TAP device does not use these definitions in current version.
And kernel version is not the correct way to detect features.
Signed-off-by: Stephen Hemminger <sthemmin at microsoft.com>
---
drivers/net/tap/rte_eth_tap.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c
index 6b27679a8ea3..11e8c9fd39d8 100644
--- a/drivers/net/tap/rte_eth_tap.c
+++ b/drivers/net/tap/rte_eth_tap.c
@@ -78,9 +78,6 @@
#define ETH_TAP_MAC_ARG "mac"
#define ETH_TAP_MAC_FIXED "fixed"
-#define FLOWER_KERNEL_VERSION KERNEL_VERSION(4, 2, 0)
-#define FLOWER_VLAN_KERNEL_VERSION KERNEL_VERSION(4, 9, 0)
-
static struct rte_vdev_driver pmd_tap_drv;
static const char *valid_arguments[] = {
--
2.11.0
More information about the dev
mailing list