From patchwork Fri Jul 24 02:21:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Guo, Jia" X-Patchwork-Id: 74702 X-Patchwork-Delegate: qi.z.zhang@intel.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id CA310A0518; Fri, 24 Jul 2020 04:24:55 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E74AA1D641; Fri, 24 Jul 2020 04:24:54 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id DD3C11D63E for ; Fri, 24 Jul 2020 04:24:52 +0200 (CEST) IronPort-SDR: MOY3/28LhQWk4rgVBoIQu5ips+b5uLshiPMlY7wZxhVpQOQersXDGlNc+Xm8T6EzbNEEISfYzB P8ZR06pLaG4A== X-IronPort-AV: E=McAfee;i="6000,8403,9691"; a="150635708" X-IronPort-AV: E=Sophos;i="5.75,389,1589266800"; d="scan'208";a="150635708" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jul 2020 19:24:51 -0700 IronPort-SDR: R5Zsm5M/pWXa4/2jZPbRyulSQhlXOFPeJsmodXX5/ooAnQWiaWW+8wMm/XrqEeAeFm1aFcZFFk IQ87pdtXO9Ug== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,389,1589266800"; d="scan'208";a="488583022" Received: from npg-dpdk-cvl-jeffguo-01.sh.intel.com ([10.67.111.128]) by fmsmga006.fm.intel.com with ESMTP; 23 Jul 2020 19:24:49 -0700 From: Jeff Guo To: qi.z.zhang@intel.com, beilei.xing@intel.com, jingjing.wu@intel.com Cc: dev@dpdk.org, junfeng.guo@intel.com, simei.su@intel.com, jia.guo@intel.com Date: Fri, 24 Jul 2020 10:21:52 +0800 Message-Id: <20200724022152.42099-1-jia.guo@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [dpdk-dev] [dpdk-dev v1] net/iavf: add gtpu hash in default X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 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 = {