get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/76173/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 76173,
    "url": "https://patches.dpdk.org/api/patches/76173/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200831064328.44412-1-alvinx.zhang@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": "<20200831064328.44412-1-alvinx.zhang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200831064328.44412-1-alvinx.zhang@intel.com",
    "date": "2020-08-31T06:43:28",
    "name": "[v2] net/iavf: support outer IP hash for GTPU",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "e05185974f88d61e02c8bd1b0a7e4d3fb30a1c1f",
    "submitter": {
        "id": 1398,
        "url": "https://patches.dpdk.org/api/people/1398/?format=api",
        "name": "Alvin Zhang",
        "email": "alvinx.zhang@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "https://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20200831064328.44412-1-alvinx.zhang@intel.com/mbox/",
    "series": [
        {
            "id": 11856,
            "url": "https://patches.dpdk.org/api/series/11856/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=11856",
            "date": "2020-08-31T06:43:28",
            "name": "[v2] net/iavf: support outer IP hash for GTPU",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/11856/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/76173/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/76173/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 C9857A04AB;\n\tMon, 31 Aug 2020 08:47:28 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 23942137D;\n\tMon, 31 Aug 2020 08:47:28 +0200 (CEST)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by dpdk.org (Postfix) with ESMTP id 0681FCF3\n for <dev@dpdk.org>; Mon, 31 Aug 2020 08:47:25 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 30 Aug 2020 23:47:24 -0700",
            "from shwdenpg235.ccr.corp.intel.com ([10.240.182.60])\n by orsmga002.jf.intel.com with ESMTP; 30 Aug 2020 23:47:22 -0700"
        ],
        "IronPort-SDR": [
            "\n fNa9D/9IVmlZTHFzKc598QK2u6xeuJjPKY9YPVGx308Ls79AVcPdLolCZSui+FLgh+TsPR8+UA\n 8pTRQXVn2YlA==",
            "\n gi8BvJxcxxRE7s+tWcWAs/sR/dek1+lW0gSSoCQbrBb0bWl13ASSnjqxyCp6C/WM+DskXzPG0x\n prhr5tr4z6LQ=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9729\"; a=\"144599260\"",
            "E=Sophos;i=\"5.76,374,1592895600\"; d=\"scan'208\";a=\"144599260\"",
            "E=Sophos;i=\"5.76,374,1592895600\"; d=\"scan'208\";a=\"314253243\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "alvinx.zhang@intel.com",
        "To": "jia.guo@intel.com,\n\tqi.z.zhang@intel.com",
        "Cc": "dev@dpdk.org,\n\tAlvin Zhang <alvinx.zhang@intel.com>",
        "Date": "Mon, 31 Aug 2020 14:43:28 +0800",
        "Message-Id": "<20200831064328.44412-1-alvinx.zhang@intel.com>",
        "X-Mailer": "git-send-email 2.21.0.windows.1",
        "In-Reply-To": "<20200828080306.48916-1-alvinx.zhang@intel.com>",
        "References": "<20200828080306.48916-1-alvinx.zhang@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v2] net/iavf: support outer IP hash for GTPU",
        "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": "From: Alvin Zhang <alvinx.zhang@intel.com>\n\nAdd patterns for GTPU, now outer IP hash can be configured as input set for\nGTPU packet.\n\nSigned-off-by: Alvin Zhang <alvinx.zhang@intel.com>\n---\nv2:\n - Remove VLAN as input sets.\n drivers/net/iavf/iavf_hash.c | 66 ++++++++++++++++++++++++++++++++++++++++++++\n 1 file changed, 66 insertions(+)",
    "diff": "diff --git a/drivers/net/iavf/iavf_hash.c b/drivers/net/iavf/iavf_hash.c\nindex 3658895..29b76f9 100644\n--- a/drivers/net/iavf/iavf_hash.c\n+++ b/drivers/net/iavf/iavf_hash.c\n@@ -195,6 +195,10 @@ struct iavf_hash_flow_cfg {\n \tIAVF_PHINT_IPV4_GTPC };\n static struct iavf_pattern_match_type phint_eth_ipv6_gtpc = {\n \tIAVF_PHINT_IPV6_GTPC };\n+static struct iavf_pattern_match_type phint_eth_ipv4_gtpu = {\n+\tIAVF_PHINT_IPV4_GTPU_IP };\n+static struct iavf_pattern_match_type phint_eth_ipv6_gtpu = {\n+\tIAVF_PHINT_IPV6_GTPU_IP };\n \n /**\n  * Supported pattern for hash.\n@@ -289,6 +293,8 @@ struct iavf_hash_flow_cfg {\n \t\t\t\t\t&phint_eth_vlan_ipv6_sctp},\n \t{iavf_pattern_eth_ipv4_gtpc, IAVF_INSET_NONE, &phint_eth_ipv4_gtpc},\n \t{iavf_pattern_eth_ipv6_gtpc, IAVF_INSET_NONE, &phint_eth_ipv6_gtpc},\n+\t{iavf_pattern_eth_ipv4_gtpu, IAVF_INSET_NONE, &phint_eth_ipv4_gtpu},\n+\t{iavf_pattern_eth_ipv6_gtpu, IAVF_INSET_NONE, &phint_eth_ipv6_gtpu},\n \t{iavf_pattern_empty, IAVF_INSET_NONE, &phint_empty},\n };\n \n@@ -798,6 +804,22 @@ struct virtchnl_proto_hdrs hdrs_hint_ipv4_src_gtpc = {\n \tproto_hint_udp_only, proto_hint_gtpc_only}\n };\n \n+/* IPv4 GTPU */\n+struct virtchnl_proto_hdrs hdrs_hint_ipv4_gtpu = {\n+\tTUNNEL_LEVEL_OUTER, PROTO_COUNT_THREE, {proto_hint_ipv4,\n+\tproto_hint_udp_only, proto_hint_gtpu_ip_only}\n+};\n+\n+struct virtchnl_proto_hdrs hdrs_hint_ipv4_dst_gtpu = {\n+\tTUNNEL_LEVEL_OUTER, PROTO_COUNT_THREE, {proto_hint_ipv4_dst,\n+\tproto_hint_udp_only, proto_hint_gtpu_ip_only}\n+};\n+\n+struct virtchnl_proto_hdrs hdrs_hint_ipv4_src_gtpu = {\n+\tTUNNEL_LEVEL_OUTER, PROTO_COUNT_THREE, {proto_hint_ipv4_src,\n+\tproto_hint_udp_only, proto_hint_gtpu_ip_only}\n+};\n+\n /* IPv4 GTPU IP */\n \n struct virtchnl_proto_hdrs hdrs_hint_ipv4_src_gtpu_ip = {\n@@ -935,6 +957,22 @@ struct virtchnl_proto_hdrs hdrs_hint_ipv6_src_gtpc = {\n \tproto_hint_udp_only, proto_hint_gtpc_only}\n };\n \n+/* IPv6 GTPU */\n+struct virtchnl_proto_hdrs hdrs_hint_ipv6_gtpu = {\n+\tTUNNEL_LEVEL_OUTER, PROTO_COUNT_THREE, {proto_hint_ipv6,\n+\tproto_hint_udp_only, proto_hint_gtpu_ip_only}\n+};\n+\n+struct virtchnl_proto_hdrs hdrs_hint_ipv6_dst_gtpu = {\n+\tTUNNEL_LEVEL_OUTER, PROTO_COUNT_THREE, {proto_hint_ipv6_dst,\n+\tproto_hint_udp_only, proto_hint_gtpu_ip_only}\n+};\n+\n+struct virtchnl_proto_hdrs hdrs_hint_ipv6_src_gtpu = {\n+\tTUNNEL_LEVEL_OUTER, PROTO_COUNT_THREE, {proto_hint_ipv6_src,\n+\tproto_hint_udp_only, proto_hint_gtpu_ip_only}\n+};\n+\n /* IPv6 GTPU IP */\n \n struct virtchnl_proto_hdrs hdrs_hint_ipv6_src_gtpu_ip = {\n@@ -2443,6 +2481,34 @@ struct iavf_hash_match_type iavf_gtpu_hash_map_list[] = {\n \t{ETH_RSS_L3_SRC_ONLY,\n \t\t&hdrs_hint_ipv6_src_gtpc, IAVF_PHINT_IPV6_GTPC},\n \n+\t/* IPv4 GTPU */\n+\t{ETH_RSS_IPV4,\n+\t\t&hdrs_hint_ipv4_gtpu, IAVF_PHINT_IPV4_GTPU_IP},\n+\t{ETH_RSS_IPV4 |\n+\t\tETH_RSS_L3_DST_ONLY,\n+\t\t&hdrs_hint_ipv4_dst_gtpu, IAVF_PHINT_IPV4_GTPU_IP},\n+\t{ETH_RSS_L3_DST_ONLY,\n+\t\t&hdrs_hint_ipv4_dst_gtpu, IAVF_PHINT_IPV4_GTPU_IP},\n+\t{ETH_RSS_IPV4 |\n+\t\tETH_RSS_L3_SRC_ONLY,\n+\t\t&hdrs_hint_ipv4_src_gtpu, IAVF_PHINT_IPV4_GTPU_IP},\n+\t{ETH_RSS_L3_SRC_ONLY,\n+\t\t&hdrs_hint_ipv4_src_gtpu, IAVF_PHINT_IPV4_GTPU_IP},\n+\n+\t/* IPv6 GTPU */\n+\t{ETH_RSS_IPV6,\n+\t\t&hdrs_hint_ipv6_gtpu, IAVF_PHINT_IPV6_GTPU_IP},\n+\t{ETH_RSS_IPV6 |\n+\t\tETH_RSS_L3_DST_ONLY,\n+\t\t&hdrs_hint_ipv6_dst_gtpu, IAVF_PHINT_IPV6_GTPU_IP},\n+\t{ETH_RSS_L3_DST_ONLY,\n+\t\t&hdrs_hint_ipv6_dst_gtpu, IAVF_PHINT_IPV6_GTPU_IP},\n+\t{ETH_RSS_IPV6 |\n+\t\tETH_RSS_L3_SRC_ONLY,\n+\t\t&hdrs_hint_ipv6_src_gtpu, IAVF_PHINT_IPV6_GTPU_IP},\n+\t{ETH_RSS_L3_SRC_ONLY,\n+\t\t&hdrs_hint_ipv6_src_gtpu, IAVF_PHINT_IPV6_GTPU_IP},\n+\n \t/* GTPU IP */\n \t/* IPv4 GTPU IP IPv4*/\n \t{ETH_RSS_L3_SRC_ONLY,\n",
    "prefixes": [
        "v2"
    ]
}