get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 60210,
    "url": "http://patches.dpdk.org/api/patches/60210/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190930144104.12742-4-akhil.goyal@nxp.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": "<20190930144104.12742-4-akhil.goyal@nxp.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190930144104.12742-4-akhil.goyal@nxp.com",
    "date": "2019-09-30T14:40:43",
    "name": "[v3,03/24] security: add hfn override option in PDCP",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "d02d98bea4ac07052735423f7bbb5f7e724a1756",
    "submitter": {
        "id": 517,
        "url": "http://patches.dpdk.org/api/people/517/?format=api",
        "name": "Akhil Goyal",
        "email": "akhil.goyal@nxp.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/20190930144104.12742-4-akhil.goyal@nxp.com/mbox/",
    "series": [
        {
            "id": 6623,
            "url": "http://patches.dpdk.org/api/series/6623/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=6623",
            "date": "2019-09-30T14:40:40",
            "name": "crypto/dpaaX_sec: Support Wireless algos",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/6623/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/60210/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/60210/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 18E361BEAA;\n\tMon, 30 Sep 2019 16:56:32 +0200 (CEST)",
            "from inva020.nxp.com (inva020.nxp.com [92.121.34.13])\n\tby dpdk.org (Postfix) with ESMTP id ED0754C8E\n\tfor <dev@dpdk.org>; Mon, 30 Sep 2019 16:56:20 +0200 (CEST)",
            "from inva020.nxp.com (localhost [127.0.0.1])\n\tby inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 907081A089B;\n\tMon, 30 Sep 2019 16:56:20 +0200 (CEST)",
            "from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com\n\t[165.114.16.14])\n\tby inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 70DAC1A0110;\n\tMon, 30 Sep 2019 16:56:18 +0200 (CEST)",
            "from GDB1.ap.freescale.net (GDB1.ap.freescale.net [10.232.132.179])\n\tby invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 0E6A2402C7;\n\tMon, 30 Sep 2019 22:56:14 +0800 (SGT)"
        ],
        "From": "Akhil Goyal <akhil.goyal@nxp.com>",
        "To": "dev@dpdk.org",
        "Cc": "aconole@redhat.com, anoobj@marvell.com, Akhil Goyal <akhil.goyal@nxp.com>",
        "Date": "Mon, 30 Sep 2019 20:10:43 +0530",
        "Message-Id": "<20190930144104.12742-4-akhil.goyal@nxp.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20190930144104.12742-1-akhil.goyal@nxp.com>",
        "References": "<20190930115237.5073-1-akhil.goyal@nxp.com>\n\t<20190930144104.12742-1-akhil.goyal@nxp.com>",
        "X-Virus-Scanned": "ClamAV using ClamSMTP",
        "Subject": "[dpdk-dev] [PATCH v3 03/24] security: add hfn override option in\n\tPDCP",
        "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "HFN can be given as a per packet value also.\nAs we do not have IV in case of PDCP, and HFN is\nused to generate IV. IV field can be used to get the\nper packet HFN while enq/deq\nIf hfn_ovrd field in pdcp_xform is set,\napplication is expected to set the per packet HFN\nin place of IV. Driver will extract the HFN and perform\noperations accordingly.\n\nSigned-off-by: Akhil Goyal <akhil.goyal@nxp.com>\nAcked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>\n---\n lib/librte_security/rte_security.h | 11 ++++++++++-\n 1 file changed, 10 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_security/rte_security.h b/lib/librte_security/rte_security.h\nindex 2d064f4d0..aaafdfcd7 100644\n--- a/lib/librte_security/rte_security.h\n+++ b/lib/librte_security/rte_security.h\n@@ -1,5 +1,5 @@\n /* SPDX-License-Identifier: BSD-3-Clause\n- * Copyright 2017 NXP.\n+ * Copyright 2017,2019 NXP\n  * Copyright(c) 2017 Intel Corporation.\n  */\n \n@@ -278,6 +278,15 @@ struct rte_security_pdcp_xform {\n \tuint32_t hfn;\n \t/** HFN Threshold for key renegotiation */\n \tuint32_t hfn_threshold;\n+\t/** HFN can be given as a per packet value also.\n+\t * As we do not have IV in case of PDCP, and HFN is\n+\t * used to generate IV. IV field can be used to get the\n+\t * per packet HFN while enq/deq.\n+\t * If hfn_ovrd field is set, user is expected to set the\n+\t * per packet HFN in place of IV. PMDs will extract the HFN\n+\t * and perform operations accordingly.\n+\t */\n+\tuint32_t hfn_ovrd;\n };\n \n /**\n",
    "prefixes": [
        "v3",
        "03/24"
    ]
}