From: Jeff Guo <jia.guo@intel.com>
To: beilei.xing@intel.com, qi.z.zhang@intel.com, jingjing.wu@intel.com
Cc: xiaolong.ye@intel.com, dev@dpdk.org, jia.guo@intel.com
Subject: [dpdk-dev] [dpdk-dev v2 ] net/iavf: add inner L4 hash for GTPU
Date: Fri, 5 Jun 2020 11:58:00 +0800 [thread overview]
Message-ID: <20200605035800.65277-1-jia.guo@intel.com> (raw)
In-Reply-To: <20200603073748.97668-1-jia.guo@intel.com>
Previous iavf only support inner ipv4 hash, this patch aims to enable
inner tcp and udp hash for GTPU.
Signed-off-by: Jeff Guo <jia.guo@intel.com>
---
v2->v1:
clean some useless part
---
drivers/net/iavf/iavf_hash.c | 807 ++++++++++++++++++++++++-----------
1 file changed, 564 insertions(+), 243 deletions(-)
diff --git a/drivers/net/iavf/iavf_hash.c b/drivers/net/iavf/iavf_hash.c
index a7691ef0c..df2dbaa3e 100644
--- a/drivers/net/iavf/iavf_hash.c
+++ b/drivers/net/iavf/iavf_hash.c
@@ -24,15 +24,18 @@
#include "iavf_generic_flow.h"
enum iavf_pattern_hint_type {
- IAVF_PATTERN_HINT_NONE,
- IAVF_PATTERN_HINT_IPV4,
- IAVF_PATTERN_HINT_IPV4_UDP,
- IAVF_PATTERN_HINT_IPV4_TCP,
- IAVF_PATTERN_HINT_IPV4_SCTP,
- IAVF_PATTERN_HINT_IPV6,
- IAVF_PATTERN_HINT_IPV6_UDP,
- IAVF_PATTERN_HINT_IPV6_TCP,
- IAVF_PATTERN_HINT_IPV6_SCTP,
+ IAVF_PHINT_NONE,
+ IAVF_PHINT_IPV4,
+ IAVF_PHINT_IPV4_UDP,
+ IAVF_PHINT_IPV4_TCP,
+ IAVF_PHINT_IPV4_SCTP,
+ IAVF_PHINT_IPV6,
+ IAVF_PHINT_IPV6_UDP,
+ IAVF_PHINT_IPV6_TCP,
+ IAVF_PHINT_IPV6_SCTP,
+ IAVF_PHINT_IPV4_GTPU_IPV4,
+ IAVF_PHINT_IPV4_GTPU_IPV4_UDP,
+ IAVF_PHINT_IPV4_GTPU_IPV4_TCP,
};
enum iavf_gtpu_hint {
@@ -84,41 +87,47 @@ iavf_hash_parse_pattern_action(struct iavf_adapter *ad,
struct rte_flow_error *error);
struct iavf_pattern_match_type phint_empty = {
- IAVF_PATTERN_HINT_NONE};
+ IAVF_PHINT_NONE};
struct iavf_pattern_match_type phint_eth_ipv4 = {
- IAVF_PATTERN_HINT_IPV4};
+ IAVF_PHINT_IPV4};
struct iavf_pattern_match_type phint_eth_ipv4_udp = {
- IAVF_PATTERN_HINT_IPV4_UDP};
+ IAVF_PHINT_IPV4_UDP};
struct iavf_pattern_match_type phint_eth_ipv4_tcp = {
- IAVF_PATTERN_HINT_IPV4_TCP};
+ IAVF_PHINT_IPV4_TCP};
struct iavf_pattern_match_type phint_eth_ipv4_sctp = {
- IAVF_PATTERN_HINT_IPV4_SCTP};
-struct iavf_pattern_match_type phint_eth_ipv4_gtpu_eh = {
- IAVF_PATTERN_HINT_IPV4_UDP};
+ IAVF_PHINT_IPV4_SCTP};
+struct iavf_pattern_match_type phint_eth_ipv4_gtpu_ipv4 = {
+ IAVF_PHINT_IPV4_GTPU_IPV4};
+struct iavf_pattern_match_type phint_eth_ipv4_gtpu_eh_ipv4 = {
+ IAVF_PHINT_IPV4_GTPU_IPV4};
+struct iavf_pattern_match_type phint_eth_ipv4_gtpu_eh_ipv4_udp = {
+ IAVF_PHINT_IPV4_GTPU_IPV4_UDP};
+struct iavf_pattern_match_type phint_eth_ipv4_gtpu_eh_ipv4_tcp = {
+ IAVF_PHINT_IPV4_GTPU_IPV4_TCP};
struct iavf_pattern_match_type phint_eth_ipv4_esp = {
- IAVF_PATTERN_HINT_IPV4};
+ IAVF_PHINT_IPV4};
struct iavf_pattern_match_type phint_eth_ipv4_ah = {
- IAVF_PATTERN_HINT_IPV4};
+ IAVF_PHINT_IPV4};
struct iavf_pattern_match_type phint_eth_ipv4_l2tpv3 = {
- IAVF_PATTERN_HINT_IPV4};
+ IAVF_PHINT_IPV4};
struct iavf_pattern_match_type phint_eth_ipv4_pfcp = {
- IAVF_PATTERN_HINT_IPV4_UDP};
+ IAVF_PHINT_IPV4_UDP};
struct iavf_pattern_match_type phint_eth_ipv6 = {
- IAVF_PATTERN_HINT_IPV6};
+ IAVF_PHINT_IPV6};
struct iavf_pattern_match_type phint_eth_ipv6_udp = {
- IAVF_PATTERN_HINT_IPV6_UDP};
+ IAVF_PHINT_IPV6_UDP};
struct iavf_pattern_match_type phint_eth_ipv6_tcp = {
- IAVF_PATTERN_HINT_IPV6_TCP};
+ IAVF_PHINT_IPV6_TCP};
struct iavf_pattern_match_type phint_eth_ipv6_sctp = {
- IAVF_PATTERN_HINT_IPV6_SCTP};
+ IAVF_PHINT_IPV6_SCTP};
struct iavf_pattern_match_type phint_eth_ipv6_esp = {
- IAVF_PATTERN_HINT_IPV6};
+ IAVF_PHINT_IPV6};
struct iavf_pattern_match_type phint_eth_ipv6_ah = {
- IAVF_PATTERN_HINT_IPV6};
+ IAVF_PHINT_IPV6};
struct iavf_pattern_match_type phint_eth_ipv6_l2tpv3 = {
- IAVF_PATTERN_HINT_IPV6};
+ IAVF_PHINT_IPV6};
struct iavf_pattern_match_type phint_eth_ipv6_pfcp = {
- IAVF_PATTERN_HINT_IPV6_UDP};
+ IAVF_PHINT_IPV6_UDP};
/**
* Supported pattern for hash.
@@ -131,25 +140,27 @@ static struct iavf_pattern_match_item iavf_hash_pattern_list[] = {
{iavf_pattern_eth_ipv4_udp, IAVF_INSET_NONE, &phint_eth_ipv4_udp},
{iavf_pattern_eth_ipv4_tcp, IAVF_INSET_NONE, &phint_eth_ipv4_tcp},
{iavf_pattern_eth_ipv4_sctp, IAVF_INSET_NONE, &phint_eth_ipv4_sctp},
- {iavf_pattern_eth_ipv6, IAVF_INSET_NONE, &phint_eth_ipv6},
+ {iavf_pattern_eth_ipv4_gtpu_ipv4, IAVF_INSET_NONE,
+ &phint_eth_ipv4_gtpu_ipv4},
{iavf_pattern_eth_ipv4_gtpu_eh_ipv4, IAVF_INSET_NONE,
- &phint_eth_ipv4_gtpu_eh},
+ &phint_eth_ipv4_gtpu_eh_ipv4},
{iavf_pattern_eth_ipv4_gtpu_eh_ipv4_udp, IAVF_INSET_NONE,
- &phint_eth_ipv4_gtpu_eh},
+ &phint_eth_ipv4_gtpu_eh_ipv4_udp},
{iavf_pattern_eth_ipv4_gtpu_eh_ipv4_tcp, IAVF_INSET_NONE,
- &phint_eth_ipv4_gtpu_eh},
+ &phint_eth_ipv4_gtpu_eh_ipv4_tcp},
{iavf_pattern_eth_ipv4_esp, IAVF_INSET_NONE, &phint_eth_ipv4_esp},
{iavf_pattern_eth_ipv4_ah, IAVF_INSET_NONE, &phint_eth_ipv4_ah},
{iavf_pattern_eth_ipv4_l2tpv3, IAVF_INSET_NONE,
- &phint_eth_ipv4_l2tpv3},
+ &phint_eth_ipv4_l2tpv3},
{iavf_pattern_eth_ipv4_pfcp, IAVF_INSET_NONE, &phint_eth_ipv4_pfcp},
+ {iavf_pattern_eth_ipv6, IAVF_INSET_NONE, &phint_eth_ipv6},
{iavf_pattern_eth_ipv6_udp, IAVF_INSET_NONE, &phint_eth_ipv6_udp},
{iavf_pattern_eth_ipv6_tcp, IAVF_INSET_NONE, &phint_eth_ipv6_tcp},
{iavf_pattern_eth_ipv6_sctp, IAVF_INSET_NONE, &phint_eth_ipv6_sctp},
{iavf_pattern_eth_ipv6_esp, IAVF_INSET_NONE, &phint_eth_ipv6_esp},
{iavf_pattern_eth_ipv6_ah, IAVF_INSET_NONE, &phint_eth_ipv6_ah},
{iavf_pattern_eth_ipv6_l2tpv3, IAVF_INSET_NONE,
- &phint_eth_ipv6_l2tpv3},
+ &phint_eth_ipv6_l2tpv3},
{iavf_pattern_eth_ipv6_pfcp, IAVF_INSET_NONE, &phint_eth_ipv6_pfcp},
{iavf_pattern_empty, IAVF_INSET_NONE, &phint_empty},
};
@@ -323,26 +334,106 @@ struct virtchnl_proto_hdrs hdrs_hint_ipv4_dst = {
TUNNEL_LEVEL_OUTER, PROTO_COUNT_ONE, {proto_hint_ipv4_dst }
};
+struct virtchnl_proto_hdrs hdrs_hint_ipv4_udp_src_gtpu_up = {
+ TUNNEL_LEVEL_FIRST_INNER, PROTO_COUNT_THREE, {proto_hint_gtpu_up_only,
+ proto_hint_ipv4_only, proto_hint_udp_src_port}
+};
+
+struct virtchnl_proto_hdrs hdrs_hint_ipv4_udp_src_gtpu_dwn = {
+ TUNNEL_LEVEL_FIRST_INNER, PROTO_COUNT_THREE, {proto_hint_gtpu_dwn_only,
+ proto_hint_ipv4_only, proto_hint_udp_src_port}
+};
+
+struct virtchnl_proto_hdrs hdrs_hint_ipv4_udp_dst_gtpu_up = {
+ TUNNEL_LEVEL_FIRST_INNER, PROTO_COUNT_THREE, {proto_hint_gtpu_up_only,
+ proto_hint_ipv4_only, proto_hint_udp_dst_port}
+};
+
+struct virtchnl_proto_hdrs hdrs_hint_ipv4_udp_dst_gtpu_dwn = {
+ TUNNEL_LEVEL_FIRST_INNER, PROTO_COUNT_THREE, {proto_hint_gtpu_dwn_only,
+ proto_hint_ipv4_only, proto_hint_udp_dst_port}
+};
+
+struct virtchnl_proto_hdrs hdrs_hint_ipv4_tcp_src_gtpu_up = {
+ TUNNEL_LEVEL_FIRST_INNER, PROTO_COUNT_THREE, {proto_hint_gtpu_up_only,
+ proto_hint_ipv4_only, proto_hint_tcp_src_port}
+};
+
+struct virtchnl_proto_hdrs hdrs_hint_ipv4_tcp_src_gtpu_dwn = {
+ TUNNEL_LEVEL_FIRST_INNER, PROTO_COUNT_THREE, {proto_hint_gtpu_dwn_only,
+ proto_hint_ipv4_only, proto_hint_tcp_src_port}
+};
+
+struct virtchnl_proto_hdrs hdrs_hint_ipv4_tcp_dst_gtpu_up = {
+ TUNNEL_LEVEL_FIRST_INNER, PROTO_COUNT_THREE, {proto_hint_gtpu_up_only,
+ proto_hint_ipv4_only, proto_hint_tcp_dst_port}
+};
+
+struct virtchnl_proto_hdrs hdrs_hint_ipv4_tcp_dst_gtpu_dwn = {
+ TUNNEL_LEVEL_FIRST_INNER, PROTO_COUNT_THREE, {proto_hint_gtpu_dwn_only,
+ proto_hint_ipv4_only, proto_hint_tcp_dst_port}
+};
+
struct virtchnl_proto_hdrs hdrs_hint_ipv4_src_gtpu_up = {
TUNNEL_LEVEL_FIRST_INNER, PROTO_COUNT_TWO, {proto_hint_gtpu_up_only,
proto_hint_ipv4_src }
};
+struct virtchnl_proto_hdrs hdrs_hint_ipv4_src_udp_src_gtpu_up = {
+ TUNNEL_LEVEL_FIRST_INNER, PROTO_COUNT_THREE, {proto_hint_gtpu_up_only,
+ proto_hint_ipv4_src, proto_hint_udp_src_port}
+};
+
+struct virtchnl_proto_hdrs hdrs_hint_ipv4_src_udp_dst_gtpu_up = {
+ TUNNEL_LEVEL_FIRST_INNER, PROTO_COUNT_THREE, {proto_hint_gtpu_up_only,
+ proto_hint_ipv4_src, proto_hint_udp_dst_port}
+};
+
struct virtchnl_proto_hdrs hdrs_hint_ipv4_src_gtpu_dwn = {
TUNNEL_LEVEL_FIRST_INNER, PROTO_COUNT_TWO, {proto_hint_gtpu_dwn_only,
proto_hint_ipv4_src }
};
+struct virtchnl_proto_hdrs hdrs_hint_ipv4_src_udp_src_gtpu_dwn = {
+ TUNNEL_LEVEL_FIRST_INNER, PROTO_COUNT_THREE, {proto_hint_gtpu_dwn_only,
+ proto_hint_ipv4_src, proto_hint_udp_src_port}
+};
+
+struct virtchnl_proto_hdrs hdrs_hint_ipv4_src_udp_dst_gtpu_dwn = {
+ TUNNEL_LEVEL_FIRST_INNER, PROTO_COUNT_THREE, {proto_hint_gtpu_dwn_only,
+ proto_hint_ipv4_src, proto_hint_udp_dst_port}
+};
+
struct virtchnl_proto_hdrs hdrs_hint_ipv4_dst_gtpu_up = {
TUNNEL_LEVEL_FIRST_INNER, PROTO_COUNT_TWO, {proto_hint_gtpu_up_only,
proto_hint_ipv4_dst }
};
+struct virtchnl_proto_hdrs hdrs_hint_ipv4_dst_udp_src_gtpu_up = {
+ TUNNEL_LEVEL_FIRST_INNER, PROTO_COUNT_THREE, {proto_hint_gtpu_up_only,
+ proto_hint_ipv4_dst, proto_hint_udp_src_port}
+};
+
+struct virtchnl_proto_hdrs hdrs_hint_ipv4_dst_udp_dst_gtpu_up = {
+ TUNNEL_LEVEL_FIRST_INNER, PROTO_COUNT_THREE, {proto_hint_gtpu_up_only,
+ proto_hint_ipv4_dst, proto_hint_udp_dst_port}
+};
+
struct virtchnl_proto_hdrs hdrs_hint_ipv4_dst_gtpu_dwn = {
TUNNEL_LEVEL_FIRST_INNER, PROTO_COUNT_TWO, {proto_hint_gtpu_dwn_only,
proto_hint_ipv4_dst }
};
+struct virtchnl_proto_hdrs hdrs_hint_ipv4_dst_udp_src_gtpu_dwn = {
+ TUNNEL_LEVEL_FIRST_INNER, PROTO_COUNT_THREE, {proto_hint_gtpu_dwn_only,
+ proto_hint_ipv4_dst, proto_hint_udp_src_port}
+};
+
+struct virtchnl_proto_hdrs hdrs_hint_ipv4_dst_udp_dst_gtpu_dwn = {
+ TUNNEL_LEVEL_FIRST_INNER, PROTO_COUNT_THREE, {proto_hint_gtpu_dwn_only,
+ proto_hint_ipv4_dst, proto_hint_udp_dst_port}
+};
+
struct virtchnl_proto_hdrs hdrs_hint_ipv4_esp = {
TUNNEL_LEVEL_OUTER, PROTO_COUNT_TWO, {proto_hint_ipv4_only,
proto_hint_esp }
@@ -525,12 +616,12 @@ struct virtchnl_proto_hdrs hdrs_hint_ipv6_dst_udp_dst_port = {
};
struct virtchnl_proto_hdrs hdrs_hint_ipv6_udp_src_port = {
- TUNNEL_LEVEL_OUTER, PROTO_COUNT_TWO, {proto_hint_udp_only,
+ TUNNEL_LEVEL_OUTER, PROTO_COUNT_TWO, {proto_hint_ipv6_only,
proto_hint_udp_src_port }
};
struct virtchnl_proto_hdrs hdrs_hint_ipv6_udp_dst_port = {
- TUNNEL_LEVEL_OUTER, PROTO_COUNT_TWO, {proto_hint_udp_only,
+ TUNNEL_LEVEL_OUTER, PROTO_COUNT_TWO, {proto_hint_ipv6_only,
proto_hint_udp_dst_port }
};
@@ -560,12 +651,12 @@ struct virtchnl_proto_hdrs hdrs_hint_ipv6_dst_tcp_dst_port = {
};
struct virtchnl_proto_hdrs hdrs_hint_ipv6_tcp_src_port = {
- TUNNEL_LEVEL_OUTER, PROTO_COUNT_TWO, {proto_hint_udp_only,
+ TUNNEL_LEVEL_OUTER, PROTO_COUNT_TWO, {proto_hint_ipv6_only,
proto_hint_tcp_src_port }
};
struct virtchnl_proto_hdrs hdrs_hint_ipv6_tcp_dst_port = {
- TUNNEL_LEVEL_OUTER, PROTO_COUNT_TWO, {proto_hint_udp_only,
+ TUNNEL_LEVEL_OUTER, PROTO_COUNT_TWO, {proto_hint_ipv6_only,
proto_hint_tcp_dst_port }
};
@@ -595,12 +686,12 @@ struct virtchnl_proto_hdrs hdrs_hint_ipv6_dst_sctp_dst_port = {
};
struct virtchnl_proto_hdrs hdrs_hint_ipv6_sctp_src_port = {
- TUNNEL_LEVEL_OUTER, PROTO_COUNT_TWO, {proto_hint_udp_only,
+ TUNNEL_LEVEL_OUTER, PROTO_COUNT_TWO, {proto_hint_ipv6_only,
proto_hint_sctp_src_port }
};
struct virtchnl_proto_hdrs hdrs_hint_ipv6_sctp_dst_port = {
- TUNNEL_LEVEL_OUTER, PROTO_COUNT_TWO, {proto_hint_udp_only,
+ TUNNEL_LEVEL_OUTER, PROTO_COUNT_TWO, {proto_hint_ipv6_only,
proto_hint_sctp_dst_port }
};
@@ -617,329 +708,559 @@ struct virtchnl_proto_hdrs hdrs_hint_ipv6_sctp = {
*/
struct iavf_hash_match_type iavf_hash_type_list[] = {
/* IPV4 */
- {IAVF_PATTERN_HINT_IPV4, ETH_RSS_L2_SRC_ONLY, &hdrs_hint_eth_src,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4, ETH_RSS_L2_DST_ONLY, &hdrs_hint_eth_dst,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4, ETH_RSS_ETH | ETH_RSS_L2_SRC_ONLY,
- &hdrs_hint_eth_src, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4, ETH_RSS_ETH | ETH_RSS_L2_DST_ONLY,
- &hdrs_hint_eth_dst, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4, ETH_RSS_ETH, &hdrs_hint_eth,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4, ETH_RSS_S_VLAN, &hdrs_hint_svlan,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4, ETH_RSS_C_VLAN, &hdrs_hint_cvlan,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4, ETH_RSS_L3_SRC_ONLY, &hdrs_hint_ipv4_src,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4, ETH_RSS_L3_DST_ONLY, &hdrs_hint_ipv4_dst,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4, ETH_RSS_IPV4 | ETH_RSS_L3_SRC_ONLY,
- &hdrs_hint_ipv4_src, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4, ETH_RSS_IPV4 | ETH_RSS_L3_DST_ONLY,
- &hdrs_hint_ipv4_dst, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4, ETH_RSS_ESP, &hdrs_hint_ipv4_esp,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4, ETH_RSS_AH, &hdrs_hint_ipv4_ah,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4, ETH_RSS_L2TPV3, &hdrs_hint_ipv4_l2tpv3,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4, ETH_RSS_IPV4, &hdrs_hint_ipv4,
- IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV4, ETH_RSS_L2_SRC_ONLY,
+ &hdrs_hint_eth_src, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV4, ETH_RSS_L2_DST_ONLY,
+ &hdrs_hint_eth_dst, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV4, ETH_RSS_ETH | ETH_RSS_L2_SRC_ONLY,
+ &hdrs_hint_eth_src, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV4, ETH_RSS_ETH | ETH_RSS_L2_DST_ONLY,
+ &hdrs_hint_eth_dst, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV4, ETH_RSS_ETH,
+ &hdrs_hint_eth, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV4, ETH_RSS_S_VLAN,
+ &hdrs_hint_svlan, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV4, ETH_RSS_C_VLAN,
+ &hdrs_hint_cvlan, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV4, ETH_RSS_L3_SRC_ONLY,
+ &hdrs_hint_ipv4_src, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV4, ETH_RSS_L3_DST_ONLY,
+ &hdrs_hint_ipv4_dst, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV4, ETH_RSS_IPV4 | ETH_RSS_L3_SRC_ONLY,
+ &hdrs_hint_ipv4_src, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV4, ETH_RSS_IPV4 | ETH_RSS_L3_DST_ONLY,
+ &hdrs_hint_ipv4_dst, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV4, ETH_RSS_IPV4,
+ &hdrs_hint_ipv4, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV4, ETH_RSS_ESP,
+ &hdrs_hint_ipv4_esp, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV4, ETH_RSS_AH,
+ &hdrs_hint_ipv4_ah, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV4, ETH_RSS_L2TPV3,
+ &hdrs_hint_ipv4_l2tpv3, IAVF_GTPU_HINT_NONE},
/* IPV4 UDP */
- {IAVF_PATTERN_HINT_IPV4_UDP, ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY,
+ {IAVF_PHINT_IPV4_UDP, ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY,
&hdrs_hint_ipv4_src_udp_src_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_UDP, ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY,
+ {IAVF_PHINT_IPV4_UDP, ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY,
&hdrs_hint_ipv4_src_udp_dst_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_UDP, ETH_RSS_L3_SRC_ONLY | ETH_RSS_GTPU,
- &hdrs_hint_ipv4_src_gtpu_up, IAVF_GTPU_HINT_UPLINK},
- {IAVF_PATTERN_HINT_IPV4_UDP, ETH_RSS_L3_SRC_ONLY | ETH_RSS_GTPU,
- &hdrs_hint_ipv4_src_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
- {IAVF_PATTERN_HINT_IPV4_UDP, ETH_RSS_L3_SRC_ONLY,
+ {IAVF_PHINT_IPV4_UDP, ETH_RSS_L3_SRC_ONLY,
&hdrs_hint_ipv4_src, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_UDP, ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_SRC_ONLY,
+ {IAVF_PHINT_IPV4_UDP, ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_SRC_ONLY,
&hdrs_hint_ipv4_dst_udp_src_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_UDP, ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_DST_ONLY,
+ {IAVF_PHINT_IPV4_UDP, ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_DST_ONLY,
&hdrs_hint_ipv4_dst_udp_dst_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_UDP, ETH_RSS_L3_DST_ONLY | ETH_RSS_GTPU,
- &hdrs_hint_ipv4_dst_gtpu_up, IAVF_GTPU_HINT_UPLINK},
- {IAVF_PATTERN_HINT_IPV4_UDP, ETH_RSS_L3_DST_ONLY | ETH_RSS_GTPU,
- &hdrs_hint_ipv4_dst_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
- {IAVF_PATTERN_HINT_IPV4_UDP, ETH_RSS_L3_DST_ONLY,
+ {IAVF_PHINT_IPV4_UDP, ETH_RSS_L3_DST_ONLY,
&hdrs_hint_ipv4_dst, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_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_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
+ {IAVF_PHINT_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY,
&hdrs_hint_ipv4_src_udp_dst_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
- ETH_RSS_L3_SRC_ONLY | ETH_RSS_GTPU,
- &hdrs_hint_ipv4_src_gtpu_up, IAVF_GTPU_HINT_UPLINK},
- {IAVF_PATTERN_HINT_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
- ETH_RSS_L3_SRC_ONLY | ETH_RSS_GTPU,
- &hdrs_hint_ipv4_src_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
- {IAVF_PATTERN_HINT_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
+ {IAVF_PHINT_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
ETH_RSS_L3_SRC_ONLY, &hdrs_hint_ipv4_src,
IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
+ {IAVF_PHINT_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_SRC_ONLY,
&hdrs_hint_ipv4_dst_udp_src_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
+ {IAVF_PHINT_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_DST_ONLY,
&hdrs_hint_ipv4_dst_udp_dst_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
- ETH_RSS_L3_DST_ONLY | ETH_RSS_GTPU,
- &hdrs_hint_ipv4_dst_gtpu_up, IAVF_GTPU_HINT_UPLINK},
- {IAVF_PATTERN_HINT_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
- ETH_RSS_L3_DST_ONLY | ETH_RSS_GTPU,
- &hdrs_hint_ipv4_dst_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
- {IAVF_PATTERN_HINT_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
+ {IAVF_PHINT_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
ETH_RSS_L3_DST_ONLY, &hdrs_hint_ipv4_dst,
IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_UDP, ETH_RSS_L4_SRC_ONLY,
+ {IAVF_PHINT_IPV4_UDP, ETH_RSS_L4_SRC_ONLY,
+ &hdrs_hint_ipv4_udp_src_port, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV4_UDP, ETH_RSS_L4_DST_ONLY,
+ &hdrs_hint_ipv4_udp_dst_port, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP | ETH_RSS_L4_SRC_ONLY,
&hdrs_hint_ipv4_udp_src_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_UDP, ETH_RSS_L4_DST_ONLY,
+ {IAVF_PHINT_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP | ETH_RSS_L4_DST_ONLY,
&hdrs_hint_ipv4_udp_dst_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_UDP, ETH_RSS_PFCP,
+ {IAVF_PHINT_IPV4_UDP, ETH_RSS_PFCP,
&hdrs_hint_ipv4_pfcp, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP,
+ {IAVF_PHINT_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP,
&hdrs_hint_ipv4_udp, IAVF_GTPU_HINT_NONE},
/* IPV4 TCP */
- {IAVF_PATTERN_HINT_IPV4_TCP, ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY,
+ {IAVF_PHINT_IPV4_TCP, ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY,
&hdrs_hint_ipv4_src_tcp_src_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_TCP, ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY,
+ {IAVF_PHINT_IPV4_TCP, ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY,
&hdrs_hint_ipv4_src_tcp_dst_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_TCP, ETH_RSS_L3_SRC_ONLY,
+ {IAVF_PHINT_IPV4_TCP, ETH_RSS_L3_SRC_ONLY,
&hdrs_hint_ipv4_src, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_TCP, ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_SRC_ONLY,
+ {IAVF_PHINT_IPV4_TCP, ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_SRC_ONLY,
&hdrs_hint_ipv4_dst_tcp_src_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_TCP, ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_DST_ONLY,
+ {IAVF_PHINT_IPV4_TCP, ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_DST_ONLY,
&hdrs_hint_ipv4_dst_tcp_dst_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_TCP, ETH_RSS_L3_DST_ONLY,
+ {IAVF_PHINT_IPV4_TCP, ETH_RSS_L3_DST_ONLY,
&hdrs_hint_ipv4_dst, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_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_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_TCP |
+ {IAVF_PHINT_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_TCP |
ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY,
&hdrs_hint_ipv4_src_tcp_dst_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_TCP |
+ {IAVF_PHINT_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_TCP |
ETH_RSS_L3_SRC_ONLY, &hdrs_hint_ipv4_src,
IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_TCP |
+ {IAVF_PHINT_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_TCP |
ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_SRC_ONLY,
&hdrs_hint_ipv4_dst_tcp_src_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_TCP |
+ {IAVF_PHINT_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_TCP |
ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_DST_ONLY,
&hdrs_hint_ipv4_dst_tcp_dst_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_TCP |
+ {IAVF_PHINT_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_TCP |
ETH_RSS_L3_DST_ONLY, &hdrs_hint_ipv4_dst,
IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_TCP, ETH_RSS_L4_SRC_ONLY,
+ {IAVF_PHINT_IPV4_TCP, ETH_RSS_L4_SRC_ONLY,
&hdrs_hint_ipv4_tcp_src_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_TCP, ETH_RSS_L4_DST_ONLY,
+ {IAVF_PHINT_IPV4_TCP, ETH_RSS_L4_DST_ONLY,
&hdrs_hint_ipv4_tcp_dst_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_TCP,
+ {IAVF_PHINT_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_TCP | ETH_RSS_L4_SRC_ONLY,
+ &hdrs_hint_ipv4_tcp_src_port, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_TCP | ETH_RSS_L4_DST_ONLY,
+ &hdrs_hint_ipv4_tcp_dst_port, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_TCP,
&hdrs_hint_ipv4_tcp, IAVF_GTPU_HINT_NONE},
/* IPV4 SCTP */
- {IAVF_PATTERN_HINT_IPV4_SCTP, ETH_RSS_L3_SRC_ONLY |
- ETH_RSS_L4_SRC_ONLY, &hdrs_hint_ipv4_src_sctp_src_port,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_SCTP, ETH_RSS_L3_SRC_ONLY |
- ETH_RSS_L4_DST_ONLY, &hdrs_hint_ipv4_src_sctp_dst_port,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_SCTP, ETH_RSS_L3_SRC_ONLY,
+ {IAVF_PHINT_IPV4_SCTP, ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY,
+ &hdrs_hint_ipv4_src_sctp_src_port, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV4_SCTP, ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY,
+ &hdrs_hint_ipv4_src_sctp_dst_port, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV4_SCTP, ETH_RSS_L3_SRC_ONLY,
&hdrs_hint_ipv4_src, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_SCTP, ETH_RSS_L3_DST_ONLY |
- ETH_RSS_L4_SRC_ONLY, &hdrs_hint_ipv4_dst_sctp_src_port,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_SCTP, ETH_RSS_L3_DST_ONLY |
- ETH_RSS_L4_DST_ONLY, &hdrs_hint_ipv4_dst_sctp_dst_port,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_SCTP, ETH_RSS_L3_DST_ONLY,
+ {IAVF_PHINT_IPV4_SCTP, ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_SRC_ONLY,
+ &hdrs_hint_ipv4_dst_sctp_src_port, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV4_SCTP, ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_DST_ONLY,
+ &hdrs_hint_ipv4_dst_sctp_dst_port, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV4_SCTP, ETH_RSS_L3_DST_ONLY,
&hdrs_hint_ipv4_dst, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_SCTP, ETH_RSS_NONFRAG_IPV4_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_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_SCTP, ETH_RSS_NONFRAG_IPV4_SCTP |
+ {IAVF_PHINT_IPV4_SCTP, ETH_RSS_NONFRAG_IPV4_SCTP |
ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY,
&hdrs_hint_ipv4_src_sctp_dst_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_SCTP, ETH_RSS_NONFRAG_IPV4_SCTP |
+ {IAVF_PHINT_IPV4_SCTP, ETH_RSS_NONFRAG_IPV4_SCTP |
ETH_RSS_L3_SRC_ONLY, &hdrs_hint_ipv4_src,
IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_SCTP, ETH_RSS_NONFRAG_IPV4_SCTP |
+ {IAVF_PHINT_IPV4_SCTP, ETH_RSS_NONFRAG_IPV4_SCTP |
ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_SRC_ONLY,
&hdrs_hint_ipv4_dst_sctp_src_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_SCTP, ETH_RSS_NONFRAG_IPV4_SCTP |
+ {IAVF_PHINT_IPV4_SCTP, ETH_RSS_NONFRAG_IPV4_SCTP |
ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_DST_ONLY,
&hdrs_hint_ipv4_dst_sctp_dst_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_SCTP, ETH_RSS_NONFRAG_IPV4_SCTP |
+ {IAVF_PHINT_IPV4_SCTP, ETH_RSS_NONFRAG_IPV4_SCTP |
ETH_RSS_L3_DST_ONLY, &hdrs_hint_ipv4_dst,
IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_SCTP, ETH_RSS_L4_SRC_ONLY,
+ {IAVF_PHINT_IPV4_SCTP, ETH_RSS_L4_SRC_ONLY,
&hdrs_hint_ipv4_sctp_src_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_SCTP, ETH_RSS_L4_DST_ONLY,
+ {IAVF_PHINT_IPV4_SCTP, ETH_RSS_L4_DST_ONLY,
&hdrs_hint_ipv4_sctp_dst_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4_SCTP, ETH_RSS_NONFRAG_IPV4_SCTP,
+ {IAVF_PHINT_IPV4_SCTP, ETH_RSS_NONFRAG_IPV4_SCTP | ETH_RSS_L4_SRC_ONLY,
+ &hdrs_hint_ipv4_sctp_src_port, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV4_SCTP, ETH_RSS_NONFRAG_IPV4_SCTP | ETH_RSS_L4_DST_ONLY,
+ &hdrs_hint_ipv4_sctp_dst_port, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV4_SCTP, ETH_RSS_NONFRAG_IPV4_SCTP,
&hdrs_hint_ipv4_sctp, IAVF_GTPU_HINT_NONE},
/* IPV6 */
- {IAVF_PATTERN_HINT_IPV6, ETH_RSS_L2_SRC_ONLY,
+ {IAVF_PHINT_IPV6, ETH_RSS_L2_SRC_ONLY,
&hdrs_hint_eth_src, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6, ETH_RSS_L2_DST_ONLY,
+ {IAVF_PHINT_IPV6, ETH_RSS_L2_DST_ONLY,
&hdrs_hint_eth_dst, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6, ETH_RSS_IPV6 | ETH_RSS_L2_SRC_ONLY,
+ {IAVF_PHINT_IPV6, ETH_RSS_IPV6 | ETH_RSS_L2_SRC_ONLY,
&hdrs_hint_eth_src, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6, ETH_RSS_IPV6 | ETH_RSS_L2_DST_ONLY,
+ {IAVF_PHINT_IPV6, ETH_RSS_IPV6 | ETH_RSS_L2_DST_ONLY,
&hdrs_hint_eth_dst, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6, ETH_RSS_ETH,
+ {IAVF_PHINT_IPV6, ETH_RSS_ETH,
&hdrs_hint_eth, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6, ETH_RSS_S_VLAN,
+ {IAVF_PHINT_IPV6, ETH_RSS_S_VLAN,
&hdrs_hint_svlan, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV4, ETH_RSS_C_VLAN,
+ {IAVF_PHINT_IPV4, ETH_RSS_C_VLAN,
&hdrs_hint_cvlan, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6, ETH_RSS_L3_SRC_ONLY,
+ {IAVF_PHINT_IPV6, ETH_RSS_L3_SRC_ONLY,
&hdrs_hint_ipv6_src, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6, ETH_RSS_L3_DST_ONLY,
+ {IAVF_PHINT_IPV6, ETH_RSS_L3_DST_ONLY,
&hdrs_hint_ipv6_dst, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6, ETH_RSS_IPV6 | ETH_RSS_L3_SRC_ONLY,
+ {IAVF_PHINT_IPV6, ETH_RSS_IPV6 | ETH_RSS_L3_SRC_ONLY,
&hdrs_hint_ipv6_src, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6, ETH_RSS_IPV6 | ETH_RSS_L3_DST_ONLY,
+ {IAVF_PHINT_IPV6, ETH_RSS_IPV6 | ETH_RSS_L3_DST_ONLY,
&hdrs_hint_ipv6_dst, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6, ETH_RSS_ESP,
+ {IAVF_PHINT_IPV6, ETH_RSS_IPV6,
+ &hdrs_hint_ipv6, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV6, ETH_RSS_ESP,
&hdrs_hint_ipv6_esp, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6, ETH_RSS_AH,
+ {IAVF_PHINT_IPV6, ETH_RSS_AH,
&hdrs_hint_ipv6_ah, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6, ETH_RSS_L2TPV3,
+ {IAVF_PHINT_IPV6, ETH_RSS_L2TPV3,
&hdrs_hint_ipv6_l2tpv3, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6, ETH_RSS_IPV6,
- &hdrs_hint_ipv6, IAVF_GTPU_HINT_NONE},
/* IPV6 UDP */
- {IAVF_PATTERN_HINT_IPV6_UDP, ETH_RSS_L3_SRC_ONLY |
- ETH_RSS_L4_SRC_ONLY, &hdrs_hint_ipv6_src_udp_src_port,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_UDP, ETH_RSS_L3_SRC_ONLY |
- ETH_RSS_L4_DST_ONLY, &hdrs_hint_ipv6_src_udp_dst_port,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_UDP, ETH_RSS_L3_SRC_ONLY,
+ {IAVF_PHINT_IPV6_UDP, ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY,
+ &hdrs_hint_ipv6_src_udp_src_port, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV6_UDP, ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY,
+ &hdrs_hint_ipv6_src_udp_dst_port, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV6_UDP, ETH_RSS_L3_SRC_ONLY,
&hdrs_hint_ipv6_src, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_UDP, ETH_RSS_L3_DST_ONLY |
- ETH_RSS_L4_SRC_ONLY, &hdrs_hint_ipv6_dst_udp_src_port,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_UDP, ETH_RSS_L3_DST_ONLY |
- ETH_RSS_L4_DST_ONLY, &hdrs_hint_ipv6_dst_udp_dst_port,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_UDP, ETH_RSS_L3_DST_ONLY,
+ {IAVF_PHINT_IPV6_UDP, ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_SRC_ONLY,
+ &hdrs_hint_ipv6_dst_udp_src_port, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV6_UDP, ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_DST_ONLY,
+ &hdrs_hint_ipv6_dst_udp_dst_port, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV6_UDP, ETH_RSS_L3_DST_ONLY,
&hdrs_hint_ipv6_dst, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_UDP, ETH_RSS_NONFRAG_IPV6_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_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_UDP, ETH_RSS_NONFRAG_IPV6_UDP |
+ {IAVF_PHINT_IPV6_UDP, ETH_RSS_NONFRAG_IPV6_UDP |
ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY,
&hdrs_hint_ipv6_src_udp_dst_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_UDP, ETH_RSS_NONFRAG_IPV6_UDP |
- ETH_RSS_L3_SRC_ONLY, &hdrs_hint_ipv6_src,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_UDP, ETH_RSS_NONFRAG_IPV6_UDP |
+ {IAVF_PHINT_IPV6_UDP, ETH_RSS_NONFRAG_IPV6_UDP | ETH_RSS_L3_SRC_ONLY,
+ &hdrs_hint_ipv6_src, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV6_UDP, ETH_RSS_NONFRAG_IPV6_UDP |
ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_SRC_ONLY,
&hdrs_hint_ipv6_dst_udp_src_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_UDP, ETH_RSS_NONFRAG_IPV6_UDP |
+ {IAVF_PHINT_IPV6_UDP, ETH_RSS_NONFRAG_IPV6_UDP |
ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_DST_ONLY,
&hdrs_hint_ipv6_dst_udp_dst_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_UDP, ETH_RSS_NONFRAG_IPV6_UDP |
- ETH_RSS_L3_DST_ONLY, &hdrs_hint_ipv6_dst,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_UDP, ETH_RSS_L4_SRC_ONLY,
+ {IAVF_PHINT_IPV6_UDP, ETH_RSS_NONFRAG_IPV6_UDP | ETH_RSS_L3_DST_ONLY,
+ &hdrs_hint_ipv6_dst, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV6_UDP, ETH_RSS_L4_SRC_ONLY,
&hdrs_hint_ipv6_udp_src_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_UDP, ETH_RSS_L4_DST_ONLY,
+ {IAVF_PHINT_IPV6_UDP, ETH_RSS_L4_DST_ONLY,
&hdrs_hint_ipv6_udp_dst_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_UDP, ETH_RSS_PFCP,
- &hdrs_hint_ipv6_pfcp, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_UDP, ETH_RSS_NONFRAG_IPV6_UDP,
+ {IAVF_PHINT_IPV6_UDP, ETH_RSS_NONFRAG_IPV6_UDP | ETH_RSS_L4_SRC_ONLY,
+ &hdrs_hint_ipv6_udp_src_port, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV6_UDP, ETH_RSS_NONFRAG_IPV6_UDP | ETH_RSS_L4_DST_ONLY,
+ &hdrs_hint_ipv6_udp_dst_port, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV6_UDP, ETH_RSS_NONFRAG_IPV6_UDP,
&hdrs_hint_ipv6_udp, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV6_UDP, ETH_RSS_PFCP,
+ &hdrs_hint_ipv6_pfcp, IAVF_GTPU_HINT_NONE},
/* IPV6 TCP */
- {IAVF_PATTERN_HINT_IPV6_TCP, ETH_RSS_L3_SRC_ONLY |
- ETH_RSS_L4_SRC_ONLY, &hdrs_hint_ipv6_src_tcp_src_port,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_TCP, ETH_RSS_L3_SRC_ONLY |
- ETH_RSS_L4_DST_ONLY, &hdrs_hint_ipv6_src_tcp_dst_port,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_TCP, ETH_RSS_L3_SRC_ONLY,
+ {IAVF_PHINT_IPV6_TCP, ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY,
+ &hdrs_hint_ipv6_src_tcp_src_port, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV6_TCP, ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY,
+ &hdrs_hint_ipv6_src_tcp_dst_port, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV6_TCP, ETH_RSS_L3_SRC_ONLY,
&hdrs_hint_ipv6_src, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_TCP, ETH_RSS_L3_DST_ONLY |
- ETH_RSS_L4_SRC_ONLY, &hdrs_hint_ipv6_dst_tcp_src_port,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_TCP, ETH_RSS_L3_DST_ONLY |
- ETH_RSS_L4_DST_ONLY, &hdrs_hint_ipv6_dst_tcp_dst_port,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_TCP, ETH_RSS_L3_DST_ONLY,
+ {IAVF_PHINT_IPV6_TCP, ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_SRC_ONLY,
+ &hdrs_hint_ipv6_dst_tcp_src_port, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV6_TCP, ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_DST_ONLY,
+ &hdrs_hint_ipv6_dst_tcp_dst_port, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV6_TCP, ETH_RSS_L3_DST_ONLY,
&hdrs_hint_ipv6_dst, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_TCP, ETH_RSS_NONFRAG_IPV6_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_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_TCP, ETH_RSS_NONFRAG_IPV6_TCP |
+ {IAVF_PHINT_IPV6_TCP, ETH_RSS_NONFRAG_IPV6_TCP |
ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY,
&hdrs_hint_ipv6_src_tcp_dst_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_TCP, ETH_RSS_NONFRAG_IPV6_TCP |
- ETH_RSS_L3_SRC_ONLY, &hdrs_hint_ipv6_src,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_TCP, ETH_RSS_NONFRAG_IPV6_TCP |
+ {IAVF_PHINT_IPV6_TCP, ETH_RSS_NONFRAG_IPV6_TCP | ETH_RSS_L3_SRC_ONLY,
+ &hdrs_hint_ipv6_src, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV6_TCP, ETH_RSS_NONFRAG_IPV6_TCP |
ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_SRC_ONLY,
&hdrs_hint_ipv6_dst_tcp_src_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_TCP, ETH_RSS_NONFRAG_IPV6_TCP |
+ {IAVF_PHINT_IPV6_TCP, ETH_RSS_NONFRAG_IPV6_TCP |
ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_DST_ONLY,
&hdrs_hint_ipv6_dst_tcp_dst_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_TCP, ETH_RSS_NONFRAG_IPV6_TCP |
- ETH_RSS_L3_DST_ONLY, &hdrs_hint_ipv6_dst,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_TCP, ETH_RSS_L4_SRC_ONLY,
+ {IAVF_PHINT_IPV6_TCP, ETH_RSS_NONFRAG_IPV6_TCP | ETH_RSS_L3_DST_ONLY,
+ &hdrs_hint_ipv6_dst, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV6_TCP, ETH_RSS_L4_SRC_ONLY,
&hdrs_hint_ipv6_tcp_src_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_TCP, ETH_RSS_L4_DST_ONLY,
+ {IAVF_PHINT_IPV6_TCP, ETH_RSS_L4_DST_ONLY,
&hdrs_hint_ipv6_tcp_dst_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_TCP, ETH_RSS_NONFRAG_IPV6_TCP,
+ {IAVF_PHINT_IPV6_TCP, ETH_RSS_NONFRAG_IPV6_TCP | ETH_RSS_L4_SRC_ONLY,
+ &hdrs_hint_ipv6_tcp_src_port, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV6_TCP, ETH_RSS_NONFRAG_IPV6_TCP | ETH_RSS_L4_DST_ONLY,
+ &hdrs_hint_ipv6_tcp_dst_port, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV6_TCP, ETH_RSS_NONFRAG_IPV6_TCP,
&hdrs_hint_ipv6_tcp, IAVF_GTPU_HINT_NONE},
/* IPV6 SCTP */
- {IAVF_PATTERN_HINT_IPV6_SCTP, ETH_RSS_L3_SRC_ONLY |
- ETH_RSS_L4_SRC_ONLY, &hdrs_hint_ipv6_src_sctp_src_port,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_SCTP, ETH_RSS_L3_SRC_ONLY |
- ETH_RSS_L4_DST_ONLY, &hdrs_hint_ipv6_src_sctp_dst_port,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_SCTP, ETH_RSS_L3_SRC_ONLY,
+ {IAVF_PHINT_IPV6_SCTP, ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY,
+ &hdrs_hint_ipv6_src_sctp_src_port, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV6_SCTP, ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY,
+ &hdrs_hint_ipv6_src_sctp_dst_port, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV6_SCTP, ETH_RSS_L3_SRC_ONLY,
&hdrs_hint_ipv6_src, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_SCTP, ETH_RSS_L3_DST_ONLY |
- ETH_RSS_L4_SRC_ONLY, &hdrs_hint_ipv6_dst_sctp_src_port,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_SCTP, ETH_RSS_L3_DST_ONLY |
- ETH_RSS_L4_DST_ONLY, &hdrs_hint_ipv6_dst_sctp_dst_port,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_SCTP, ETH_RSS_L3_DST_ONLY,
+ {IAVF_PHINT_IPV6_SCTP, ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_SRC_ONLY,
+ &hdrs_hint_ipv6_dst_sctp_src_port, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV6_SCTP, ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_DST_ONLY,
+ &hdrs_hint_ipv6_dst_sctp_dst_port, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV6_SCTP, ETH_RSS_L3_DST_ONLY,
&hdrs_hint_ipv6_dst, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_SCTP, ETH_RSS_NONFRAG_IPV6_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_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_SCTP, ETH_RSS_NONFRAG_IPV6_SCTP |
+ {IAVF_PHINT_IPV6_SCTP, ETH_RSS_NONFRAG_IPV6_SCTP |
ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY,
&hdrs_hint_ipv6_src_sctp_dst_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_SCTP, ETH_RSS_NONFRAG_IPV6_SCTP |
- ETH_RSS_L3_SRC_ONLY, &hdrs_hint_ipv6_src,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_SCTP, ETH_RSS_NONFRAG_IPV6_SCTP |
+ {IAVF_PHINT_IPV6_SCTP, ETH_RSS_NONFRAG_IPV6_SCTP | ETH_RSS_L3_SRC_ONLY,
+ &hdrs_hint_ipv6_src, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV6_SCTP, ETH_RSS_NONFRAG_IPV6_SCTP |
ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_SRC_ONLY,
&hdrs_hint_ipv6_dst_sctp_src_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_SCTP, ETH_RSS_NONFRAG_IPV6_SCTP |
+ {IAVF_PHINT_IPV6_SCTP, ETH_RSS_NONFRAG_IPV6_SCTP |
ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_DST_ONLY,
&hdrs_hint_ipv6_dst_sctp_dst_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_SCTP, ETH_RSS_NONFRAG_IPV6_SCTP |
- ETH_RSS_L3_DST_ONLY, &hdrs_hint_ipv6_dst,
- IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_SCTP, ETH_RSS_L4_SRC_ONLY,
+ {IAVF_PHINT_IPV6_SCTP, ETH_RSS_NONFRAG_IPV6_SCTP | ETH_RSS_L3_DST_ONLY,
+ &hdrs_hint_ipv6_dst, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV6_SCTP, ETH_RSS_L4_SRC_ONLY,
+ &hdrs_hint_ipv6_sctp_src_port, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV6_SCTP, ETH_RSS_L4_DST_ONLY,
+ &hdrs_hint_ipv6_sctp_dst_port, IAVF_GTPU_HINT_NONE},
+ {IAVF_PHINT_IPV6_SCTP, ETH_RSS_NONFRAG_IPV6_SCTP | ETH_RSS_L4_SRC_ONLY,
&hdrs_hint_ipv6_sctp_src_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_SCTP, ETH_RSS_L4_DST_ONLY,
+ {IAVF_PHINT_IPV6_SCTP, ETH_RSS_NONFRAG_IPV6_SCTP | ETH_RSS_L4_DST_ONLY,
&hdrs_hint_ipv6_sctp_dst_port, IAVF_GTPU_HINT_NONE},
- {IAVF_PATTERN_HINT_IPV6_SCTP, ETH_RSS_NONFRAG_IPV6_SCTP,
+ {IAVF_PHINT_IPV6_SCTP, ETH_RSS_NONFRAG_IPV6_SCTP,
&hdrs_hint_ipv6_sctp, IAVF_GTPU_HINT_NONE},
+ /* GTPU */
+ /* Inner IPV4 */
+ {IAVF_PHINT_IPV4_GTPU_IPV4, ETH_RSS_L3_SRC_ONLY |
+ ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_udp_src_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4, ETH_RSS_L3_SRC_ONLY |
+ ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_udp_src_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4, ETH_RSS_L3_SRC_ONLY |
+ ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_udp_dst_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4, ETH_RSS_L3_SRC_ONLY |
+ ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_udp_dst_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4, ETH_RSS_L3_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4, ETH_RSS_L3_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4, ETH_RSS_L3_DST_ONLY |
+ ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_udp_src_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4, ETH_RSS_L3_DST_ONLY |
+ ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_udp_src_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4, ETH_RSS_L3_DST_ONLY |
+ ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_udp_dst_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4, ETH_RSS_L3_DST_ONLY |
+ ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_udp_dst_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4, ETH_RSS_L3_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4, ETH_RSS_L3_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_udp_src_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_udp_src_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_udp_dst_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_udp_dst_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_udp_src_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_udp_src_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_udp_dst_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_udp_dst_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ /* Inner IPV4->UDP */
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_L3_SRC_ONLY |
+ ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_udp_src_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_L3_SRC_ONLY |
+ ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_udp_src_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_L3_SRC_ONLY |
+ ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_udp_dst_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_L3_SRC_ONLY |
+ ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_udp_dst_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_L3_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_L3_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_udp_src_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_udp_src_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_L3_DST_ONLY |
+ ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_udp_src_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_L3_DST_ONLY |
+ ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_udp_src_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_L3_DST_ONLY |
+ ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_udp_dst_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_L3_DST_ONLY |
+ ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_udp_dst_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_L3_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_L3_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_udp_dst_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_udp_dst_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_udp_src_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_udp_src_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_udp_dst_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_udp_dst_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_udp_src_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_udp_src_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_udp_src_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_udp_src_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_udp_dst_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_udp_dst_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_udp_dst_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_UDP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_udp_dst_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ /* Inner IPV4->TCP */
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_L3_SRC_ONLY |
+ ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_udp_src_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_L3_SRC_ONLY |
+ ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_udp_src_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_L3_SRC_ONLY |
+ ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_udp_dst_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_L3_SRC_ONLY |
+ ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_udp_dst_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_L3_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_L3_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_tcp_src_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_tcp_src_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_L3_DST_ONLY |
+ ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_udp_src_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_L3_DST_ONLY |
+ ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_udp_src_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_L3_DST_ONLY |
+ ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_udp_dst_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_L3_DST_ONLY |
+ ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_udp_dst_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_L3_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_L3_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_tcp_dst_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_tcp_dst_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_udp_src_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_udp_src_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_udp_dst_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_udp_dst_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_src_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_tcp_src_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_tcp_src_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_udp_src_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_SRC_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_udp_src_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_udp_dst_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_udp_dst_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L3_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_dst_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_tcp_dst_gtpu_up, IAVF_GTPU_HINT_UPLINK},
+ {IAVF_PHINT_IPV4_GTPU_IPV4_TCP, ETH_RSS_NONFRAG_IPV4_UDP |
+ ETH_RSS_L4_DST_ONLY | ETH_RSS_GTPU,
+ &hdrs_hint_ipv4_tcp_dst_gtpu_dwn, IAVF_GTPU_HINT_DOWNLINK},
};
struct virtchnl_proto_hdrs *iavf_hash_default_hdrs[] = {
--
2.20.1
prev parent reply other threads:[~2020-06-05 3:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-03 7:37 [dpdk-dev] " Jeff Guo
2020-06-05 3:58 ` Jeff Guo [this message]
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=20200605035800.65277-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=qi.z.zhang@intel.com \
--cc=xiaolong.ye@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).