get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 90352,
    "url": "http://patchwork.dpdk.org/api/patches/90352/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20210401112623.20951-3-ktejasree@marvell.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20210401112623.20951-3-ktejasree@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210401112623.20951-3-ktejasree@marvell.com",
    "date": "2021-04-01T11:26:21",
    "name": "[v2,2/4] mbuf: add packet type for UDP-ESP tunnel packets",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "96e0660928d8cd85530491c809d26f9869f7e7bb",
    "submitter": {
        "id": 1789,
        "url": "http://patchwork.dpdk.org/api/people/1789/?format=api",
        "name": "Tejasree Kondoj",
        "email": "ktejasree@marvell.com"
    },
    "delegate": {
        "id": 6690,
        "url": "http://patchwork.dpdk.org/api/users/6690/?format=api",
        "username": "akhil",
        "first_name": "akhil",
        "last_name": "goyal",
        "email": "gakhil@marvell.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20210401112623.20951-3-ktejasree@marvell.com/mbox/",
    "series": [
        {
            "id": 16054,
            "url": "http://patchwork.dpdk.org/api/series/16054/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=16054",
            "date": "2021-04-01T11:26:19",
            "name": "add lookaside IPsec UDP encapsulation and transport mode",
            "version": 2,
            "mbox": "http://patchwork.dpdk.org/series/16054/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/90352/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/90352/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 18AEDA0548;\n\tThu,  1 Apr 2021 12:30:24 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id F05A7140FC9;\n\tThu,  1 Apr 2021 12:30:17 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id 136E9140FC3\n for <dev@dpdk.org>; Thu,  1 Apr 2021 12:30:15 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id\n 131AP5sw004729; Thu, 1 Apr 2021 03:30:15 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0a-0016f401.pphosted.com with ESMTP id 37n28j229f-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Thu, 01 Apr 2021 03:30:15 -0700",
            "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Thu, 1 Apr 2021 03:30:13 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend\n Transport; Thu, 1 Apr 2021 03:30:13 -0700",
            "from hyd1554T5810.caveonetworks.com.com (unknown [10.29.57.11])\n by maili.marvell.com (Postfix) with ESMTP id 476673F704D;\n Thu,  1 Apr 2021 03:30:11 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-transfer-encoding : content-type; s=pfpt0220;\n bh=eJ0P1t7ln69uK148XQLAE4uoWwKG0y/3zcbdjOHSdPQ=;\n b=J43ZsSLakMiYhti/Y+EAJNYUj2D/LZm8O5RUDh2UMZAe3u5rCwvdocCzT52iYO5G+FfW\n PyROURuWrqUNJQfG8+0ExY07PMC94bJY+GpVUx6LPajDy5E9HiwM0mCWyVlbxITkZ1No\n EeYmqR2Y+fH+EIvtiUgQ92xdPfWEeNZVa8s8jv78GG219ZTndScLapVi7/BrPHmIsgwi\n Q4W4yhHEPlhysDSJ5PNY+ZlH+xriEoWIWbaSN1+o6Hpn3ourUxtSRk9O0j8uTJATpS3F\n lrIIgwpXRaKxU9FCl6h41zNfNCWm+Od6QSOynpwcKH2kwh+d0vViONLhsMiPzwsKOaE/ sg==",
        "From": "Tejasree Kondoj <ktejasree@marvell.com>",
        "To": "Akhil Goyal <gakhil@marvell.com>, Radu Nicolau <radu.nicolau@intel.com>,\n Konstantin Ananyev <konstantin.ananyev@intel.com>",
        "CC": "Tejasree Kondoj <ktejasree@marvell.com>,\n Anoob Joseph <anoobj@marvell.com>,\n Ankur Dwivedi <adwivedi@marvell.com>, Jerin Jacob\n <jerinj@marvell.com>, <dev@dpdk.org>",
        "Date": "Thu, 1 Apr 2021 16:56:21 +0530",
        "Message-ID": "<20210401112623.20951-3-ktejasree@marvell.com>",
        "X-Mailer": "git-send-email 2.27.0",
        "In-Reply-To": "<20210401112623.20951-1-ktejasree@marvell.com>",
        "References": "<20210401112623.20951-1-ktejasree@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-ORIG-GUID": "02mtcwYuSHIlaLdGjcGxb_hikoWdTEn_",
        "X-Proofpoint-GUID": "02mtcwYuSHIlaLdGjcGxb_hikoWdTEn_",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761\n definitions=2021-04-01_04:2021-03-31,\n 2021-04-01 signatures=0",
        "Subject": "[dpdk-dev] [PATCH v2 2/4] mbuf: add packet type for UDP-ESP tunnel\n packets",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Adding new mbuf packet type for UDP encapsulated\nESP packets.\n\nSigned-off-by: Tejasree Kondoj <ktejasree@marvell.com>\n---\n doc/guides/rel_notes/release_21_05.rst |  5 +++++\n lib/librte_mbuf/rte_mbuf_ptype.h       | 21 +++++++++++++++++++++\n 2 files changed, 26 insertions(+)",
    "diff": "diff --git a/doc/guides/rel_notes/release_21_05.rst b/doc/guides/rel_notes/release_21_05.rst\nindex 8065b3daf8..4ab2d7500f 100644\n--- a/doc/guides/rel_notes/release_21_05.rst\n+++ b/doc/guides/rel_notes/release_21_05.rst\n@@ -55,6 +55,11 @@ New Features\n      Also, make sure to start the actual text at the margin.\n      =======================================================\n \n+* **Added new packet type for UDP-ESP packets in mbuf.**\n+\n+  Added new packet type ``RTE_PTYPE_TUNNEL_ESP_IN_UDP`` which can be\n+  used to identify UDP encapsulated ESP packets.\n+\n * **Enhanced ethdev representor syntax.**\n \n   * Introduced representor type of VF, SF and PF.\ndiff --git a/lib/librte_mbuf/rte_mbuf_ptype.h b/lib/librte_mbuf/rte_mbuf_ptype.h\nindex 17a2dd3576..bf92ce0c1a 100644\n--- a/lib/librte_mbuf/rte_mbuf_ptype.h\n+++ b/lib/librte_mbuf/rte_mbuf_ptype.h\n@@ -491,6 +491,27 @@ extern \"C\" {\n  * | 'destination port'=6635>\n  */\n #define RTE_PTYPE_TUNNEL_MPLS_IN_UDP      0x0000d000\n+/**\n+ * ESP-in-UDP tunneling packet type (RFC 3948).\n+ *\n+ * Packet format:\n+ * <'ether type'=0x0800\n+ * | 'version'=4, 'protocol'=17\n+ * | 'destination port'=4500>\n+ * or,\n+ * <'ether type'=0x86DD\n+ * | 'version'=6, 'next header'=17\n+ * | 'destination port'=4500>\n+ * or,\n+ * <'ether type'=0x0800\n+ * | 'version'=4, 'protocol'=17\n+ * | 'source port'=4500>\n+ * or,\n+ * <'ether type'=0x86DD\n+ * | 'version'=6, 'next header'=17\n+ * | 'source port'=4500>\n+ */\n+#define RTE_PTYPE_TUNNEL_ESP_IN_UDP       0x0000e000\n /**\n  * Mask of tunneling packet types.\n  */\n",
    "prefixes": [
        "v2",
        "2/4"
    ]
}