Cover Detail
Show a cover letter.
GET /api/covers/69029/?format=api
http://patches.dpdk.org/api/covers/69029/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/cover/20200422010255.76137-1-jia.guo@intel.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20200422010255.76137-1-jia.guo@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200422010255.76137-1-jia.guo@intel.com", "date": "2020-04-22T01:02:52", "name": "[v8,0/3] add RSS configuration for iavf", "submitter": { "id": 507, "url": "http://patches.dpdk.org/api/people/507/?format=api", "name": "Guo, Jia", "email": "jia.guo@intel.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/cover/20200422010255.76137-1-jia.guo@intel.com/mbox/", "series": [ { "id": 9544, "url": "http://patches.dpdk.org/api/series/9544/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=9544", "date": "2020-04-22T01:02:52", "name": "add RSS configuration for iavf", "version": 8, "mbox": "http://patches.dpdk.org/series/9544/mbox/" } ], "comments": "http://patches.dpdk.org/api/covers/69029/comments/", "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 3D8FCA0597;\n\tTue, 21 Apr 2020 15:04:41 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id C96381D5D7;\n\tTue, 21 Apr 2020 15:03:37 +0200 (CEST)", "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n by dpdk.org (Postfix) with ESMTP id E034E1D5AD\n for <dev@dpdk.org>; Tue, 21 Apr 2020 15:03:35 +0200 (CEST)", "from fmsmga004.fm.intel.com ([10.253.24.48])\n by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 21 Apr 2020 06:03:35 -0700", "from npg-dpdk-cvl-jeffguo-01.sh.intel.com ([10.67.111.128])\n by fmsmga004.fm.intel.com with ESMTP; 21 Apr 2020 06:03:32 -0700" ], "IronPort-SDR": [ "\n XgMYJq+hRu3hqRJcEdHH6yf/B2maDjyoZgf/8SwlZBsU+6k30mKFlFHq7MoGiCTuyIVWmiscWZ\n nK1iVB4/0Gnw==", "\n dpW7FkJAM++r0VmPYFVhU6MHxZ2/rzdCedsvuhAsaiFI8lPYQXCZGTpB4MtwIK3nws24JcUuT2\n E3/FG4vjF7Lg==" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.72,410,1580803200\"; d=\"scan'208\";a=\"279630540\"", "From": "Jeff Guo <jia.guo@intel.com>", "To": "bernard.iremonger@intel.com, orika@mellanox.com, wenzhuo.lu@intel.com,\n stephen@networkplumber.org, qi.z.zhang@intel.com, jingjing.wu@intel.com", "Cc": "beilei.xing@intel.com, xiaolong.ye@intel.com, dev@dpdk.org,\n yahui.cao@intel.com, simei.su@intel.com, jia.guo@intel.com", "Date": "Tue, 21 Apr 2020 21:02:52 -0400", "Message-Id": "<20200422010255.76137-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 v8 0/3] add RSS configuration for iavf", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Because the VF must be capable of configuring RSS, so add RSS configuration\nfor iavf, VFs could add or delete a RSS rule base on the PF's capability.\nThe supported protocol rss input set as below.\n\nl2-src-only/\nl2-dst-only/\nsvlan/\ncvlan/\nipv4/\nipv6/\nl3_src_only/\nl3_dst_only/\nl2tpv3/\nesp/\nah/\npfcp/\ngtpu down/\ngtpu up/\nudp/\ntcp/\nsctp/\n\nuse tespmd for example:\ntestpmd> flow create 0 ingress pattern eth / ipv4 / end actions rss types l3-src-only end key_len 0 queues end / end\n\nuse scapy for example:\n> sendp(Ether(dst=\"00:01:23:45:67:01\")/IP(src=RandIP())/Raw('x'*20),iface=\"ens785f1\",loop=1,inter=0.3)\n\nthe expect result:\nthe rss hash works and the packets will go to difference queue for load balance.\n\nThis patchset depends on below patch sets.\n(1)http://patches.dpdk.org/project/dpdk/list/?series=8950\n add generic filter support for iavf\n(2)http://patches.dpdk.org/project/dpdk/list/?series=9280\n iavf share code update\n(3)http://patches.dpdk.org/project/dpdk/list/?series=9244\n framework for advanced iAVF PMD\n\nv8:\n1.rebase patch and refine guide doc\n\nv7:\n1.rebase and add ETH_RSS_VLAN to cover ETH_RSS_S_VLAN and ETH_RSS_C_VLAN\n2.add misssing type and add change in doc for port rss configure.\n\nv6:\n1.rename some struct and type\n2.use pattern hint to distingush different layer for hash\n3.add some missing part and refine commit log\n\nv5:\n1.rename ETH_XXX to L2_XXX.\n2.NULL checking and commit log refine.\n\nv4:\n1.refine the rss type checking\n2.delete unnecessary pdu type item.\n\nv3:\n1.refince rss offload types.\n2.add doc in release note\n3.refine some naming base on virtchnl definition.\n4.move gtp pdu index from normal to special.\n\nv2:\n1.refine some rte eth rss offload types.\n2.add NAT T ESP and refine gtpu down/up\n3.reference some fixing patch from pf side.\n\nJeff Guo (3):\n ethdev: add new RSS offload types\n net/iavf: add RSS configuration for VFs\n app/testpmd: add new types to RSS hash commands\n\n app/test-pmd/cmdline.c | 34 +-\n app/test-pmd/config.c | 14 +-\n doc/guides/rel_notes/release_20_05.rst | 1 +\n doc/guides/testpmd_app_ug/testpmd_funcs.rst | 6 +-\n drivers/net/iavf/Makefile | 1 +\n drivers/net/iavf/iavf.h | 2 +\n drivers/net/iavf/iavf_hash.c | 1053 +++++++++++++++++++\n drivers/net/iavf/iavf_vchnl.c | 33 +-\n drivers/net/iavf/meson.build | 1 +\n lib/librte_ethdev/rte_ethdev.h | 17 +-\n 10 files changed, 1143 insertions(+), 19 deletions(-)\n create mode 100644 drivers/net/iavf/iavf_hash.c" }{ "id": 69029, "url": "