summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/Makefile
diff options
context:
space:
mode:
authorPatrice Buriez <patrice.buriez@intel.com>2017-10-27 12:43:09 +0200
committerPatrice Buriez <patrice.buriez@intel.com>2017-10-27 12:43:09 +0200
commit98010b53d1964451ec6d9cd0f1eeea10d5c8a5e4 (patch)
treea28a0607be4936014c4e4cbc8a2e4232f09cbdd6 /VNFs/DPPD-PROX/Makefile
parent504e70cbb19a3e65b1704ee085cd079d26cf16f8 (diff)
Rework handle_esp.c (proto, DPDK<17.08, cleanup)
- Adjust handle functions to PROX-v035+ prototype, returning 0 when all packets have been handled. - Because cryptodev API was modified in DPDK 17.08, many changes would be necessary to support it. For the moment, just exclude handle_esp.c from PROX build when using DPDK 17.08+, which will be supported later. - Cleanup: - consistent use of PROX_PANIC to cleanly fail on errors - consistent use of OUT_DISCARD to drop unhandled packets - remove "__attribute__((unused))" when parameter is actually used - remove unused defines, fields and variables Change-Id: I10d84fa184a866b4a5f87272875612aace5dd5b1 Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
Diffstat (limited to 'VNFs/DPPD-PROX/Makefile')
-rw-r--r--VNFs/DPPD-PROX/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/VNFs/DPPD-PROX/Makefile b/VNFs/DPPD-PROX/Makefile
index e9a4211b..13fba342 100644
--- a/VNFs/DPPD-PROX/Makefile
+++ b/VNFs/DPPD-PROX/Makefile
@@ -161,7 +161,9 @@ SRCS-y += handle_mirror.c
SRCS-y += handle_genl4.c
SRCS-y += handle_ipv6_tunnel.c
SRCS-y += handle_read.c
+ifeq ($(call rte_ver_LT,17,8,0,0),y)
SRCS-$(call rte_ver_GE,17,2,0,16) += handle_esp.c
+endif
SRCS-y += handle_cgnat.c
SRCS-y += handle_nat.c
SRCS-y += handle_dump.c