get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 58383,
    "url": "http://patches.dpdk.org/api/patches/58383/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190902121734.926-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": "<20190902121734.926-4-akhil.goyal@nxp.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190902121734.926-4-akhil.goyal@nxp.com",
    "date": "2019-09-02T12:17:17",
    "name": "[03/20] security: add hfn override option in PDCP",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "97294524e936614a680fbb1da524827d8e874538",
    "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/20190902121734.926-4-akhil.goyal@nxp.com/mbox/",
    "series": [
        {
            "id": 6199,
            "url": "http://patches.dpdk.org/api/series/6199/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=6199",
            "date": "2019-09-02T12:17:14",
            "name": "crypto/dpaaX_sec: Support Wireless algos",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/6199/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/58383/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/58383/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 F32B91E863;\n\tMon,  2 Sep 2019 14:32:12 +0200 (CEST)",
            "from inva021.nxp.com (inva021.nxp.com [92.121.34.21])\n\tby dpdk.org (Postfix) with ESMTP id BF35D1C2F9\n\tfor <dev@dpdk.org>; Mon,  2 Sep 2019 14:32:02 +0200 (CEST)",
            "from inva021.nxp.com (localhost [127.0.0.1])\n\tby inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 861EF2006D5;\n\tMon,  2 Sep 2019 14:32:02 +0200 (CEST)",
            "from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com\n\t[165.114.16.14])\n\tby inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 520D82006C8;\n\tMon,  2 Sep 2019 14:32:00 +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 1C81B402BE;\n\tMon,  2 Sep 2019 20:31:57 +0800 (SGT)"
        ],
        "From": "Akhil Goyal <akhil.goyal@nxp.com>",
        "To": "dev@dpdk.org",
        "Cc": "hemant.agrawal@nxp.com, vakul.garg@nxp.com,\n\tAkhil Goyal <akhil.goyal@nxp.com>",
        "Date": "Mon,  2 Sep 2019 17:47:17 +0530",
        "Message-Id": "<20190902121734.926-4-akhil.goyal@nxp.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20190902121734.926-1-akhil.goyal@nxp.com>",
        "References": "<20190902121734.926-1-akhil.goyal@nxp.com>",
        "X-Virus-Scanned": "ClamAV using ClamSMTP",
        "Subject": "[dpdk-dev] [PATCH 03/20] security: add hfn override option in PDCP",
        "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>\n---\n lib/librte_security/rte_security.h | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_security/rte_security.h b/lib/librte_security/rte_security.h\nindex 96806e3a2..4452545fe 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@@ -270,6 +270,8 @@ struct rte_security_pdcp_xform {\n \tuint32_t hfn;\n \t/** HFN Threshold for key renegotiation */\n \tuint32_t hfn_threshold;\n+\t/** Enable per packet HFN override */\n+\tuint32_t hfn_ovrd;\n };\n \n /**\n",
    "prefixes": [
        "03/20"
    ]
}