aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohammad Abdul Awal <mohammad.abdul.awal@intel.com>2016-11-15 08:52:32 +0000
committerMohammad Abdul Awal <mohammad.abdul.awal@intel.com>2016-11-15 08:56:02 +0000
commitaf7f90313b4f97cdfa401615b99beb2aeaa67f96 (patch)
tree8a5c1249496d2a535d5349369877c74f50e17b13
parent911f9da35d29ffde995e9ed81700d6abfff608af (diff)
fix dpdk version checking
Change-Id: Ic6fda3f3416a5a4ed6df29a3778ddea3ae87b40d Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com>
-rw-r--r--examples/udpfwd/dpdk_version.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/udpfwd/dpdk_version.h b/examples/udpfwd/dpdk_version.h
index 1d2f837..4f6bdfb 100644
--- a/examples/udpfwd/dpdk_version.h
+++ b/examples/udpfwd/dpdk_version.h
@@ -23,7 +23,7 @@
#define DPDK_VERSION_GE_1604
#endif
#elif defined(RTE_VER_YEAR)
-#if RTE_VER_YEAR >= 16 && RTE_VER_MONTH >= 4
+#if RTE_VERSION >= RTE_VERSION_NUM(16,4,0,0)
#define DPDK_VERSION_GE_1604
#endif
#else