get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 101012,
    "url": "http://patches.dpdk.org/api/patches/101012/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20211011112945.2876-4-radu.nicolau@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": "<20211011112945.2876-4-radu.nicolau@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20211011112945.2876-4-radu.nicolau@intel.com",
    "date": "2021-10-11T11:29:38",
    "name": "[v8,03/10] security: add UDP params for IPsec NAT-T",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "eb38443c5afffa99e2c35aef0db106e0bbe8fbf6",
    "submitter": {
        "id": 743,
        "url": "http://patches.dpdk.org/api/people/743/?format=api",
        "name": "Radu Nicolau",
        "email": "radu.nicolau@intel.com"
    },
    "delegate": {
        "id": 6690,
        "url": "http://patches.dpdk.org/api/users/6690/?format=api",
        "username": "akhil",
        "first_name": "akhil",
        "last_name": "goyal",
        "email": "gakhil@marvell.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20211011112945.2876-4-radu.nicolau@intel.com/mbox/",
    "series": [
        {
            "id": 19516,
            "url": "http://patches.dpdk.org/api/series/19516/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=19516",
            "date": "2021-10-11T11:29:35",
            "name": "new features for ipsec and security libraries",
            "version": 8,
            "mbox": "http://patches.dpdk.org/series/19516/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/101012/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/101012/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 2A06FA034F;\n\tMon, 11 Oct 2021 13:41:45 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 587D5410E1;\n\tMon, 11 Oct 2021 13:41:34 +0200 (CEST)",
            "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by mails.dpdk.org (Postfix) with ESMTP id 2B89140150\n for <dev@dpdk.org>; Mon, 11 Oct 2021 13:41:32 +0200 (CEST)",
            "from orsmga007.jf.intel.com ([10.7.209.58])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 11 Oct 2021 04:41:31 -0700",
            "from silpixa00400884.ir.intel.com ([10.243.22.82])\n by orsmga007.jf.intel.com with ESMTP; 11 Oct 2021 04:41:28 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10133\"; a=\"207660498\"",
            "E=Sophos;i=\"5.85,364,1624345200\"; d=\"scan'208\";a=\"207660498\"",
            "E=Sophos;i=\"5.85,364,1624345200\"; d=\"scan'208\";a=\"479821971\""
        ],
        "X-ExtLoop1": "1",
        "From": "Radu Nicolau <radu.nicolau@intel.com>",
        "To": "Ray Kinsella <mdr@ashroe.eu>, Akhil Goyal <gakhil@marvell.com>,\n Declan Doherty <declan.doherty@intel.com>",
        "Cc": "dev@dpdk.org, konstantin.ananyev@intel.com, vladimir.medvedkin@intel.com,\n bruce.richardson@intel.com, roy.fan.zhang@intel.com,\n hemant.agrawal@nxp.com, anoobj@marvell.com, abhijit.sinha@intel.com,\n daniel.m.buckley@intel.com, marchana@marvell.com, ktejasree@marvell.com,\n matan@nvidia.com, Radu Nicolau <radu.nicolau@intel.com>",
        "Date": "Mon, 11 Oct 2021 12:29:38 +0100",
        "Message-Id": "<20211011112945.2876-4-radu.nicolau@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20211011112945.2876-1-radu.nicolau@intel.com>",
        "References": "<20210713133542.3550525-1-radu.nicolau@intel.com>\n <20211011112945.2876-1-radu.nicolau@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v8 03/10] security: add UDP params for IPsec NAT-T",
        "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": "Add support for specifying UDP port params for UDP encapsulation option.\nRFC3948 section-2.1 does not enforce using specific the UDP ports for\nUDP-Encapsulated ESP Header\n\nSigned-off-by: Declan Doherty <declan.doherty@intel.com>\nSigned-off-by: Radu Nicolau <radu.nicolau@intel.com>\nSigned-off-by: Abhijit Sinha <abhijit.sinha@intel.com>\nSigned-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>\nAcked-by: Fan Zhang <roy.fan.zhang@intel.com>\nAcked-by: Anoob Joseph <anoobj@marvell.com>\n---\n doc/guides/rel_notes/deprecation.rst   | 5 ++---\n doc/guides/rel_notes/release_21_11.rst | 5 +++++\n lib/security/rte_security.h            | 7 +++++++\n 3 files changed, 14 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst\nindex 8b7b0beee2..d24d69b669 100644\n--- a/doc/guides/rel_notes/deprecation.rst\n+++ b/doc/guides/rel_notes/deprecation.rst\n@@ -210,9 +210,8 @@ Deprecation Notices\n   pointer for the private data to the application which can be attached\n   to the packet while enqueuing.\n \n-* security: The structure ``rte_security_ipsec_xform`` will be extended with\n-  multiple fields: source and destination port of UDP encapsulation,\n-  IPsec payload MSS (Maximum Segment Size).\n+* security: The structure ``rte_security_ipsec_xform`` will be extended with:\n+  new field: IPsec payload MSS (Maximum Segment Size).\n \n * security: The IPsec SA config options ``struct rte_security_ipsec_sa_options``\n   will be updated with new fields to support new features like IPsec inner\ndiff --git a/doc/guides/rel_notes/release_21_11.rst b/doc/guides/rel_notes/release_21_11.rst\nindex 8ac6632abf..1a29640eea 100644\n--- a/doc/guides/rel_notes/release_21_11.rst\n+++ b/doc/guides/rel_notes/release_21_11.rst\n@@ -238,6 +238,11 @@ ABI Changes\n   application to start from an arbitrary ESN value for debug and SA lifetime\n   enforcement purposes.\n \n+* security: A new structure ``udp`` was added in structure\n+  ``rte_security_ipsec_xform`` to allow setting the source and destination ports\n+  for UDP encapsulated IPsec traffic.\n+\n+\n Known Issues\n ------------\n \ndiff --git a/lib/security/rte_security.h b/lib/security/rte_security.h\nindex 371d64647a..b30425e206 100644\n--- a/lib/security/rte_security.h\n+++ b/lib/security/rte_security.h\n@@ -128,6 +128,11 @@ struct rte_security_ipsec_tunnel_param {\n \t};\n };\n \n+struct rte_security_ipsec_udp_param {\n+\tuint16_t sport;\n+\tuint16_t dport;\n+};\n+\n /**\n  * IPsec Security Association option flags\n  */\n@@ -288,6 +293,8 @@ struct rte_security_ipsec_xform {\n \t\t};\n \t} esn;\n \t/**< Extended Sequence Number */\n+\tstruct rte_security_ipsec_udp_param udp;\n+\t/**< UDP parameters, ignored when udp_encap option not specified */\n };\n \n /**\n",
    "prefixes": [
        "v8",
        "03/10"
    ]
}