Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/68152/?format=api
https://patches.dpdk.org/api/patches/68152/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200411000945.15311-2-jia.guo@intel.com/", "project": { "id": 1, "url": "https://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": "<20200411000945.15311-2-jia.guo@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200411000945.15311-2-jia.guo@intel.com", "date": "2020-04-11T00:09:42", "name": "[v3,1/4] ethdev: add new RSS offload types", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "20d05e71f64db4df1f2b3d2be932297b4f9b5ed2", "submitter": { "id": 507, "url": "https://patches.dpdk.org/api/people/507/?format=api", "name": "Guo, Jia", "email": "jia.guo@intel.com" }, "delegate": { "id": 31221, "url": "https://patches.dpdk.org/api/users/31221/?format=api", "username": "yexl", "first_name": "xiaolong", "last_name": "ye", "email": "xiaolong.ye@intel.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20200411000945.15311-2-jia.guo@intel.com/mbox/", "series": [ { "id": 9306, "url": "https://patches.dpdk.org/api/series/9306/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=9306", "date": "2020-04-11T00:09:41", "name": "add RSS configuration for iavf", "version": 3, "mbox": "https://patches.dpdk.org/series/9306/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/68152/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/68152/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 1C79AA059F;\n\tFri, 10 Apr 2020 17:13:41 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 49F391D156;\n\tFri, 10 Apr 2020 17:13:36 +0200 (CEST)", "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by dpdk.org (Postfix) with ESMTP id 28C6F1C29C\n for <dev@dpdk.org>; Fri, 10 Apr 2020 17:13:34 +0200 (CEST)", "from fmsmga005.fm.intel.com ([10.253.24.32])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Apr 2020 08:13:33 -0700", "from npg-dpdk-cvl-jeffguo-01.sh.intel.com ([10.67.111.128])\n by fmsmga005.fm.intel.com with ESMTP; 10 Apr 2020 08:13:32 -0700" ], "IronPort-SDR": [ "\n 2oY0kTZ86nW/xi44rrii3q9wFisXMwjNDrormOofny5Doh22onNceJBvt8FmeVbhoat41j59wv\n JubbGAbGoyFA==", "\n 1oYzFEZrTfcAlWwFW8NLws+C9MzcIyGc9AhlW24ltLvf1S7JBgIIo7MuK4tWfBZfIbmSQt1YRS\n KYi1U0mI2kjA==" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.72,367,1580803200\"; d=\"scan'208\";a=\"452407757\"", "From": "Jeff Guo <jia.guo@intel.com>", "To": "xiaolong.ye@intel.com,\n\tqi.z.zhang@intel.com", "Cc": "dev@dpdk.org, jingjing.wu@intel.com, yahui.cao@intel.com,\n simei.su@intel.com, jia.guo@intel.com", "Date": "Fri, 10 Apr 2020 20:09:42 -0400", "Message-Id": "<20200411000945.15311-2-jia.guo@intel.com>", "X-Mailer": "git-send-email 2.20.1", "In-Reply-To": "<20200411000945.15311-1-jia.guo@intel.com>", "References": "<20200318170401.7938-5-jia.guo@intel.com>\n <20200411000945.15311-1-jia.guo@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [dpdk-dev v3 1/4] 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/SVLAN/CVLAN/GTPU/L2TPV3/\nESP/AH/PFCP.\n\nSigned-off-by: Jeff Guo <jia.guo@intel.com>\n---\nv3->v2:\n1.refine rss offload types.\n---\n\n lib/librte_ethdev/rte_ethdev.h | 11 ++++++++++-\n 1 file changed, 10 insertions(+), 1 deletion(-)", "diff": "diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h\nindex d1a593ad1..efe705ff0 100644\n--- a/lib/librte_ethdev/rte_ethdev.h\n+++ b/lib/librte_ethdev/rte_ethdev.h\n@@ -511,6 +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_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 * We use the following macros to combine with above ETH_RSS_* for\n@@ -524,7 +531,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_ETH_SRC_ONLY\t (1ULL << 59)\n+#define ETH_RSS_ETH_DST_ONLY\t (1ULL << 58)\n \n /**\n * For input set change of hash filter, if SRC_ONLY and DST_ONLY of\n", "prefixes": [ "v3", "1/4" ] }{ "id": 68152, "url": "