get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 101010,
    "url": "http://patches.dpdk.org/api/patches/101010/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20211011112945.2876-2-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-2-radu.nicolau@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20211011112945.2876-2-radu.nicolau@intel.com",
    "date": "2021-10-11T11:29:36",
    "name": "[v8,01/10] security: add ESN field to ipsec_xform",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "99fdb6c80aa45909db4ab037f7e04ccf16f10a46",
    "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-2-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/101010/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/101010/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 867B8A034F;\n\tMon, 11 Oct 2021 13:41:33 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id ED10D410E2;\n\tMon, 11 Oct 2021 13:41:27 +0200 (CEST)",
            "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by mails.dpdk.org (Postfix) with ESMTP id 2CC3C4003C\n for <dev@dpdk.org>; Mon, 11 Oct 2021 13:41:25 +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:24 -0700",
            "from silpixa00400884.ir.intel.com ([10.243.22.82])\n by orsmga007.jf.intel.com with ESMTP; 11 Oct 2021 04:41:21 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10133\"; a=\"207660482\"",
            "E=Sophos;i=\"5.85,364,1624345200\"; d=\"scan'208\";a=\"207660482\"",
            "E=Sophos;i=\"5.85,364,1624345200\"; d=\"scan'208\";a=\"479821919\""
        ],
        "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:36 +0100",
        "Message-Id": "<20211011112945.2876-2-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 01/10] security: add ESN field to ipsec_xform",
        "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": "Update ipsec_xform definition to include ESN field.\nThis allows the application to control the ESN starting value.\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   | 2 +-\n doc/guides/rel_notes/release_21_11.rst | 4 ++++\n lib/security/rte_security.h            | 8 ++++++++\n 3 files changed, 13 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst\nindex baf15aa722..8b7b0beee2 100644\n--- a/doc/guides/rel_notes/deprecation.rst\n+++ b/doc/guides/rel_notes/deprecation.rst\n@@ -212,7 +212,7 @@ Deprecation Notices\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), and ESN (Extended Sequence Number).\n+  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 c0a7f75518..401c6d453a 100644\n--- a/doc/guides/rel_notes/release_21_11.rst\n+++ b/doc/guides/rel_notes/release_21_11.rst\n@@ -229,6 +229,10 @@ ABI Changes\n   ``rte_security_ipsec_xform`` to allow applications to configure SA soft\n   and hard expiry limits. Limits can be either in number of packets or bytes.\n \n+* security: A new structure ``esn`` was added in structure\n+  ``rte_security_ipsec_xform`` to set an initial ESN value. This permits\n+  application to start from an arbitrary ESN value for debug and SA lifetime\n+  enforcement purposes.\n \n Known Issues\n ------------\ndiff --git a/lib/security/rte_security.h b/lib/security/rte_security.h\nindex 2013e65e49..371d64647a 100644\n--- a/lib/security/rte_security.h\n+++ b/lib/security/rte_security.h\n@@ -280,6 +280,14 @@ struct rte_security_ipsec_xform {\n \t/**< Anti replay window size to enable sequence replay attack handling.\n \t * replay checking is disabled if the window size is 0.\n \t */\n+\tunion {\n+\t\tuint64_t value;\n+\t\tstruct {\n+\t\t\tuint32_t low;\n+\t\t\tuint32_t hi;\n+\t\t};\n+\t} esn;\n+\t/**< Extended Sequence Number */\n };\n \n /**\n",
    "prefixes": [
        "v8",
        "01/10"
    ]
}