get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 62209,
    "url": "https://patches.dpdk.org/api/patches/62209/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20191030085701.13815-1-hemant.agrawal@nxp.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": "<20191030085701.13815-1-hemant.agrawal@nxp.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20191030085701.13815-1-hemant.agrawal@nxp.com",
    "date": "2019-10-30T08:57:00",
    "name": "[v3,1/2] security: add anti replay window size",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "daaf9b91ff1f4208a8f7d74a747155e82c9e7018",
    "submitter": {
        "id": 477,
        "url": "https://patches.dpdk.org/api/people/477/?format=api",
        "name": "Hemant Agrawal",
        "email": "hemant.agrawal@nxp.com"
    },
    "delegate": {
        "id": 6690,
        "url": "https://patches.dpdk.org/api/users/6690/?format=api",
        "username": "akhil",
        "first_name": "akhil",
        "last_name": "goyal",
        "email": "gakhil@marvell.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20191030085701.13815-1-hemant.agrawal@nxp.com/mbox/",
    "series": [
        {
            "id": 7155,
            "url": "https://patches.dpdk.org/api/series/7155/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=7155",
            "date": "2019-10-30T08:57:00",
            "name": "[v3,1/2] security: add anti replay window size",
            "version": 3,
            "mbox": "https://patches.dpdk.org/series/7155/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/62209/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/62209/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 A03B9A00BE;\n\tWed, 30 Oct 2019 10:00:05 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 6C92B1BEE0;\n\tWed, 30 Oct 2019 10:00:05 +0100 (CET)",
            "from inva021.nxp.com (inva021.nxp.com [92.121.34.21])\n by dpdk.org (Postfix) with ESMTP id 9B9A21BEE0\n for <dev@dpdk.org>; Wed, 30 Oct 2019 10:00:03 +0100 (CET)",
            "from inva021.nxp.com (localhost [127.0.0.1])\n by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 3061820099D;\n Wed, 30 Oct 2019 10:00:03 +0100 (CET)",
            "from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com\n [165.114.16.14])\n by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 0B145200905;\n Wed, 30 Oct 2019 10:00:01 +0100 (CET)",
            "from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net\n [10.232.133.63])\n by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id DE5E7402B7;\n Wed, 30 Oct 2019 16:59:57 +0800 (SGT)"
        ],
        "From": "Hemant Agrawal <hemant.agrawal@nxp.com>",
        "To": "dev@dpdk.org,\n\takhil.goyal@nxp.com",
        "Cc": "konstantin.ananyev@intel.com,\n\tHemant Agrawal <hemant.agrawal@nxp.com>",
        "Date": "Wed, 30 Oct 2019 14:27:00 +0530",
        "Message-Id": "<20191030085701.13815-1-hemant.agrawal@nxp.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20191030065703.32068-1-hemant.agrawal@nxp.com>",
        "References": "<20191030065703.32068-1-hemant.agrawal@nxp.com>",
        "X-Virus-Scanned": "ClamAV using ClamSMTP",
        "Subject": "[dpdk-dev] [PATCH v3 1/2] security: add anti replay window size",
        "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": "At present the ipsec xfrom is missing the important step\nto configure the anti replay window size.\nThe newly added field will also help in to enable or disable\nthe anti replay checking, if available in offload by means\nof non-zero or zero value.\n\nSigned-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>\n---\n lib/librte_security/Makefile       | 2 +-\n lib/librte_security/meson.build    | 2 +-\n lib/librte_security/rte_security.h | 4 ++++\n 3 files changed, 6 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/lib/librte_security/Makefile b/lib/librte_security/Makefile\nindex 6708effdb..6a268ee2a 100644\n--- a/lib/librte_security/Makefile\n+++ b/lib/librte_security/Makefile\n@@ -7,7 +7,7 @@ include $(RTE_SDK)/mk/rte.vars.mk\n LIB = librte_security.a\n \n # library version\n-LIBABIVER := 2\n+LIBABIVER := 3\n \n # build flags\n CFLAGS += -O3\ndiff --git a/lib/librte_security/meson.build b/lib/librte_security/meson.build\nindex a5130d2f6..6fed01273 100644\n--- a/lib/librte_security/meson.build\n+++ b/lib/librte_security/meson.build\n@@ -1,7 +1,7 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2017-2019 Intel Corporation\n \n-version = 2\n+version = 3\n sources = files('rte_security.c')\n headers = files('rte_security.h', 'rte_security_driver.h')\n deps += ['mempool', 'cryptodev']\ndiff --git a/lib/librte_security/rte_security.h b/lib/librte_security/rte_security.h\nindex aaafdfcd7..195ad5645 100644\n--- a/lib/librte_security/rte_security.h\n+++ b/lib/librte_security/rte_security.h\n@@ -212,6 +212,10 @@ struct rte_security_ipsec_xform {\n \t/**< Tunnel parameters, NULL for transport mode */\n \tuint64_t esn_soft_limit;\n \t/**< ESN for which the overflow event need to be raised */\n+\tuint32_t replay_win_sz;\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 };\n \n /**\n",
    "prefixes": [
        "v3",
        "1/2"
    ]
}