From patchwork Wed Mar 18 17:03:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Guo, Jia" X-Patchwork-Id: 66833 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 3A2DDA0579; Wed, 18 Mar 2020 09:08:45 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8E717FEB; Wed, 18 Mar 2020 09:08:44 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 9DAFF3B5 for ; Wed, 18 Mar 2020 09:08:42 +0100 (CET) IronPort-SDR: OnbZ0VZf4qh/K4lhPX+2Qz27dry3fNl0/8eWQ7XKy64PVLzwV4iFQMA38XArOB/M/OEIejTxH9 mLvXDX6ubmtw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Mar 2020 01:08:41 -0700 IronPort-SDR: FBNNI30dnzKb1AiDWFFBiGC6cmnYuARxYxpEieiaz1Ez3SsMRZT2Nq/frfZx7WzAlZqZg1HBlE e9qBBzFEXh2g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,566,1574150400"; d="scan'208";a="417862936" Received: from npg-dpdk-cvl-jeffguo-01.sh.intel.com ([10.67.111.128]) by orsmga005.jf.intel.com with ESMTP; 18 Mar 2020 01:08:39 -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: Wed, 18 Mar 2020 13:03:57 -0400 Message-Id: <20200318170401.7938-1-jia.guo@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [dpdk-dev] [dpdk-dev 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=8961 net/iavf: support FDIR capabiltiy (2)http://patches.dpdk.org/project/dpdk/list/?series=8950 add generic filter support for iavf 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 + drivers/net/iavf/Makefile | 1 + drivers/net/iavf/iavf.h | 10 + drivers/net/iavf/iavf_hash.c | 1134 ++++++++++++++++++++++++++++++++ drivers/net/iavf/iavf_vchnl.c | 33 +- drivers/net/iavf/meson.build | 1 + lib/librte_ethdev/rte_ethdev.h | 12 +- 9 files changed, 1225 insertions(+), 9 deletions(-) create mode 100644 drivers/net/iavf/iavf_hash.c