Skip to contentSkip to conversation

net/iavf: add gtpu hash in default

PATCH Applied Jeff Guo 2 participants 2 messages Jul 24, 2020 Network drivers

lore
Share & tools
lore

Jeff Guo

author
#0 lore raw

PATCH 1/1 net/iavf: add gtpu hash in default

Add GTPU_IP and GTPU_EH hash in default.

---
 drivers/net/iavf/iavf_hash.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)
drivers/net/iavf/iavf_hash.c +12 -0
index 40bb9dddc..8c7f13b01 100644
@@ -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 = {
Signature · 1 line
2.20.1
Acked-by on v1 1/1 Applied
#1 lore raw
Quoted 11 lines

-----Original Message-----
From: Guo, Jia <[email protected]>
Sent: Friday, July 24, 2020 10:22 AM
To: Zhang, Qi Z <[email protected]>; Xing, Beilei <[email protected]>; Wu, Jingjing <[email protected]>
Cc: [email protected]; Guo, Junfeng <[email protected]>; Su, Simei <[email protected]>; Guo, Jia <[email protected]>
Subject: [dpdk-dev v1] net/iavf: add gtpu hash in default

Quoted 3 lines

Add GTPU_IP and GTPU_EH hash in default.

Applied to dpdk-next-net-intel.

Thanks
Qi