Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/64664/?format=api
http://patches.dpdk.org/api/patches/64664/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1579010128-15794-13-git-send-email-bernard.iremonger@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": "<1579010128-15794-13-git-send-email-bernard.iremonger@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1579010128-15794-13-git-send-email-bernard.iremonger@intel.com", "date": "2020-01-14T13:55:26", "name": "[v5,12/14] librte_ethdev: add ESP and AH flow types to RSS", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "5f4a60a87c49f8273fc179c831fe6322b3eee786", "submitter": { "id": 91, "url": "http://patches.dpdk.org/api/people/91/?format=api", "name": "Iremonger, Bernard", "email": "bernard.iremonger@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/1579010128-15794-13-git-send-email-bernard.iremonger@intel.com/mbox/", "series": [ { "id": 8053, "url": "http://patches.dpdk.org/api/series/8053/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=8053", "date": "2020-01-10T15:20:16", "name": "net/i40e: ESP support", "version": 4, "mbox": "http://patches.dpdk.org/series/8053/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/64664/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/64664/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 521F0A04FF;\n\tTue, 14 Jan 2020 14:57:26 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 756BA1C201;\n\tTue, 14 Jan 2020 14:56:05 +0100 (CET)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by dpdk.org (Postfix) with ESMTP id 61BA61C1E8\n for <dev@dpdk.org>; Tue, 14 Jan 2020 14:55:57 +0100 (CET)", "from fmsmga005.fm.intel.com ([10.253.24.32])\n by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n 14 Jan 2020 05:55:57 -0800", "from sivswdev08.ir.intel.com (HELO localhost.localdomain)\n ([10.237.217.47])\n by fmsmga005.fm.intel.com with ESMTP; 14 Jan 2020 05:55:55 -0800" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.69,432,1571727600\"; d=\"scan'208\";a=\"423160575\"", "From": "Bernard Iremonger <bernard.iremonger@intel.com>", "To": "dev@dpdk.org, beilei.xing@intel.com, qi.z.zhang@intel.com,\n declan.doherty@intel.com", "Cc": "konstantin.ananyev@intel.com, stephen1.byrne@intel.com,\n helin.zhang@intel.com, Bernard Iremonger <bernard.iremonger@intel.com>", "Date": "Tue, 14 Jan 2020 13:55:26 +0000", "Message-Id": "<1579010128-15794-13-git-send-email-bernard.iremonger@intel.com>", "X-Mailer": "git-send-email 1.7.0.7", "In-Reply-To": "<1578669630-23866-1-git-send-email-bernard.iremonger@intel.com>", "References": "<1578669630-23866-1-git-send-email-bernard.iremonger@intel.com>", "Subject": "[dpdk-dev] [PATCH v5 12/14] librte_ethdev: add ESP and AH flow\n\ttypes to RSS", "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": "Add macros for the following protocols in the DDP esp-ah profile:\nESP\nAH\n\nAdd the following RSS macro for IPsec:\nETH_RSS_IPSEC\n\nSigned-off-by: Bernard Iremonger <bernard.iremonger@intel.com>\n---\n lib/librte_ethdev/rte_ethdev.h | 14 +++++++++++++-\n 1 file changed, 13 insertions(+), 1 deletion(-)", "diff": "diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h\nindex 18a9def..208ec90 100644\n--- a/lib/librte_ethdev/rte_ethdev.h\n+++ b/lib/librte_ethdev/rte_ethdev.h\n@@ -484,7 +484,9 @@ struct rte_eth_rss_conf {\n #define RTE_ETH_FLOW_NVGRE 21 /**< NVGRE protocol based flow */\n #define RTE_ETH_FLOW_VXLAN_GPE 22 /**< VXLAN-GPE protocol based flow */\n #define RTE_ETH_FLOW_GTPU 23 /**< GTPU protocol based flow */\n-#define RTE_ETH_FLOW_MAX 24\n+#define RTE_ETH_FLOW_AH 24 /**< AH protocol based flow */\n+#define RTE_ETH_FLOW_ESP 25 /**< ESP protocol based flow */\n+#define RTE_ETH_FLOW_MAX 26\n \n /*\n * Below macros are defined for RSS offload types, they can be used to\n@@ -511,6 +513,12 @@ 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_AH (1ULL << 24)\n+#define ETH_RSS_ESP (1ULL << 25)\n+\n+\n+\n+\n \n /*\n * We use the following macros to combine with above ETH_RSS_* for\n@@ -571,6 +579,10 @@ rte_eth_rss_hf_refine(uint64_t rss_hf)\n \tETH_RSS_NONFRAG_IPV4_SCTP | \\\n \tETH_RSS_NONFRAG_IPV6_SCTP)\n \n+#define ETH_RSS_IPSEC ( \\\n+\tETH_RSS_AH | \\\n+\tETH_RSS_ESP)\n+\n #define ETH_RSS_TUNNEL ( \\\n \tETH_RSS_VXLAN | \\\n \tETH_RSS_GENEVE | \\\n", "prefixes": [ "v5", "12/14" ] }{ "id": 64664, "url": "