get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 130111,
    "url": "http://patchwork.dpdk.org/api/patches/130111/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230811071712.240-4-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": "<20230811071712.240-4-anoobj@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230811071712.240-4-anoobj@marvell.com",
    "date": "2023-08-11T07:17:12",
    "name": "[RFC,3/3] cryptodev: add details of datapath handling of TLS records",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "97f6a7b7bcbe8bd4cef01bd7ac00c1cd0637228a",
    "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/20230811071712.240-4-anoobj@marvell.com/mbox/",
    "series": [
        {
            "id": 29175,
            "url": "http://patchwork.dpdk.org/api/series/29175/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=29175",
            "date": "2023-08-11T07:17:09",
            "name": "add TLS record processing security offload",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/29175/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/130111/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/130111/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 7DCF84302F;\n\tFri, 11 Aug 2023 09:18:00 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 0C52943262;\n\tFri, 11 Aug 2023 09:17:44 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id 710184323A\n for <dev@dpdk.org>; Fri, 11 Aug 2023 09:17:41 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id\n 37AMjxvV001610; Fri, 11 Aug 2023 00:17:37 -0700",
            "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3sd8yp9f1c-2\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Fri, 11 Aug 2023 00:17:37 -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.48;\n Fri, 11 Aug 2023 00:17:35 -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.48 via Frontend\n Transport; Fri, 11 Aug 2023 00:17:35 -0700",
            "from BG-LT92004.corp.innovium.com (unknown [10.28.163.189])\n by maili.marvell.com (Postfix) with ESMTP id 12EE63F70B1;\n Fri, 11 Aug 2023 00:17:27 -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=i6/UL2lCKsP8YK+U/3Jc0ne/Vv2olWVSakqORNnyS34=;\n b=BjnOC7sxD3FjWbdmwqIY+rQYfxpRInM2IYf6cOcTaIGXj/OYWZhSCWhU9wO3c/kvhrs2\n yEMd8W3ZQI4D3lxmWddFpZII1mQ9YEa8J/FMZ8CaUxECt1tXv3vBZEXGtg3gd4yKYXbM\n KqNfXtPX5Yk7o3tQXsyDALu65ZeRjRdhwPaAh6P+8QXA+ay+F0H6jmMDXfl3APTkDTOb\n NZpSeHfIUDla6SFWcmwRwrW1JVGhf9NTQNbGyrn9gVzyujAEnC3nTPFcLdGJFoFfiOyV\n Da/fKGwSiwaZyUffjFtc+USr1d/tVEL6B6Gx/1RCRIOe0cmYKoHKjRmOfnZqG7sUNzRf 4A==",
        "From": "Anoob Joseph <anoobj@marvell.com>",
        "To": "Thomas Monjalon <thomas@monjalon.net>, Akhil Goyal <gakhil@marvell.com>,\n Jerin Jacob <jerinj@marvell.com>, Konstantin Ananyev\n <konstantin.v.ananyev@yandex.ru>",
        "CC": "Hemant Agrawal <hemant.agrawal@nxp.com>, <dev@dpdk.org>, Olivier Matz\n <olivier.matz@6wind.com>, Vidya Sagar Velumuri <vvelumuri@marvell.com>",
        "Subject": "[RFC PATCH 3/3] cryptodev: add details of datapath handling of TLS\n records",
        "Date": "Fri, 11 Aug 2023 12:47:12 +0530",
        "Message-ID": "<20230811071712.240-4-anoobj@marvell.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20230811071712.240-1-anoobj@marvell.com>",
        "References": "<20230811071712.240-1-anoobj@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-ORIG-GUID": "Jgin3iiI7udYZeLQv6Aw521Bmqbzlzo2",
        "X-Proofpoint-GUID": "Jgin3iiI7udYZeLQv6Aw521Bmqbzlzo2",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26\n definitions=2023-08-10_20,2023-08-10_01,2023-05-22_02",
        "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"
    },
    "content": "TLS/DTLS record processing requires content type to be provided per\npacket (for record write operation). Extend usage of\nrte_crypto_op.aux_flags for the same purpose.\n\nSigned-off-by: Akhil Goyal <gakhil@marvell.com>\nSigned-off-by: Anoob Joseph <anoobj@marvell.com>\nSigned-off-by: Vidya Sagar Velumuri <vvelumuri@marvell.com>\n---\n doc/guides/prog_guide/rte_security.rst | 10 ++++++++++\n lib/cryptodev/rte_crypto.h             |  6 ++++++\n 2 files changed, 16 insertions(+)",
    "diff": "diff --git a/doc/guides/prog_guide/rte_security.rst b/doc/guides/prog_guide/rte_security.rst\nindex 7716d7239f..6cb69bc949 100644\n--- a/doc/guides/prog_guide/rte_security.rst\n+++ b/doc/guides/prog_guide/rte_security.rst\n@@ -451,6 +451,16 @@ Protocol. The TLS Record Protocol provides connection security that has two basi\n                   V                              V\n             TLSCiphertext                  TLSPlaintext\n \n+TLS and DTLS header formation (in record write operation) would depend on the\n+type of content. It is a per packet variable and would need to be handled by\n+the same session. Application may pass this info to a cryptodev performing\n+lookaside protocol offload by passing the same in ``rte_crypto_op.aux_flags``.\n+\n+In record read operation, application is required to preserve any info it may\n+need from the TLS/DTLS header (such as content type and sequence number) as the\n+cryptodev would remove the header and padding as part of the lookaside protocol\n+processing.\n+\n Supported Versions\n ^^^^^^^^^^^^^^^^^^\n \ndiff --git a/lib/cryptodev/rte_crypto.h b/lib/cryptodev/rte_crypto.h\nindex 9b8d0331a4..7c12a2b705 100644\n--- a/lib/cryptodev/rte_crypto.h\n+++ b/lib/cryptodev/rte_crypto.h\n@@ -101,6 +101,12 @@ struct rte_crypto_op {\n \t\t\t/**< Operation specific auxiliary/additional flags.\n \t\t\t * These flags carry additional information from the\n \t\t\t * operation. Processing of the same is optional.\n+\t\t\t *\n+\t\t\t * With TLS record offload (RTE_SECURITY_PROTOCOL_TLS_RECORD),\n+\t\t\t * application would be required to provide the message\n+\t\t\t * type of the input provided. The 'aux_flags' field\n+\t\t\t * can be used for passing the same. Message types are\n+\t\t\t * listed as RTE_TLS_TYPE_* and RTE_DTLS_TYPE_*.\n \t\t\t */\n \t\t\tuint8_t reserved[2];\n \t\t\t/**< Reserved bytes to fill 64 bits for\n",
    "prefixes": [
        "RFC",
        "3/3"
    ]
}