[v1] net/iavf: add gtpu hash in default
diff mbox series

Message ID 20200724022152.42099-1-jia.guo@intel.com
State Accepted, archived
Delegated to: Qi Zhang
Headers show
Series
  • [v1] net/iavf: add gtpu hash in default
Related show

Checks

Context Check Description
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-testing success Testing PASS
ci/travis-robot success Travis build: passed
ci/Intel-compilation success Compilation OK
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-broadcom-Performance success Performance Testing PASS
ci/checkpatch success coding style OK

Commit Message

Jeff Guo July 24, 2020, 2:21 a.m. UTC
Add GTPU_IP and GTPU_EH hash in default.

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

Comments

Zhang, Qi Z July 24, 2020, 8:33 a.m. UTC | #1
> -----Original Message-----
> From: Guo, Jia <jia.guo@intel.com>
> Sent: Friday, July 24, 2020 10:22 AM
> To: Zhang, Qi Z <qi.z.zhang@intel.com>; Xing, Beilei <beilei.xing@intel.com>;
> Wu, Jingjing <jingjing.wu@intel.com>
> Cc: dev@dpdk.org; Guo, Junfeng <junfeng.guo@intel.com>; Su, Simei
> <simei.su@intel.com>; Guo, Jia <jia.guo@intel.com>
> Subject: [dpdk-dev v1] net/iavf: add gtpu hash in default
> 
> Add GTPU_IP and GTPU_EH hash in default.
> 
> Signed-off-by: Jeff Guo <jia.guo@intel.com>

Acked-by: Qi Zhang <qi.z.zhang@intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi

Patch
diff mbox series

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 = {