From: Gaurav Singh Date: Sat, 1 Aug 2020 01:57:52 +0000 (-0400) Subject: net/i40e: remove duplicate tunnel type check X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=8716f9942a408a79a114ac0496e4e7d55bc9944c;p=dpdk.git net/i40e: remove duplicate tunnel type check remove duplicate check Fixes: 62e94f7f66fb ("net/i40e: configure packet type mapping") Cc: stable@dpdk.org Signed-off-by: Gaurav Singh Acked-by: Ferruh Yigit --- diff --git a/drivers/net/i40e/rte_pmd_i40e.c b/drivers/net/i40e/rte_pmd_i40e.c index e216e67831..17938e7d30 100644 --- a/drivers/net/i40e/rte_pmd_i40e.c +++ b/drivers/net/i40e/rte_pmd_i40e.c @@ -2169,7 +2169,6 @@ static int check_invalid_pkt_type(uint32_t pkt_type) tnl != RTE_PTYPE_TUNNEL_VXLAN && tnl != RTE_PTYPE_TUNNEL_NVGRE && tnl != RTE_PTYPE_TUNNEL_GENEVE && - tnl != RTE_PTYPE_TUNNEL_GRENAT && tnl != RTE_PTYPE_TUNNEL_GTPC && tnl != RTE_PTYPE_TUNNEL_GTPU && tnl != RTE_PTYPE_TUNNEL_L2TP &&