get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 96938,
    "url": "http://patchwork.dpdk.org/api/patches/96938/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1629093590-115-2-git-send-email-anoobj@marvell.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<1629093590-115-2-git-send-email-anoobj@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1629093590-115-2-git-send-email-anoobj@marvell.com",
    "date": "2021-08-16T05:59:48",
    "name": "[1/3] security: support user specified IV",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "54d762927e573bdfe908ddbed152aa5463147236",
    "submitter": {
        "id": 1205,
        "url": "http://patchwork.dpdk.org/api/people/1205/?format=api",
        "name": "Anoob Joseph",
        "email": "anoobj@marvell.com"
    },
    "delegate": {
        "id": 6690,
        "url": "http://patchwork.dpdk.org/api/users/6690/?format=api",
        "username": "akhil",
        "first_name": "akhil",
        "last_name": "goyal",
        "email": "gakhil@marvell.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/1629093590-115-2-git-send-email-anoobj@marvell.com/mbox/",
    "series": [
        {
            "id": 18292,
            "url": "http://patchwork.dpdk.org/api/series/18292/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=18292",
            "date": "2021-08-16T05:59:47",
            "name": "Add user specified IV with lookaside IPsec",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/18292/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/96938/comments/",
    "check": "warning",
    "checks": "http://patchwork.dpdk.org/api/patches/96938/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 1BE88A0C46;\n\tMon, 16 Aug 2021 08:00:38 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 95E8B4113D;\n\tMon, 16 Aug 2021 08:00:36 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id F2BB14113C\n for <dev@dpdk.org>; Mon, 16 Aug 2021 08:00:33 +0200 (CEST)",
            "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.0.43) with SMTP id\n 17FNDFIp012575;\n Sun, 15 Aug 2021 23:00:32 -0700",
            "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0b-0016f401.pphosted.com with ESMTP id 3afcasgrt1-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Sun, 15 Aug 2021 23:00:32 -0700",
            "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.18;\n Sun, 15 Aug 2021 23:00:29 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.18 via Frontend\n Transport; Sun, 15 Aug 2021 23:00:29 -0700",
            "from HY-LT1002.marvell.com (unknown [10.193.36.215])\n by maili.marvell.com (Postfix) with ESMTP id B974B5E686C;\n Sun, 15 Aug 2021 23:00:23 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-transfer-encoding : content-type; s=pfpt0220;\n bh=i5szvklGPm89wd75GItJoZLno2FmHKviKfxa4t1oAK8=;\n b=fk/k0zC6rfvVuklmkT1XaZ+gWSMUx+aAYftQfvmuEINKRdAbSrdAdVrqHzilGfXGb632\n g0kVvzhxz1O8AHxGe8hl7/jbtwJYZrhh0/uoLy1ka/wn3sTD7dbgbc0I4cpkxv8JNvb0\n 3041mhqGMhr0IjcDP51DLitcMuO/Pvwi1ECuX1bifLftrHpWSDgaaGnHOfJWl8duZqrc\n xvbMjLFqb0SEDdVe9BeP+g/kCFudf94vzeonLXdVsdH4xqazzIw8LRwtqdGVdgMwWOiW\n 0MBvGK3hlx8H3TlTMkGp5BW55hlVuJBqSN/3nbJsapqXJ7PsHdS2POlofec0+bmCMbes rg==",
        "From": "Anoob Joseph <anoobj@marvell.com>",
        "To": "Akhil Goyal <gakhil@marvell.com>, Declan Doherty\n <declan.doherty@intel.com>, Fan Zhang <roy.fan.zhang@intel.com>,\n \"Konstantin Ananyev\" <konstantin.ananyev@intel.com>",
        "CC": "Anoob Joseph <anoobj@marvell.com>, Jerin Jacob <jerinj@marvell.com>,\n Archana Muniganti <marchana@marvell.com>, Tejasree Kondoj\n <ktejasree@marvell.com>, Hemant Agrawal <hemant.agrawal@nxp.com>, \"Radu\n Nicolau\" <radu.nicolau@intel.com>,\n Ciara Power <ciara.power@intel.com>, <dev@dpdk.org>",
        "Date": "Mon, 16 Aug 2021 11:29:48 +0530",
        "Message-ID": "<1629093590-115-2-git-send-email-anoobj@marvell.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1629093590-115-1-git-send-email-anoobj@marvell.com>",
        "References": "<1629093590-115-1-git-send-email-anoobj@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-ORIG-GUID": "pCnKvmH2HKXgcedWoaBYBdVwWFX9h-Jr",
        "X-Proofpoint-GUID": "pCnKvmH2HKXgcedWoaBYBdVwWFX9h-Jr",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475\n definitions=2021-08-16_02,2021-08-13_02,2020-04-07_01",
        "Subject": "[dpdk-dev] [PATCH 1/3] security: support user specified IV",
        "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": "Enable user to provide IV to be used per security operation. This\nwould be used with lookaside protocol offload for comparing\nagainst known vectors.\n\nBy default, PMD would generate IV internally and would be random.\n\nSigned-off-by: Anoob Joseph <anoobj@marvell.com>\nSigned-off-by: Tejasree Kondoj <ktejasree@marvell.com>\n---\n lib/security/rte_security.h | 14 ++++++++++++++\n 1 file changed, 14 insertions(+)",
    "diff": "diff --git a/lib/security/rte_security.h b/lib/security/rte_security.h\nindex 88d31de..b4b6776 100644\n--- a/lib/security/rte_security.h\n+++ b/lib/security/rte_security.h\n@@ -181,6 +181,20 @@ struct rte_security_ipsec_sa_options {\n \t * * 0: Disable per session security statistics collection for this SA.\n \t */\n \tuint32_t stats : 1;\n+\n+\t/** Disable IV generation in PMD\n+\t *\n+\t * * 1: Disable IV generation in PMD. When disabled, IV provided in\n+\t *      rte_crypto_op will be used by the PMD.\n+\t *\n+\t * * 0: Enable IV generation in PMD. When enabled, PMD generated random\n+\t *      value would be used and application is not required to provide\n+\t *      IV.\n+\t *\n+\t * Note: For inline cases, IV generation would always need to be handled\n+\t * by the PMD.\n+\t */\n+\tuint32_t iv_gen_disable : 1;\n };\n \n /** IPSec security association direction */\n",
    "prefixes": [
        "1/3"
    ]
}