* [dpdk-dev] [PATCH] tap: remove unused KERNEL_VERSION definitions
@ 2017-12-27 18:08 Stephen Hemminger
0 siblings, 0 replies; only message in thread
From: Stephen Hemminger @ 2017-12-27 18:08 UTC (permalink / raw)
To: dev; +Cc: Pascal Mazon, Stephen Hemminger, Stephen Hemminger
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@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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-12-27 18:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-27 18:08 [dpdk-dev] [PATCH] tap: remove unused KERNEL_VERSION definitions Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).