From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 11157A059F; Fri, 10 Apr 2020 17:13:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DFBD61C2EB; Fri, 10 Apr 2020 17:13:34 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 19A601C29C for ; Fri, 10 Apr 2020 17:13:32 +0200 (CEST) IronPort-SDR: XZJ4/eGsPe6EbvvfHqy3qtx3TdxbStL3cqaZnsEJYJdleQFP0UCO9jOTQb2eqfS4hvew+YqejV a+d92C57TN3w== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Apr 2020 08:13:32 -0700 IronPort-SDR: VbSVFJcav9ad1ewOIoG/QfK7mB759v4kkCdY12VLVLiumpoisqEHjT6abwjMjQnlbxT5yIBCYl /0FS8RREPEuA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,367,1580803200"; d="scan'208";a="452407753" Received: from npg-dpdk-cvl-jeffguo-01.sh.intel.com ([10.67.111.128]) by fmsmga005.fm.intel.com with ESMTP; 10 Apr 2020 08:13:30 -0700 From: Jeff Guo To: xiaolong.ye@intel.com, qi.z.zhang@intel.com Cc: dev@dpdk.org, jingjing.wu@intel.com, yahui.cao@intel.com, simei.su@intel.com, jia.guo@intel.com Date: Fri, 10 Apr 2020 20:09:41 -0400 Message-Id: <20200411000945.15311-1-jia.guo@intel.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200318170401.7938-5-jia.guo@intel.com> References: <20200318170401.7938-5-jia.guo@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [dpdk-dev v3 0/4] add RSS configuration for iavf 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" Because the VF must be capable of configuring RSS, so add RSS configuration for iavf. The supported protocol rss input set as below. eth-src-only/ eth-dst-only/ svlan/ cvlan/ ipv4/ ipv6/ l3_src_only/ l3_dst_only/ l2tpv3/ esp/ ah/ pfcp/ gtpu down/ gtpu up/ udp/ tcp/ sctp/ This patchset depends on below patch sets. (1)http://patches.dpdk.org/project/dpdk/list/?series=8950 add generic filter support for iavf (2)http://patches.dpdk.org/project/dpdk/list/?series=9280 iavf share code update (3)http://patches.dpdk.org/project/dpdk/list/?series=9244 framework for advanced iAVF PMD v3: 1.refince rss offload types. 2.add doc in release note 3.refine some naming base on virtchnl definition. 4.move gtp pdu index from normal to special. v2: 1.refine some rte eth rss offload types. 2.add NAT T ESP and refine gtpu down/up 3.reference some fixing patch from pf side. Jeff Guo (4): ethdev: add new RSS offload types net/iavf: add RSS configuration for VFs app/testpmd: support GTP PDU type app/testpmd: add new types to RSS hash commands app/test-pmd/cmdline.c | 24 +- app/test-pmd/cmdline_flow.c | 11 +- app/test-pmd/config.c | 8 + doc/guides/rel_notes/release_20_05.rst | 2 + drivers/net/iavf/Makefile | 1 + drivers/net/iavf/iavf.h | 2 + drivers/net/iavf/iavf_hash.c | 1108 ++++++++++++++++++++++++ drivers/net/iavf/iavf_vchnl.c | 33 +- drivers/net/iavf/meson.build | 1 + lib/librte_ethdev/rte_ethdev.h | 11 +- 10 files changed, 1192 insertions(+), 9 deletions(-) create mode 100644 drivers/net/iavf/iavf_hash.c -- 2.20.1