Remove GTP-U tunnel types from ice_fdir_is_tunnel_profile().
GTP-U uses a non-tunnel profile path and should not be marked
as tunnel, which causes training packet generation to fail.

Fixes: 733640dae75e ("net/ice: support L2TPv2 flow pattern matching")
Signed-off-by: Shaiq Wani <[email protected]>
---
 drivers/net/intel/ice/ice_fdir_filter.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/net/intel/ice/ice_fdir_filter.c 
b/drivers/net/intel/ice/ice_fdir_filter.c
index c2fd07e527..0531208066 100644
--- a/drivers/net/intel/ice/ice_fdir_filter.c
+++ b/drivers/net/intel/ice/ice_fdir_filter.c
@@ -1393,9 +1393,7 @@ static int
 ice_fdir_is_tunnel_profile(enum ice_fdir_tunnel_type tunnel_type)
 {
        if (tunnel_type == ICE_FDIR_TUNNEL_TYPE_VXLAN ||
-           tunnel_type == ICE_FDIR_TUNNEL_TYPE_L2TPV2 ||
-           tunnel_type == ICE_FDIR_TUNNEL_TYPE_GTPU ||
-           tunnel_type == ICE_FDIR_TUNNEL_TYPE_GTPU_EH)
+           tunnel_type == ICE_FDIR_TUNNEL_TYPE_L2TPV2)
                return 1;
        else
                return 0;
-- 
2.43.0

Reply via email to