net/iavf: add GTPU in default hash
authorJeff Guo <jia.guo@intel.com>
Fri, 24 Jul 2020 02:21:52 +0000 (10:21 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 29 Jul 2020 22:41:23 +0000 (00:41 +0200)
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>
drivers/net/iavf/iavf_hash.c

index dfc6822..5cca83e 100644 (file)
@@ -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 = {