From: Yahui Cao Date: Thu, 31 Oct 2019 13:05:38 +0000 (+0800) Subject: net/ice: remove GTPU tunnel support for inner L4 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=cc70e83dee91b11e3d9296e3b7dc310af2d6605f;p=dpdk.git net/ice: remove GTPU tunnel support for inner L4 The current code doesn't support L4 matching, it only supports L3 matching so remove the code for inner L4. Fixes: efc16c621415 ("net/ice: support flow director GTPU tunnel") Signed-off-by: Yahui Cao Acked-by: Xiaolong Ye --- diff --git a/drivers/net/ice/ice_fdir_filter.c b/drivers/net/ice/ice_fdir_filter.c index 9389b1f023..fbbc41ff03 100644 --- a/drivers/net/ice/ice_fdir_filter.c +++ b/drivers/net/ice/ice_fdir_filter.c @@ -66,15 +66,6 @@ #define ICE_FDIR_INSET_GTPU_IPV4 (\ ICE_INSET_GTPU_TEID | ICE_INSET_GTPU_QFI) -#define ICE_FDIR_INSET_GTPU_IPV4_TCP (\ - ICE_FDIR_INSET_GTPU_IPV4) - -#define ICE_FDIR_INSET_GTPU_IPV4_UDP (\ - ICE_FDIR_INSET_GTPU_IPV4) - -#define ICE_FDIR_INSET_GTPU_IPV4_UDP (\ - ICE_FDIR_INSET_GTPU_IPV4) - static struct ice_pattern_match_item ice_fdir_pattern_os[] = { {pattern_eth_ipv4, ICE_FDIR_INSET_ETH_IPV4, ICE_INSET_NONE}, {pattern_eth_ipv4_udp, ICE_FDIR_INSET_ETH_IPV4_UDP, ICE_INSET_NONE}, @@ -128,10 +119,6 @@ static struct ice_pattern_match_item ice_fdir_pattern_comms[] = { {pattern_eth_ipv4_udp_vxlan_eth_ipv4_sctp, ICE_FDIR_INSET_VXLAN_IPV4_SCTP, ICE_INSET_NONE}, {pattern_eth_ipv4_gtpu_ipv4, ICE_FDIR_INSET_GTPU_IPV4, ICE_INSET_NONE}, - {pattern_eth_ipv4_gtpu_ipv4_tcp, - ICE_FDIR_INSET_GTPU_IPV4, ICE_INSET_NONE}, - {pattern_eth_ipv4_gtpu_ipv4_udp, - ICE_FDIR_INSET_GTPU_IPV4, ICE_INSET_NONE}, }; static struct ice_flow_parser ice_fdir_parser_os;