Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/69030/?format=api
http://patches.dpdk.org/api/patches/69030/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200422010255.76137-2-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-2-jia.guo@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200422010255.76137-2-jia.guo@intel.com", "date": "2020-04-22T01:02:53", "name": "[v8,1/3] ethdev: add new RSS offload types", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "c163898f75b3b9b8f6141e87d04a7ac325c3938f", "submitter": { "id": 507, "url": "http://patches.dpdk.org/api/people/507/?format=api", "name": "Guo, Jia", "email": "jia.guo@intel.com" }, "delegate": { "id": 319, "url": "http://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200422010255.76137-2-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/patches/69030/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/69030/checks/", "tags": {}, "related": [], "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 DA878A0597;\n\tTue, 21 Apr 2020 15:04:55 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 1ED031D59A;\n\tTue, 21 Apr 2020 15:03:43 +0200 (CEST)", "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n by dpdk.org (Postfix) with ESMTP id 485AC1D59A\n for <dev@dpdk.org>; Tue, 21 Apr 2020 15:03:38 +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:37 -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:35 -0700" ], "IronPort-SDR": [ "\n SZK8e5AWiq4yFyu5eQO5xBS/nDfGzZh3s+R0il2xsd11LZmYo4iNaMya4DV6y2uMnpRqa5LYJj\n aZFwYBDFvHfw==", "\n vAbF+9WZYC9tPUDsGVZxJZAPGczvffSmNv2gpaWa8B4AZ3DsY97ZcvEfB7vLmFapFxudIonuju\n NS1fWQIkiSng==" ], "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=\"279630555\"", "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:53 -0400", "Message-Id": "<20200422010255.76137-2-jia.guo@intel.com>", "X-Mailer": "git-send-email 2.20.1", "In-Reply-To": "<20200422010255.76137-1-jia.guo@intel.com>", "References": "<20200318170401.7938-5-jia.guo@intel.com>\n <20200422010255.76137-1-jia.guo@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [dpdk-dev v8 1/3] ethdev: add new RSS offload types", "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": "Defines some new RSS offload types for ETH/S_VLAN/C_VLAN/L2TPV3/\n/PFCP/L2_SRC_ONLY/L2_DST_ONLY.\n\nSigned-off-by: Jeff Guo <jia.guo@intel.com>\nReviewed-by: Qi Zhang <qi.z.zhang@intel.com>\nReviewed-by: Bernard Iremonger <bernard.iremonger@intel.com>\nAcked-by: Ori Kam <orika@mellanox.com>\n---\nv8->v7:\nno change.\n---\n lib/librte_ethdev/rte_ethdev.h | 17 ++++++++++++++---\n 1 file changed, 14 insertions(+), 3 deletions(-)", "diff": "diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h\nindex 8d69b88f9..3f034efd6 100644\n--- a/lib/librte_ethdev/rte_ethdev.h\n+++ b/lib/librte_ethdev/rte_ethdev.h\n@@ -511,8 +511,13 @@ struct rte_eth_rss_conf {\n #define ETH_RSS_GENEVE (1ULL << 20)\n #define ETH_RSS_NVGRE (1ULL << 21)\n #define ETH_RSS_GTPU (1ULL << 23)\n-#define ETH_RSS_ESP (1ULL << 27)\n-#define ETH_RSS_AH (1ULL << 28)\n+#define ETH_RSS_ETH\t\t (1ULL << 24)\n+#define ETH_RSS_S_VLAN\t\t (1ULL << 25)\n+#define ETH_RSS_C_VLAN\t\t (1ULL << 26)\n+#define ETH_RSS_ESP\t\t (1ULL << 27)\n+#define ETH_RSS_AH\t\t (1ULL << 28)\n+#define ETH_RSS_L2TPV3\t\t (1ULL << 29)\n+#define ETH_RSS_PFCP\t\t (1ULL << 30)\n \n \n /*\n@@ -527,7 +532,9 @@ struct rte_eth_rss_conf {\n #define ETH_RSS_L3_SRC_ONLY (1ULL << 63)\n #define ETH_RSS_L3_DST_ONLY (1ULL << 62)\n #define ETH_RSS_L4_SRC_ONLY (1ULL << 61)\n-#define ETH_RSS_L4_DST_ONLY (1ULL << 60)\n+#define ETH_RSS_L4_DST_ONLY\t (1ULL << 60)\n+#define ETH_RSS_L2_SRC_ONLY\t (1ULL << 59)\n+#define ETH_RSS_L2_DST_ONLY\t (1ULL << 58)\n \n /**\n * For input set change of hash filter, if SRC_ONLY and DST_ONLY of\n@@ -579,6 +586,10 @@ rte_eth_rss_hf_refine(uint64_t rss_hf)\n \tETH_RSS_GENEVE | \\\n \tETH_RSS_NVGRE)\n \n+#define ETH_RSS_VLAN ( \\\n+\tETH_RSS_S_VLAN | \\\n+\tETH_RSS_C_VLAN)\n+\n /**< Mask of valid RSS hash protocols */\n #define ETH_RSS_PROTO_MASK ( \\\n \tETH_RSS_IPV4 | \\\n", "prefixes": [ "v8", "1/3" ] }{ "id": 69030, "url": "