From: Bernard Iremonger Date: Thu, 16 Jan 2020 12:44:51 +0000 (+0000) Subject: net/i40e: handle ESP tunnel X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=202890c9d49919f392b01277091d78820b2bf245;p=dpdk.git net/i40e: handle ESP tunnel handle ESP tunnel in rte_pmd_i40e.c Signed-off-by: Bernard Iremonger Acked-by: Qi Zhang --- 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 &&