[PATCH 5/7] net/ice: fix GTP-U failure due to wrong tunnel profile

Shaiq Wani shaiq.wani at intel.com
Mon Apr 27 04:31:13 CEST 2026


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 <shaiq.wani at intel.com>
---
 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



More information about the dev mailing list