From: Jeff Guo <jia.guo@intel.com>
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
Subject: [dpdk-dev] [dpdk-dev v1] net/iavf: delete unsupported rss types
Date: Fri, 24 Jul 2020 12:07:02 +0800 [thread overview]
Message-ID: <20200724040702.9887-1-jia.guo@intel.com> (raw)
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 <jia.guo@intel.com>
---
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,
--
2.20.1
next reply other threads:[~2020-07-24 4:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-24 4:07 Jeff Guo [this message]
2020-07-24 9:00 ` Zhang, Qi Z
2020-07-24 9:36 ` Ferruh Yigit
2020-07-24 9:51 ` Guo, Jia
2020-07-24 9:55 ` Zhang, Qi Z
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200724040702.9887-1-jia.guo@intel.com \
--to=jia.guo@intel.com \
--cc=beilei.xing@intel.com \
--cc=dev@dpdk.org \
--cc=jingjing.wu@intel.com \
--cc=junfeng.guo@intel.com \
--cc=qi.z.zhang@intel.com \
--cc=simei.su@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).