From patchwork Fri Jul 24 04:07:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Guo, Jia" X-Patchwork-Id: 74706 X-Patchwork-Delegate: qi.z.zhang@intel.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 65CE0A0518; Fri, 24 Jul 2020 06:10:05 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 94DA31D5F5; Fri, 24 Jul 2020 06:10:04 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 4E9351D5F2 for ; Fri, 24 Jul 2020 06:10:03 +0200 (CEST) IronPort-SDR: QzvIPcFyL22sToVwakPxudZST3WPE5TuYPyt13XeIOBJdFvvJnpUu8C5llCzFPM0NEDn9azUVt +h9nxrp3F56g== X-IronPort-AV: E=McAfee;i="6000,8403,9691"; a="168787860" X-IronPort-AV: E=Sophos;i="5.75,389,1589266800"; d="scan'208";a="168787860" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jul 2020 21:10:02 -0700 IronPort-SDR: NPDAPU+9PjY8AJ9Lyt0ZAweyjSg8XKz9lDKk2Izqf+nRr3wEfgLJCXrZtTqrUAvd8aOyc13+OB hg1MzZ4aLLqg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,389,1589266800"; d="scan'208";a="489071571" Received: from npg-dpdk-cvl-jeffguo-01.sh.intel.com ([10.67.111.128]) by fmsmga005.fm.intel.com with ESMTP; 23 Jul 2020 21:10:00 -0700 From: Jeff Guo To: qi.z.zhang@intel.com, beilei.xing@intel.com, jingjing.wu@intel.com Cc: dev@dpdk.org, junfeng.guo@intel.com, simei.su@intel.com, jia.guo@intel.com Date: Fri, 24 Jul 2020 12:07:02 +0800 Message-Id: <20200724040702.9887-1-jia.guo@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [dpdk-dev] [dpdk-dev v1] net/iavf: delete unsupported rss types X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The combined hash type should be bound with prefix protocol when configure it, so delete some useless and unsupported part for rss types mapping. Signed-off-by: Jeff Guo Acked-by: Qi Zhang --- drivers/net/iavf/iavf_hash.c | 352 ----------------------------------- 1 file changed, 352 deletions(-) diff --git a/drivers/net/iavf/iavf_hash.c b/drivers/net/iavf/iavf_hash.c index 8c7f13b01..53fe1133e 100644 --- a/drivers/net/iavf/iavf_hash.c +++ b/drivers/net/iavf/iavf_hash.c @@ -2007,10 +2007,6 @@ struct iavf_hash_match_type iavf_hash_map_list[] = { &hdrs_hint_eth_dst_ipv4, IAVF_PHINT_IPV4}, {ETH_RSS_ETH, &hdrs_hint_eth_ipv4, IAVF_PHINT_IPV4}, - {ETH_RSS_L3_SRC_ONLY, - &hdrs_hint_ipv4_src, IAVF_PHINT_IPV4}, - {ETH_RSS_L3_DST_ONLY, - &hdrs_hint_ipv4_dst, IAVF_PHINT_IPV4}, {ETH_RSS_IPV4 | ETH_RSS_L3_SRC_ONLY, &hdrs_hint_ipv4_src, IAVF_PHINT_IPV4}, {ETH_RSS_IPV4 | ETH_RSS_L3_DST_ONLY, @@ -2046,18 +2042,6 @@ struct iavf_hash_match_type iavf_hash_map_list[] = { &hdrs_hint_eth_dst_ipv4_udp, IAVF_PHINT_IPV4_UDP}, {ETH_RSS_ETH, &hdrs_hint_eth_ipv4_udp, IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_src_udp_src_port, IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_src_udp_dst_port, IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L3_SRC_ONLY, - &hdrs_hint_ipv4_src_udp, IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_dst_udp_src_port, IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_dst_udp_dst_port, IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L3_DST_ONLY, - &hdrs_hint_ipv4_dst_udp, IAVF_PHINT_IPV4_UDP}, {ETH_RSS_NONFRAG_IPV4_UDP | ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY, &hdrs_hint_ipv4_src_udp_src_port, IAVF_PHINT_IPV4_UDP}, @@ -2076,10 +2060,6 @@ struct iavf_hash_match_type iavf_hash_map_list[] = { {ETH_RSS_NONFRAG_IPV4_UDP | ETH_RSS_L3_DST_ONLY, &hdrs_hint_ipv4_dst_udp, IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_udp_src_port, IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_udp_dst_port, IAVF_PHINT_IPV4_UDP}, {ETH_RSS_NONFRAG_IPV4_UDP | ETH_RSS_L4_SRC_ONLY, &hdrs_hint_ipv4_udp_src_port, IAVF_PHINT_IPV4_UDP}, {ETH_RSS_NONFRAG_IPV4_UDP | ETH_RSS_L4_DST_ONLY, @@ -2097,18 +2077,6 @@ struct iavf_hash_match_type iavf_hash_map_list[] = { &hdrs_hint_eth_dst_ipv4_tcp, IAVF_PHINT_IPV4_TCP}, {ETH_RSS_ETH, &hdrs_hint_eth_ipv4_tcp, IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_src_tcp_src_port, IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_src_tcp_dst_port, IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L3_SRC_ONLY, - &hdrs_hint_ipv4_src_tcp, IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_dst_tcp_src_port, IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_dst_tcp_dst_port, IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L3_DST_ONLY, - &hdrs_hint_ipv4_dst_tcp, IAVF_PHINT_IPV4_TCP}, {ETH_RSS_NONFRAG_IPV4_TCP | ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY, &hdrs_hint_ipv4_src_tcp_src_port, IAVF_PHINT_IPV4_TCP}, @@ -2127,10 +2095,6 @@ struct iavf_hash_match_type iavf_hash_map_list[] = { {ETH_RSS_NONFRAG_IPV4_TCP | ETH_RSS_L3_DST_ONLY, &hdrs_hint_ipv4_dst_tcp, IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_tcp_src_port, IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_tcp_dst_port, IAVF_PHINT_IPV4_TCP}, {ETH_RSS_NONFRAG_IPV4_TCP | ETH_RSS_L4_SRC_ONLY, &hdrs_hint_ipv4_tcp_src_port, IAVF_PHINT_IPV4_TCP}, {ETH_RSS_NONFRAG_IPV4_TCP | ETH_RSS_L4_DST_ONLY, @@ -2144,18 +2108,6 @@ struct iavf_hash_match_type iavf_hash_map_list[] = { &hdrs_hint_eth_dst_ipv4_sctp, IAVF_PHINT_IPV4_SCTP}, {ETH_RSS_ETH, &hdrs_hint_eth_ipv4_sctp, IAVF_PHINT_IPV4_SCTP}, - {ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_src_sctp_src_port, IAVF_PHINT_IPV4_SCTP}, - {ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_src_sctp_dst_port, IAVF_PHINT_IPV4_SCTP}, - {ETH_RSS_L3_SRC_ONLY, - &hdrs_hint_ipv4_src_sctp, IAVF_PHINT_IPV4_SCTP}, - {ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_dst_sctp_src_port, IAVF_PHINT_IPV4_SCTP}, - {ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_dst_sctp_dst_port, IAVF_PHINT_IPV4_SCTP}, - {ETH_RSS_L3_DST_ONLY, - &hdrs_hint_ipv4_dst_sctp, IAVF_PHINT_IPV4_SCTP}, {ETH_RSS_NONFRAG_IPV4_SCTP | ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY, &hdrs_hint_ipv4_src_sctp_src_port, IAVF_PHINT_IPV4_SCTP}, @@ -2174,10 +2126,6 @@ struct iavf_hash_match_type iavf_hash_map_list[] = { {ETH_RSS_NONFRAG_IPV4_SCTP | ETH_RSS_L3_DST_ONLY, &hdrs_hint_ipv4_dst_sctp, IAVF_PHINT_IPV4_SCTP}, - {ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_sctp_src_port, IAVF_PHINT_IPV4_SCTP}, - {ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_sctp_dst_port, IAVF_PHINT_IPV4_SCTP}, {ETH_RSS_NONFRAG_IPV4_SCTP | ETH_RSS_L4_SRC_ONLY, &hdrs_hint_ipv4_sctp_src_port, IAVF_PHINT_IPV4_SCTP}, {ETH_RSS_NONFRAG_IPV4_SCTP | ETH_RSS_L4_DST_ONLY, @@ -2191,10 +2139,6 @@ struct iavf_hash_match_type iavf_hash_map_list[] = { &hdrs_hint_eth_dst_ipv6, IAVF_PHINT_IPV6}, {ETH_RSS_ETH, &hdrs_hint_eth_ipv6, IAVF_PHINT_IPV6}, - {ETH_RSS_L3_SRC_ONLY, - &hdrs_hint_ipv6_src, IAVF_PHINT_IPV6}, - {ETH_RSS_L3_DST_ONLY, - &hdrs_hint_ipv6_dst, IAVF_PHINT_IPV6}, {ETH_RSS_IPV6 | ETH_RSS_L3_SRC_ONLY, &hdrs_hint_ipv6_src, IAVF_PHINT_IPV6}, {ETH_RSS_IPV6 | ETH_RSS_L3_DST_ONLY, @@ -2214,18 +2158,6 @@ struct iavf_hash_match_type iavf_hash_map_list[] = { &hdrs_hint_eth_dst_ipv6_udp, IAVF_PHINT_IPV6_UDP}, {ETH_RSS_ETH, &hdrs_hint_eth_ipv6_udp, IAVF_PHINT_IPV6_UDP}, - {ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv6_src_udp_src_port, IAVF_PHINT_IPV6_UDP}, - {ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv6_src_udp_dst_port, IAVF_PHINT_IPV6_UDP}, - {ETH_RSS_L3_SRC_ONLY, - &hdrs_hint_ipv6_src_udp, IAVF_PHINT_IPV6_UDP}, - {ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv6_dst_udp_src_port, IAVF_PHINT_IPV6_UDP}, - {ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv6_dst_udp_dst_port, IAVF_PHINT_IPV6_UDP}, - {ETH_RSS_L3_DST_ONLY, - &hdrs_hint_ipv6_dst_udp, IAVF_PHINT_IPV6_UDP}, {ETH_RSS_NONFRAG_IPV6_UDP | ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY, &hdrs_hint_ipv6_src_udp_src_port, IAVF_PHINT_IPV6_UDP}, @@ -2244,10 +2176,6 @@ struct iavf_hash_match_type iavf_hash_map_list[] = { {ETH_RSS_NONFRAG_IPV6_UDP | ETH_RSS_L3_DST_ONLY, &hdrs_hint_ipv6_dst_udp, IAVF_PHINT_IPV6_UDP}, - {ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv6_udp_src_port, IAVF_PHINT_IPV6_UDP}, - {ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv6_udp_dst_port, IAVF_PHINT_IPV6_UDP}, {ETH_RSS_NONFRAG_IPV6_UDP | ETH_RSS_L4_SRC_ONLY, &hdrs_hint_ipv6_udp_src_port, IAVF_PHINT_IPV6_UDP}, {ETH_RSS_NONFRAG_IPV6_UDP | ETH_RSS_L4_DST_ONLY, @@ -2265,18 +2193,6 @@ struct iavf_hash_match_type iavf_hash_map_list[] = { &hdrs_hint_eth_dst_ipv6_tcp, IAVF_PHINT_IPV6_TCP}, {ETH_RSS_ETH, &hdrs_hint_eth_ipv6_tcp, IAVF_PHINT_IPV6_TCP}, - {ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv6_src_tcp_src_port, IAVF_PHINT_IPV6_TCP}, - {ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv6_src_tcp_dst_port, IAVF_PHINT_IPV6_TCP}, - {ETH_RSS_L3_SRC_ONLY, - &hdrs_hint_ipv6_src_tcp, IAVF_PHINT_IPV6_TCP}, - {ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv6_dst_tcp_src_port, IAVF_PHINT_IPV6_TCP}, - {ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv6_dst_tcp_dst_port, IAVF_PHINT_IPV6_TCP}, - {ETH_RSS_L3_DST_ONLY, - &hdrs_hint_ipv6_dst_tcp, IAVF_PHINT_IPV6_TCP}, {ETH_RSS_NONFRAG_IPV6_TCP | ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY, &hdrs_hint_ipv6_src_tcp_src_port, IAVF_PHINT_IPV6_TCP}, @@ -2295,10 +2211,6 @@ struct iavf_hash_match_type iavf_hash_map_list[] = { {ETH_RSS_NONFRAG_IPV6_TCP | ETH_RSS_L3_DST_ONLY, &hdrs_hint_ipv6_dst_tcp, IAVF_PHINT_IPV6_TCP}, - {ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv6_tcp_src_port, IAVF_PHINT_IPV6_TCP}, - {ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv6_tcp_dst_port, IAVF_PHINT_IPV6_TCP}, {ETH_RSS_NONFRAG_IPV6_TCP | ETH_RSS_L4_SRC_ONLY, &hdrs_hint_ipv6_tcp_src_port, IAVF_PHINT_IPV6_TCP}, {ETH_RSS_NONFRAG_IPV6_TCP | ETH_RSS_L4_DST_ONLY, @@ -2312,18 +2224,6 @@ struct iavf_hash_match_type iavf_hash_map_list[] = { &hdrs_hint_eth_dst_ipv6_sctp, IAVF_PHINT_IPV6_SCTP}, {ETH_RSS_ETH, &hdrs_hint_eth_ipv6_sctp, IAVF_PHINT_IPV6_SCTP}, - {ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv6_src_sctp_src_port, IAVF_PHINT_IPV6_SCTP}, - {ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv6_src_sctp_dst_port, IAVF_PHINT_IPV6_SCTP}, - {ETH_RSS_L3_SRC_ONLY, - &hdrs_hint_ipv6_src_sctp, IAVF_PHINT_IPV6_SCTP}, - {ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv6_dst_sctp_src_port, IAVF_PHINT_IPV6_SCTP}, - {ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv6_dst_sctp_dst_port, IAVF_PHINT_IPV6_SCTP}, - {ETH_RSS_L3_DST_ONLY, - &hdrs_hint_ipv6_dst_sctp, IAVF_PHINT_IPV6_SCTP}, {ETH_RSS_NONFRAG_IPV6_SCTP | ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY, &hdrs_hint_ipv6_src_sctp_src_port, IAVF_PHINT_IPV6_SCTP}, @@ -2342,10 +2242,6 @@ struct iavf_hash_match_type iavf_hash_map_list[] = { {ETH_RSS_NONFRAG_IPV6_SCTP | ETH_RSS_L3_DST_ONLY, &hdrs_hint_ipv6_dst_sctp, IAVF_PHINT_IPV6_SCTP}, - {ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv6_sctp_src_port, IAVF_PHINT_IPV6_SCTP}, - {ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv6_sctp_dst_port, IAVF_PHINT_IPV6_SCTP}, {ETH_RSS_NONFRAG_IPV6_SCTP | ETH_RSS_L4_SRC_ONLY, &hdrs_hint_ipv6_sctp_src_port, IAVF_PHINT_IPV6_SCTP}, {ETH_RSS_NONFRAG_IPV6_SCTP | ETH_RSS_L4_DST_ONLY, @@ -2374,12 +2270,6 @@ struct iavf_hash_match_type iavf_gtpu_hash_map_list[] = { /* GTPU */ /* GTPU IP */ /* IPv4 GTPU IP IPv4*/ - {ETH_RSS_L3_SRC_ONLY, - &hdrs_hint_ipv4_src_gtpu_ip, - IAVF_PHINT_IPV4_GTPU_IP | IAVF_PHINT_IPV4}, - {ETH_RSS_L3_DST_ONLY, - &hdrs_hint_ipv4_dst_gtpu_ip, - IAVF_PHINT_IPV4_GTPU_IP | IAVF_PHINT_IPV4}, {ETH_RSS_IPV4 | ETH_RSS_L3_SRC_ONLY, &hdrs_hint_ipv4_src_gtpu_ip, @@ -2440,34 +2330,6 @@ struct iavf_hash_match_type iavf_gtpu_hash_map_list[] = { &hdrs_hint_teid_gtpu_ip, IAVF_PHINT_IPV6_GTPU_IP | IAVF_PHINT_IPV6}, /* IPv4 GTPU IP IPv4 UDP */ - {ETH_RSS_L3_SRC_ONLY | - ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_src_udp_src_gtpu_ip, - IAVF_PHINT_IPV4_GTPU_IP | IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L3_SRC_ONLY | - ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_src_udp_dst_gtpu_ip, - IAVF_PHINT_IPV4_GTPU_IP | IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L3_SRC_ONLY, - &hdrs_hint_ipv4_src_udp_gtpu_ip, - IAVF_PHINT_IPV4_GTPU_IP | IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_udp_src_gtpu_ip, - IAVF_PHINT_IPV4_GTPU_IP | IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L3_DST_ONLY | - ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_dst_udp_src_gtpu_ip, - IAVF_PHINT_IPV4_GTPU_IP | IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L3_DST_ONLY | - ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_dst_udp_dst_gtpu_ip, - IAVF_PHINT_IPV4_GTPU_IP | IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L3_DST_ONLY, - &hdrs_hint_ipv4_dst_udp_gtpu_ip, - IAVF_PHINT_IPV4_GTPU_IP | IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_udp_dst_gtpu_ip, - IAVF_PHINT_IPV4_GTPU_IP | IAVF_PHINT_IPV4_UDP}, {ETH_RSS_NONFRAG_IPV4_UDP | ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY, &hdrs_hint_ipv4_src_udp_src_gtpu_ip, @@ -2612,34 +2474,6 @@ struct iavf_hash_match_type iavf_gtpu_hash_map_list[] = { &hdrs_hint_ipv6_udp_gtpu_ip, IAVF_PHINT_IPV6_GTPU_IP | IAVF_PHINT_IPV6_UDP}, /* IPv4 GTPU IP IPv4 TCP */ - {ETH_RSS_L3_SRC_ONLY | - ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_src_tcp_src_gtpu_ip, - IAVF_PHINT_IPV4_GTPU_IP | IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L3_SRC_ONLY | - ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_src_tcp_dst_gtpu_ip, - IAVF_PHINT_IPV4_GTPU_IP | IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L3_SRC_ONLY, - &hdrs_hint_ipv4_src_tcp_gtpu_ip, - IAVF_PHINT_IPV4_GTPU_IP | IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_tcp_src_gtpu_ip, - IAVF_PHINT_IPV4_GTPU_IP | IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L3_DST_ONLY | - ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_dst_tcp_src_gtpu_ip, - IAVF_PHINT_IPV4_GTPU_IP | IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L3_DST_ONLY | - ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_dst_tcp_dst_gtpu_ip, - IAVF_PHINT_IPV4_GTPU_IP | IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L3_DST_ONLY, - &hdrs_hint_ipv4_dst_tcp_gtpu_ip, - IAVF_PHINT_IPV4_GTPU_IP | IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_tcp_dst_gtpu_ip, - IAVF_PHINT_IPV4_GTPU_IP | IAVF_PHINT_IPV4_TCP}, {ETH_RSS_NONFRAG_IPV4_TCP | ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY, &hdrs_hint_ipv4_src_tcp_src_gtpu_ip, @@ -2785,12 +2619,6 @@ struct iavf_hash_match_type iavf_gtpu_hash_map_list[] = { IAVF_PHINT_IPV6_GTPU_IP | IAVF_PHINT_IPV6_TCP}, /* GTPU EH */ /* IPv4 GTPU EH IPv4 */ - {ETH_RSS_L3_SRC_ONLY, - &hdrs_hint_ipv4_src_gtpu_eh, - IAVF_PHINT_IPV4_GTPU_EH | IAVF_PHINT_IPV4}, - {ETH_RSS_L3_DST_ONLY, - &hdrs_hint_ipv4_dst_gtpu_eh, - IAVF_PHINT_IPV4_GTPU_EH | IAVF_PHINT_IPV4}, {ETH_RSS_IPV4 | ETH_RSS_L3_SRC_ONLY, &hdrs_hint_ipv4_src_gtpu_eh, @@ -2839,34 +2667,6 @@ struct iavf_hash_match_type iavf_gtpu_hash_map_list[] = { &hdrs_hint_ipv6_gtpu_eh, IAVF_PHINT_IPV6_GTPU_EH | IAVF_PHINT_IPV6}, /* IPv4 GTPU EH IPv4 UDP */ - {ETH_RSS_L3_SRC_ONLY | - ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_src_udp_src_gtpu_eh, - IAVF_PHINT_IPV4_GTPU_EH | IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L3_SRC_ONLY | - ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_src_udp_dst_gtpu_eh, - IAVF_PHINT_IPV4_GTPU_EH | IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L3_SRC_ONLY, - &hdrs_hint_ipv4_src_udp_gtpu_eh, - IAVF_PHINT_IPV4_GTPU_EH | IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_udp_src_gtpu_eh, - IAVF_PHINT_IPV4_GTPU_EH | IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L3_DST_ONLY | - ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_dst_udp_src_gtpu_eh, - IAVF_PHINT_IPV4_GTPU_EH | IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L3_DST_ONLY | - ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_dst_udp_dst_gtpu_eh, - IAVF_PHINT_IPV4_GTPU_EH | IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L3_DST_ONLY, - &hdrs_hint_ipv4_dst_udp_gtpu_eh, - IAVF_PHINT_IPV4_GTPU_EH | IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_udp_dst_gtpu_eh, - IAVF_PHINT_IPV4_GTPU_EH | IAVF_PHINT_IPV4_UDP}, {ETH_RSS_NONFRAG_IPV4_UDP | ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY, &hdrs_hint_ipv4_src_udp_src_gtpu_eh, @@ -3011,34 +2811,6 @@ struct iavf_hash_match_type iavf_gtpu_hash_map_list[] = { &hdrs_hint_ipv6_udp_gtpu_eh, IAVF_PHINT_IPV6_GTPU_EH | IAVF_PHINT_IPV6_UDP}, /* IPv4 GTPU EH IPv4 TCP */ - {ETH_RSS_L3_SRC_ONLY | - ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_src_tcp_src_gtpu_eh, - IAVF_PHINT_IPV4_GTPU_EH | IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L3_SRC_ONLY | - ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_src_tcp_dst_gtpu_eh, - IAVF_PHINT_IPV4_GTPU_EH | IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L3_SRC_ONLY, - &hdrs_hint_ipv4_src_tcp_gtpu_eh, - IAVF_PHINT_IPV4_GTPU_EH | IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_tcp_src_gtpu_eh, - IAVF_PHINT_IPV4_GTPU_EH | IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L3_DST_ONLY | - ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_dst_tcp_src_gtpu_eh, - IAVF_PHINT_IPV4_GTPU_EH | IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L3_DST_ONLY | - ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_dst_tcp_dst_gtpu_eh, - IAVF_PHINT_IPV4_GTPU_EH | IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L3_DST_ONLY, - &hdrs_hint_ipv4_dst_tcp_gtpu_eh, - IAVF_PHINT_IPV4_GTPU_EH | IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_tcp_dst_gtpu_eh, - IAVF_PHINT_IPV4_GTPU_EH | IAVF_PHINT_IPV4_TCP}, {ETH_RSS_NONFRAG_IPV4_TCP | ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY, &hdrs_hint_ipv4_src_tcp_src_gtpu_eh, @@ -3184,12 +2956,6 @@ struct iavf_hash_match_type iavf_gtpu_hash_map_list[] = { IAVF_PHINT_IPV6_GTPU_EH | IAVF_PHINT_IPV6_TCP}, /* GTPU EH UP */ /* IPv4 GTPU EH UP IPv4 */ - {ETH_RSS_L3_SRC_ONLY, - &hdrs_hint_ipv4_src_gtpu_up, - IAVF_PHINT_IPV4_GTPU_EH_UPLINK | IAVF_PHINT_IPV4}, - {ETH_RSS_L3_DST_ONLY, - &hdrs_hint_ipv4_dst_gtpu_up, - IAVF_PHINT_IPV4_GTPU_EH_UPLINK | IAVF_PHINT_IPV4}, {ETH_RSS_IPV4 | ETH_RSS_L3_SRC_ONLY, &hdrs_hint_ipv4_src_gtpu_up, @@ -3238,34 +3004,6 @@ struct iavf_hash_match_type iavf_gtpu_hash_map_list[] = { &hdrs_hint_ipv6_gtpu_up, IAVF_PHINT_IPV6_GTPU_EH_UPLINK | IAVF_PHINT_IPV6}, /* IPv4 GTPU EH UP IPv4 UDP */ - {ETH_RSS_L3_SRC_ONLY | - ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_src_udp_src_gtpu_up, - IAVF_PHINT_IPV4_GTPU_EH_UPLINK | IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L3_SRC_ONLY | - ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_src_udp_dst_gtpu_up, - IAVF_PHINT_IPV4_GTPU_EH_UPLINK | IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L3_SRC_ONLY, - &hdrs_hint_ipv4_src_udp_gtpu_up, - IAVF_PHINT_IPV4_GTPU_EH_UPLINK | IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_udp_src_gtpu_up, - IAVF_PHINT_IPV4_GTPU_EH_UPLINK | IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L3_DST_ONLY | - ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_dst_udp_src_gtpu_up, - IAVF_PHINT_IPV4_GTPU_EH_UPLINK | IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L3_DST_ONLY | - ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_dst_udp_dst_gtpu_up, - IAVF_PHINT_IPV4_GTPU_EH_UPLINK | IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L3_DST_ONLY, - &hdrs_hint_ipv4_dst_udp_gtpu_up, - IAVF_PHINT_IPV4_GTPU_EH_UPLINK | IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_udp_dst_gtpu_up, - IAVF_PHINT_IPV4_GTPU_EH_UPLINK | IAVF_PHINT_IPV4_UDP}, {ETH_RSS_NONFRAG_IPV4_UDP | ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY, &hdrs_hint_ipv4_src_udp_src_gtpu_up, @@ -3410,34 +3148,6 @@ struct iavf_hash_match_type iavf_gtpu_hash_map_list[] = { &hdrs_hint_ipv6_udp_gtpu_up, IAVF_PHINT_IPV6_GTPU_EH_UPLINK | IAVF_PHINT_IPV6_UDP}, /* IPv4 GTPU EH UP IPv4 TCP */ - {ETH_RSS_L3_SRC_ONLY | - ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_src_tcp_src_gtpu_up, - IAVF_PHINT_IPV4_GTPU_EH_UPLINK | IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L3_SRC_ONLY | - ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_src_tcp_dst_gtpu_up, - IAVF_PHINT_IPV4_GTPU_EH_UPLINK | IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L3_SRC_ONLY, - &hdrs_hint_ipv4_src_tcp_gtpu_up, - IAVF_PHINT_IPV4_GTPU_EH_UPLINK | IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_tcp_src_gtpu_up, - IAVF_PHINT_IPV4_GTPU_EH_UPLINK | IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L3_DST_ONLY | - ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_dst_tcp_src_gtpu_up, - IAVF_PHINT_IPV4_GTPU_EH_UPLINK | IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L3_DST_ONLY | - ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_dst_tcp_dst_gtpu_up, - IAVF_PHINT_IPV4_GTPU_EH_UPLINK | IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L3_DST_ONLY, - &hdrs_hint_ipv4_dst_tcp_gtpu_up, - IAVF_PHINT_IPV4_GTPU_EH_UPLINK | IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_tcp_dst_gtpu_up, - IAVF_PHINT_IPV4_GTPU_EH_UPLINK | IAVF_PHINT_IPV4_TCP}, {ETH_RSS_NONFRAG_IPV4_TCP | ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY, &hdrs_hint_ipv4_src_tcp_src_gtpu_up, @@ -3583,12 +3293,6 @@ struct iavf_hash_match_type iavf_gtpu_hash_map_list[] = { IAVF_PHINT_IPV6_GTPU_EH_UPLINK | IAVF_PHINT_IPV6_TCP}, /* GTPU EH DWN */ /* IPv4 GTPU EH DWN IPv4 */ - {ETH_RSS_L3_SRC_ONLY, - &hdrs_hint_ipv4_src_gtpu_dwn, - IAVF_PHINT_IPV4_GTPU_EH_DWNLINK | IAVF_PHINT_IPV4}, - {ETH_RSS_L3_DST_ONLY, - &hdrs_hint_ipv4_dst_gtpu_dwn, - IAVF_PHINT_IPV4_GTPU_EH_DWNLINK | IAVF_PHINT_IPV4}, {ETH_RSS_IPV4 | ETH_RSS_L3_SRC_ONLY, &hdrs_hint_ipv4_src_gtpu_dwn, @@ -3637,34 +3341,6 @@ struct iavf_hash_match_type iavf_gtpu_hash_map_list[] = { &hdrs_hint_ipv6_gtpu_dwn, IAVF_PHINT_IPV6_GTPU_EH_DWNLINK | IAVF_PHINT_IPV6}, /* IPv4 GTPU EH DWN IPv4 UDP */ - {ETH_RSS_L3_SRC_ONLY | - ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_src_udp_src_gtpu_dwn, - IAVF_PHINT_IPV4_GTPU_EH_DWNLINK | IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L3_SRC_ONLY | - ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_src_udp_dst_gtpu_dwn, - IAVF_PHINT_IPV4_GTPU_EH_DWNLINK | IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L3_SRC_ONLY, - &hdrs_hint_ipv4_src_udp_gtpu_dwn, - IAVF_PHINT_IPV4_GTPU_EH_DWNLINK | IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_udp_src_gtpu_dwn, - IAVF_PHINT_IPV4_GTPU_EH_DWNLINK | IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L3_DST_ONLY | - ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_dst_udp_src_gtpu_dwn, - IAVF_PHINT_IPV4_GTPU_EH_DWNLINK | IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L3_DST_ONLY | - ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_dst_udp_dst_gtpu_dwn, - IAVF_PHINT_IPV4_GTPU_EH_DWNLINK | IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L3_DST_ONLY, - &hdrs_hint_ipv4_dst_udp_gtpu_dwn, - IAVF_PHINT_IPV4_GTPU_EH_DWNLINK | IAVF_PHINT_IPV4_UDP}, - {ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_udp_dst_gtpu_dwn, - IAVF_PHINT_IPV4_GTPU_EH_DWNLINK | IAVF_PHINT_IPV4_UDP}, {ETH_RSS_NONFRAG_IPV4_UDP | ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY, &hdrs_hint_ipv4_src_udp_src_gtpu_dwn, @@ -3809,34 +3485,6 @@ struct iavf_hash_match_type iavf_gtpu_hash_map_list[] = { &hdrs_hint_ipv6_udp_gtpu_dwn, IAVF_PHINT_IPV6_GTPU_EH_DWNLINK | IAVF_PHINT_IPV6_UDP}, /* IPv4 GTPU EH DWN IPv4 TCP */ - {ETH_RSS_L3_SRC_ONLY | - ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_src_tcp_src_gtpu_dwn, - IAVF_PHINT_IPV4_GTPU_EH_DWNLINK | IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L3_SRC_ONLY | - ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_src_tcp_dst_gtpu_dwn, - IAVF_PHINT_IPV4_GTPU_EH_DWNLINK | IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L3_SRC_ONLY, - &hdrs_hint_ipv4_src_tcp_gtpu_dwn, - IAVF_PHINT_IPV4_GTPU_EH_DWNLINK | IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_tcp_src_gtpu_dwn, - IAVF_PHINT_IPV4_GTPU_EH_DWNLINK | IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L3_DST_ONLY | - ETH_RSS_L4_SRC_ONLY, - &hdrs_hint_ipv4_dst_tcp_src_gtpu_dwn, - IAVF_PHINT_IPV4_GTPU_EH_DWNLINK | IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L3_DST_ONLY | - ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_dst_tcp_dst_gtpu_dwn, - IAVF_PHINT_IPV4_GTPU_EH_DWNLINK | IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L3_DST_ONLY, - &hdrs_hint_ipv4_dst_tcp_gtpu_dwn, - IAVF_PHINT_IPV4_GTPU_EH_DWNLINK | IAVF_PHINT_IPV4_TCP}, - {ETH_RSS_L4_DST_ONLY, - &hdrs_hint_ipv4_tcp_dst_gtpu_dwn, - IAVF_PHINT_IPV4_GTPU_EH_DWNLINK | IAVF_PHINT_IPV4_TCP}, {ETH_RSS_NONFRAG_IPV4_TCP | ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY, &hdrs_hint_ipv4_src_tcp_src_gtpu_dwn,