summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/handle_nsh.c
diff options
context:
space:
mode:
authorXavier Simonart <xavier.simonart@intel.com>2020-01-31 18:20:15 +0100
committerPatrice Buriez <patrice.buriez@intel.com>2020-04-20 18:34:21 +0000
commitb4274493514c4467dbc6812afff30bcfe43407a5 (patch)
treebbedc60034da8aa7f920809158200881fbd9aa3b /VNFs/DPPD-PROX/handle_nsh.c
parenta9f2cbbc2d12d6c767341e675adc5921c39c21a9 (diff)
Added support for DPDK 19.11
Change-Id: I58fa7a0ab7aaa27e9f9383f7995bb71bf0952618 Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
Diffstat (limited to 'VNFs/DPPD-PROX/handle_nsh.c')
-rw-r--r--VNFs/DPPD-PROX/handle_nsh.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/VNFs/DPPD-PROX/handle_nsh.c b/VNFs/DPPD-PROX/handle_nsh.c
index c9474255..6d67f99d 100644
--- a/VNFs/DPPD-PROX/handle_nsh.c
+++ b/VNFs/DPPD-PROX/handle_nsh.c
@@ -18,6 +18,10 @@
#include <rte_ether.h>
#include <rte_ip.h>
#include <rte_udp.h>
+#include <rte_version.h>
+#if RTE_VERSION >= RTE_VERSION_NUM(19,11,0,0)
+#include <rte_vxlan.h>
+#endif
#include "vxlangpe_nsh.h"
#include "task_base.h"