From 202890c9d49919f392b01277091d78820b2bf245 Mon Sep 17 00:00:00 2001 From: Bernard Iremonger Date: Thu, 16 Jan 2020 12:44:51 +0000 Subject: [PATCH] net/i40e: handle ESP tunnel handle ESP tunnel in rte_pmd_i40e.c Signed-off-by: Bernard Iremonger Acked-by: Qi Zhang --- drivers/net/i40e/rte_pmd_i40e.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/i40e/rte_pmd_i40e.c b/drivers/net/i40e/rte_pmd_i40e.c index b64f55341d..446e31710c 100644 --- a/drivers/net/i40e/rte_pmd_i40e.c +++ b/drivers/net/i40e/rte_pmd_i40e.c @@ -2172,7 +2172,8 @@ static int check_invalid_pkt_type(uint32_t pkt_type) tnl != RTE_PTYPE_TUNNEL_GRENAT && tnl != RTE_PTYPE_TUNNEL_GTPC && tnl != RTE_PTYPE_TUNNEL_GTPU && - tnl != RTE_PTYPE_TUNNEL_L2TP) + tnl != RTE_PTYPE_TUNNEL_L2TP && + tnl != RTE_PTYPE_TUNNEL_ESP) return -1; if (il2 && -- 2.20.1