From c94366cfc641c6ae43d01c2ac4c6b8993817b356 Mon Sep 17 00:00:00 2001 From: Jeff Guo Date: Fri, 24 Jul 2020 10:21:52 +0800 Subject: [PATCH] net/iavf: add GTPU in default hash Add GTPU_IP and GTPU_EH hash in default. Signed-off-by: Jeff Guo Acked-by: Qi Zhang --- 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 dfc6822984..5cca83e226 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