[dpdk-dev] [dpdk-dev v1] net/iavf: add gtpu hash in default

Jeff Guo jia.guo at intel.com
Fri Jul 24 04:21:52 CEST 2020


Add GTPU_IP and GTPU_EH hash in default.

Signed-off-by: Jeff Guo <jia.guo at intel.com>
---
 drivers/net/iavf/iavf_hash.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/drivers/net/iavf/iavf_hash.c b/drivers/net/iavf/iavf_hash.c
index 40bb9dddc..8c7f13b01 100644
--- a/drivers/net/iavf/iavf_hash.c
+++ b/drivers/net/iavf/iavf_hash.c
@@ -3991,6 +3991,18 @@ struct virtchnl_proto_hdrs *iavf_hash_default_hdrs[] = {
 	&hdrs_hint_ipv6_udp,
 	&hdrs_hint_ipv6_tcp,
 	&hdrs_hint_ipv6_sctp,
+	&hdrs_hint_ipv4_gtpu_ip,
+	&hdrs_hint_ipv4_udp_gtpu_ip,
+	&hdrs_hint_ipv4_tcp_gtpu_ip,
+	&hdrs_hint_ipv4_gtpu_eh,
+	&hdrs_hint_ipv4_udp_gtpu_eh,
+	&hdrs_hint_ipv4_tcp_gtpu_eh,
+	&hdrs_hint_ipv6_gtpu_ip,
+	&hdrs_hint_ipv6_udp_gtpu_ip,
+	&hdrs_hint_ipv6_tcp_gtpu_ip,
+	&hdrs_hint_ipv6_gtpu_eh,
+	&hdrs_hint_ipv6_udp_gtpu_eh,
+	&hdrs_hint_ipv6_tcp_gtpu_eh,
 };
 
 static struct iavf_flow_engine iavf_hash_engine = {
-- 
2.20.1



More information about the dev mailing list