net/i40e: remove duplicate tunnel type check
authorGaurav Singh <gaurav1086@gmail.com>
Sat, 1 Aug 2020 01:57:52 +0000 (21:57 -0400)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 5 Aug 2020 16:52:15 +0000 (18:52 +0200)
remove duplicate check

Fixes: 62e94f7f66fb ("net/i40e: configure packet type mapping")
Cc: stable@dpdk.org
Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/i40e/rte_pmd_i40e.c

index e216e67..17938e7 100644 (file)
@@ -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 &&