get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 109372,
    "url": "https://patches.dpdk.org/api/patches/109372/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220407105706.18889-21-kevinx.liu@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": "<20220407105706.18889-21-kevinx.liu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220407105706.18889-21-kevinx.liu@intel.com",
    "date": "2022-04-07T10:56:47",
    "name": "[20/39] net/ice: support IPv6 NVGRE tunnel",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "e89309505882fc467e64c286422a061d56e5fc99",
    "submitter": {
        "id": 2440,
        "url": "https://patches.dpdk.org/api/people/2440/?format=api",
        "name": "Kevin Liu",
        "email": "kevinx.liu@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/20220407105706.18889-21-kevinx.liu@intel.com/mbox/",
    "series": [
        {
            "id": 22387,
            "url": "https://patches.dpdk.org/api/series/22387/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=22387",
            "date": "2022-04-07T10:56:27",
            "name": "support full function of DCF",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/22387/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/109372/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/109372/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 78CE6A0508;\n\tThu,  7 Apr 2022 05:00:05 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 134A242869;\n\tThu,  7 Apr 2022 04:59:14 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id 0A3644288C\n for <dev@dpdk.org>; Thu,  7 Apr 2022 04:59:12 +0200 (CEST)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 06 Apr 2022 19:59:12 -0700",
            "from intel-cd-odc-kevin.cd.intel.com ([10.240.178.195])\n by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 06 Apr 2022 19:59:09 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1649300353; x=1680836353;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=VjZHtM3enTQr9ZLspN4Gw0NeDlJWgLDxKXg3qhMHOTo=;\n b=hNe9On02sqU9Avk8oW9NynSwZB1hgkKUzwVpgBh1kgNMZNV6n54DPGhX\n B8IhxWSXl7XWqvGWi5p6VQCncsOMk8Ag/uSH6UB+5Hj5KHMTJ3r+y+zRm\n N7D3L0M4/TY7Zx0aqpIEBUuWfri16iKT48JYLRzbw0drPc5+F3VtIAyBJ\n 3W4Fo3kkkCjG3xgUo+IeM3dUT5jyQsm6QI+CsOJ8jSII/8JDd6+oZzKNZ\n Bq667+LgtU5UPOJ7aCf+oxMx/2O0/zUuXA05McVCT09+8vtkO3hafCN0b\n q2EofdLdLfIqKA61pB3YBlL0P23Z7jMgZUtSrawEbLOHk56yxupcTpnSd g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10309\"; a=\"248738402\"",
            "E=Sophos;i=\"5.90,241,1643702400\"; d=\"scan'208\";a=\"248738402\"",
            "E=Sophos;i=\"5.90,241,1643702400\"; d=\"scan'208\";a=\"570850658\""
        ],
        "From": "Kevin Liu <kevinx.liu@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "qiming.yang@intel.com, qi.z.zhang@intel.com, stevex.yang@intel.com,\n Alvin Zhang <alvinx.zhang@intel.com>, Junfeng Guo <junfeng.guo@intel.com>,\n Kevin Liu <kevinx.liu@intel.com>",
        "Subject": "[PATCH 20/39] net/ice: support IPv6 NVGRE tunnel",
        "Date": "Thu,  7 Apr 2022 10:56:47 +0000",
        "Message-Id": "<20220407105706.18889-21-kevinx.liu@intel.com>",
        "X-Mailer": "git-send-email 2.33.1",
        "In-Reply-To": "<20220407105706.18889-1-kevinx.liu@intel.com>",
        "References": "<20220407105706.18889-1-kevinx.liu@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "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"
    },
    "content": "From: Alvin Zhang <alvinx.zhang@intel.com>\n\nAdd protocol definition and pattern matching for IPv6 NVGRE tunnel.\n\nSigned-off-by: Junfeng Guo <junfeng.guo@intel.com>\nSigned-off-by: Alvin Zhang <alvinx.zhang@intel.com>\nSigned-off-by: Kevin Liu <kevinx.liu@intel.com>\n---\n drivers/net/ice/ice_switch_filter.c | 5 +++++\n 1 file changed, 5 insertions(+)",
    "diff": "diff --git a/drivers/net/ice/ice_switch_filter.c b/drivers/net/ice/ice_switch_filter.c\nindex 1e8625e71e..e87baa6234 100644\n--- a/drivers/net/ice/ice_switch_filter.c\n+++ b/drivers/net/ice/ice_switch_filter.c\n@@ -31,6 +31,7 @@\n #define ICE_PPP_IPV4_PROTO\t0x0021\n #define ICE_PPP_IPV6_PROTO\t0x0057\n #define ICE_IPV4_PROTO_NVGRE\t0x002F\n+#define ICE_IPV6_PROTO_NVGRE    0x002F\n #define ICE_SW_PRI_BASE 6\n \n #define ICE_SW_INSET_ETHER ( \\\n@@ -804,6 +805,10 @@ ice_switch_parse_pattern(const struct rte_flow_item pattern[],\n \t\t\t\t\t\tbreak;\n \t\t\t\t\t}\n \t\t\t\t}\n+\t\t\t\tif ((ipv6_spec->hdr.proto &\n+\t\t\t\t     ipv6_mask->hdr.proto) ==\n+\t\t\t\t    ICE_IPV6_PROTO_NVGRE)\n+\t\t\t\t\t*tun_type = ICE_SW_TUN_AND_NON_TUN;\n \t\t\t\tif (ipv6_mask->hdr.proto)\n \t\t\t\t\t*input |= ICE_INSET_IPV6_NEXT_HDR;\n \t\t\t\tif (ipv6_mask->hdr.hop_limits)\n",
    "prefixes": [
        "20/39"
    ]
}