get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 120908,
    "url": "http://patchwork.dpdk.org/api/patches/120908/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20221215035805.1777924-1-ktejasree@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": "<20221215035805.1777924-1-ktejasree@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20221215035805.1777924-1-ktejasree@marvell.com",
    "date": "2022-12-15T03:58:05",
    "name": "examples/ipsec-secgw: set AES-CTR IV length to 16",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "3ba5ea0c96f00afc2829db458fc7923654672435",
    "submitter": {
        "id": 1789,
        "url": "http://patchwork.dpdk.org/api/people/1789/?format=api",
        "name": "Tejasree Kondoj",
        "email": "ktejasree@marvell.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20221215035805.1777924-1-ktejasree@marvell.com/mbox/",
    "series": [
        {
            "id": 26135,
            "url": "http://patchwork.dpdk.org/api/series/26135/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=26135",
            "date": "2022-12-15T03:58:05",
            "name": "examples/ipsec-secgw: set AES-CTR IV length to 16",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/26135/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/120908/comments/",
    "check": "warning",
    "checks": "http://patchwork.dpdk.org/api/patches/120908/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 1F852A0543;\n\tThu, 15 Dec 2022 04:58:12 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B886F40684;\n\tThu, 15 Dec 2022 04:58:11 +0100 (CET)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id 98977400D6\n for <dev@dpdk.org>; Thu, 15 Dec 2022 04:58:10 +0100 (CET)",
            "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 2BELrZaM006357; Wed, 14 Dec 2022 19:58:09 -0800",
            "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3mf6tj735e-3\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Wed, 14 Dec 2022 19:58:09 -0800",
            "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.42;\n Wed, 14 Dec 2022 19:58:08 -0800",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.42 via Frontend\n Transport; Wed, 14 Dec 2022 19:58:08 -0800",
            "from hyd1554.marvell.com (unknown [10.29.57.11])\n by maili.marvell.com (Postfix) with ESMTP id 54FDD3F707C;\n Wed, 14 Dec 2022 19:58:06 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : mime-version : content-transfer-encoding :\n content-type; s=pfpt0220; bh=SKN99mYjiOqtxReC8o+Fyr7EziCEKX35hIIKU+qU0r4=;\n b=NiV9mmtwu2pA944ai/GCPy/8iiRAQhpXrypXa+tgvnjQKFrECzVts77M8KiKT71ozmb2\n tvAFtiQDRKz3OAffSjA3vMkCtCiy/sch400sZZujFd+rAXntA/H3TChWnc7ke4AP7PJa\n k5t3TheLJnv4h5XNub2gw+BvkK+bi10YWpUYwxfM3YEStQJB3u+CNbHwNaB6Gb471OPy\n +J70HujubKJr2aHfKomsWsFjtUUGx5VjCiAE6sdUcWulDQq7XhbZVrCOy+gm4GR3aZRn\n tQD8cVI1UOazdhgt9sMbOzXs7lFle/J02PNfLJOO3cbmtejgAN9MnzbwPnlHXE9qdeZ3 EQ==",
        "From": "Tejasree Kondoj <ktejasree@marvell.com>",
        "To": "Akhil Goyal <gakhil@marvell.com>, Radu Nicolau <radu.nicolau@intel.com>",
        "CC": "Anoob Joseph <anoobj@marvell.com>, <dev@dpdk.org>",
        "Subject": "[PATCH] examples/ipsec-secgw: set AES-CTR IV length to 16",
        "Date": "Thu, 15 Dec 2022 09:28:05 +0530",
        "Message-ID": "<20221215035805.1777924-1-ktejasree@marvell.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-ORIG-GUID": "BHK8moaPTKXBOhAUctZzYsuKhUDB16Y7",
        "X-Proofpoint-GUID": "BHK8moaPTKXBOhAUctZzYsuKhUDB16Y7",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1\n definitions=2022-12-15_01,2022-12-14_01,2022-06-22_01",
        "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": "Set AES-CTR IV length as 16 instead of taking from\nSA config option since the application populates\n16B IV in the datapath. AES-CTR requires 16B IV\nconstructed from nonce and counter.\n\nSigned-off-by: Tejasree Kondoj <ktejasree@marvell.com>\n---\n examples/ipsec-secgw/sa.c | 7 ++++++-\n 1 file changed, 6 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/examples/ipsec-secgw/sa.c b/examples/ipsec-secgw/sa.c\nindex 024831c177..cee29008ba 100644\n--- a/examples/ipsec-secgw/sa.c\n+++ b/examples/ipsec-secgw/sa.c\n@@ -1319,9 +1319,14 @@ sa_add_rules(struct sa_ctx *sa_ctx, const struct ipsec_sa entries[],\n \t\t\tcase RTE_CRYPTO_CIPHER_NULL:\n \t\t\tcase RTE_CRYPTO_CIPHER_3DES_CBC:\n \t\t\tcase RTE_CRYPTO_CIPHER_AES_CBC:\n-\t\t\tcase RTE_CRYPTO_CIPHER_AES_CTR:\n \t\t\t\tiv_length = sa->iv_len;\n \t\t\t\tbreak;\n+\t\t\tcase RTE_CRYPTO_CIPHER_AES_CTR:\n+\t\t\t\t/* Length includes 8B per packet IV, 4B nonce and\n+\t\t\t\t * 4B counter as populated in datapath.\n+\t\t\t\t */\n+\t\t\t\tiv_length = 16;\n+\t\t\t\tbreak;\n \t\t\tdefault:\n \t\t\t\tRTE_LOG(ERR, IPSEC_ESP,\n \t\t\t\t\t\t\"unsupported cipher algorithm %u\\n\",\n",
    "prefixes": []
}