net/rte_pmd_i40e: remove duplicate check

Message ID 20200801015752.15397-1-gaurav1086@gmail.com (mailing list archive)
State Accepted, archived
Delegated to: Qi Zhang
Headers
Series net/rte_pmd_i40e: remove duplicate check |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/iol-intel-Performance success Performance Testing PASS
ci/Intel-compilation success Compilation OK
ci/iol-testing success Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS
ci/travis-robot success Travis build: passed

Commit Message

Gaurav Singh Aug. 1, 2020, 1:57 a.m. UTC
  remove duplicate check

Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>
---
 drivers/net/i40e/rte_pmd_i40e.c | 1 -
 1 file changed, 1 deletion(-)
  

Comments

Ferruh Yigit Aug. 4, 2020, 10:53 a.m. UTC | #1
On 8/1/2020 2:57 AM, Gaurav Singh wrote:
> remove duplicate check
> 
> Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>

Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
  
Thomas Monjalon Aug. 5, 2020, 4:52 p.m. UTC | #2
04/08/2020 12:53, Ferruh Yigit:
> On 8/1/2020 2:57 AM, Gaurav Singh wrote:
> > remove duplicate check
> > 
> > Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>
> 
> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>


Fixes: 62e94f7f66fb ("net/i40e: configure packet type mapping")
Cc: stable@dpdk.org

Applied
  

Patch

diff --git a/drivers/net/i40e/rte_pmd_i40e.c b/drivers/net/i40e/rte_pmd_i40e.c
index e216e6783..17938e7d3 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 &&