From patchwork Thu Mar 26 16:40:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Guo, Jia" X-Patchwork-Id: 67195 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 7BE5BA057C; Thu, 26 Mar 2020 08:45:02 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7587D1C02A; Thu, 26 Mar 2020 08:45:01 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id D3A8C378E for ; Thu, 26 Mar 2020 08:44:59 +0100 (CET) IronPort-SDR: PcFI89uwBSrIi/uOBU8obDvepfd6OU8MCNg9y1/q44oHpr+DlMDyfWkHDFHdopWtN6zMdOb5N5 n4Mj/ArpHRBg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2020 00:44:58 -0700 IronPort-SDR: uFlbncvjQ9u4/fp7ZY69gPQQw8yrDtpuUk3aKVx/b+X03Iz8/Jz/mYRFc1rPN2Nc27fGxl/cLM M76Clx0Y/UXQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,307,1580803200"; d="scan'208";a="393891830" Received: from npg-dpdk-cvl-jeffguo-01.sh.intel.com ([10.67.111.128]) by orsmga004.jf.intel.com with ESMTP; 26 Mar 2020 00:44:56 -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: Thu, 26 Mar 2020 12:40:35 -0400 Message-Id: <20200326164039.36687-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 Subject: [dpdk-dev] [dpdk-dev v2 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 v1: 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 + drivers/net/iavf/Makefile | 1 + drivers/net/iavf/iavf.h | 10 + drivers/net/iavf/iavf_hash.c | 1157 ++++++++++++++++++++++++++++++++ drivers/net/iavf/iavf_vchnl.c | 33 +- drivers/net/iavf/meson.build | 1 + lib/librte_ethdev/rte_ethdev.h | 11 +- 9 files changed, 1247 insertions(+), 9 deletions(-) create mode 100644 drivers/net/iavf/iavf_hash.c