get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 99878,
    "url": "http://patchwork.dpdk.org/api/patches/99878/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20210928102430.30270-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": "<20210928102430.30270-1-ktejasree@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210928102430.30270-1-ktejasree@marvell.com",
    "date": "2021-09-28T10:24:30",
    "name": "crypto/octeontx2: fix lookaside IPsec capabilities",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "73c93eefe4ea16a7d8a8ff34ae57756f66ea43f1",
    "submitter": {
        "id": 1789,
        "url": "http://patchwork.dpdk.org/api/people/1789/?format=api",
        "name": "Tejasree Kondoj",
        "email": "ktejasree@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/20210928102430.30270-1-ktejasree@marvell.com/mbox/",
    "series": [
        {
            "id": 19220,
            "url": "http://patchwork.dpdk.org/api/series/19220/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=19220",
            "date": "2021-09-28T10:24:30",
            "name": "crypto/octeontx2: fix lookaside IPsec capabilities",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/19220/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/99878/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/99878/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 D6D9AA0C4C;\n\tTue, 28 Sep 2021 11:30:52 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 73E1D40E3C;\n\tTue, 28 Sep 2021 11:30:52 +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 CC99340DF6\n for <dev@dpdk.org>; Tue, 28 Sep 2021 11:30:50 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 18S17oCl026166\n for <dev@dpdk.org>; Tue, 28 Sep 2021 02:30:49 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0a-0016f401.pphosted.com with ESMTP id 3bbs489pjf-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Tue, 28 Sep 2021 02:30:49 -0700",
            "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18;\n Tue, 28 Sep 2021 02:30:48 -0700",
            "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.18 via Frontend\n Transport; Tue, 28 Sep 2021 02:30:48 -0700",
            "from hyd1554T5810.caveonetworks.com.com (unknown [10.29.57.11])\n by maili.marvell.com (Postfix) with ESMTP id 530993F7040;\n Tue, 28 Sep 2021 02:30:46 -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 : mime-version : content-transfer-encoding :\n content-type; s=pfpt0220; bh=evrLkj8CHt6LBS5DkJEt+F3a++wn3OeIGGCRtg/iODE=;\n b=fLxRfjYV5kVBk/iF55A7YLscPWcSYvX9gLmUt0lhFl45VhURLFzfMlE5uVXeVtHn4dtY\n 3zOXCWXTo/kNHhE9LwjOaEuj2na1hdM/v2cXgEyvz3N1scS2mAGv2DdYjKjTohQybs/4\n 7H+gJaso+Q5iZTgWAqDAcJfSkfKEOolYeH7xiRUyxQnlq0LntCiMpxzhDDXhe7x+DewL\n XPxcfMxu9oElzcULIAfOWdUIk4oK6gdDOqLCPJLlKiOLWQ64yuwoPeUrLPHCFu+n2IFI\n 3wUjr3z32FN7fmjiIifLhOIS4tvD+qW1sKV8TpeRtxuYP6iQqYzXBcCKZooOqADslz2d sw==",
        "From": "Tejasree Kondoj <ktejasree@marvell.com>",
        "To": "Akhil Goyal <gakhil@marvell.com>",
        "CC": "Tejasree Kondoj <ktejasree@marvell.com>,\n Anoob Joseph <anoobj@marvell.com>,\n Ankur Dwivedi <adwivedi@marvell.com>, <dev@dpdk.org>",
        "Date": "Tue, 28 Sep 2021 15:54:30 +0530",
        "Message-ID": "<20210928102430.30270-1-ktejasree@marvell.com>",
        "X-Mailer": "git-send-email 2.27.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-GUID": "40nWLHsn5HoBmaC-59_emeiJvJSDr-RR",
        "X-Proofpoint-ORIG-GUID": "40nWLHsn5HoBmaC-59_emeiJvJSDr-RR",
        "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-09-28_05,2021-09-28_01,2020-04-07_01",
        "Subject": "[dpdk-dev] [PATCH] crypto/octeontx2: fix lookaside IPsec\n capabilities",
        "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": "Adding cbc, sha1-hmac and sha256-hmac to lookaside IPsec capabilities.\n\nFixes: 8f685ec2d545 (\"crypto/octeontx2: support AES-CBC SHA1-HMAC\")\nFixes: 61baeec4682c (\"crypto/octeontx2: support AES-CBC SHA256-128-HMAC\")\n\nSigned-off-by: Tejasree Kondoj <ktejasree@marvell.com>\n---\n .../octeontx2/otx2_cryptodev_capabilities.c   | 64 +++++++++++++++++++\n 1 file changed, 64 insertions(+)",
    "diff": "diff --git a/drivers/crypto/octeontx2/otx2_cryptodev_capabilities.c b/drivers/crypto/octeontx2/otx2_cryptodev_capabilities.c\nindex 80f3729995..ba3fbbbe22 100644\n--- a/drivers/crypto/octeontx2/otx2_cryptodev_capabilities.c\n+++ b/drivers/crypto/octeontx2/otx2_cryptodev_capabilities.c\n@@ -767,6 +767,69 @@ static const struct rte_cryptodev_capabilities sec_caps_aes[] = {\n \t\t\t}, }\n \t\t}, }\n \t},\n+\t{\t/* AES CBC */\n+\t\t.op = RTE_CRYPTO_OP_TYPE_SYMMETRIC,\n+\t\t{.sym = {\n+\t\t\t.xform_type = RTE_CRYPTO_SYM_XFORM_CIPHER,\n+\t\t\t{.cipher = {\n+\t\t\t\t.algo = RTE_CRYPTO_CIPHER_AES_CBC,\n+\t\t\t\t.block_size = 16,\n+\t\t\t\t.key_size = {\n+\t\t\t\t\t.min = 16,\n+\t\t\t\t\t.max = 32,\n+\t\t\t\t\t.increment = 8\n+\t\t\t\t},\n+\t\t\t\t.iv_size = {\n+\t\t\t\t\t.min = 16,\n+\t\t\t\t\t.max = 16,\n+\t\t\t\t\t.increment = 0\n+\t\t\t\t}\n+\t\t\t}, }\n+\t\t}, }\n+\t},\n+};\n+\n+static const struct rte_cryptodev_capabilities sec_caps_sha1_sha2[] = {\n+\t{\t/* SHA1 HMAC */\n+\t\t.op = RTE_CRYPTO_OP_TYPE_SYMMETRIC,\n+\t\t{.sym = {\n+\t\t\t.xform_type = RTE_CRYPTO_SYM_XFORM_AUTH,\n+\t\t\t{.auth = {\n+\t\t\t\t.algo = RTE_CRYPTO_AUTH_SHA1_HMAC,\n+\t\t\t\t.block_size = 64,\n+\t\t\t\t.key_size = {\n+\t\t\t\t\t.min = 1,\n+\t\t\t\t\t.max = 1024,\n+\t\t\t\t\t.increment = 1\n+\t\t\t\t},\n+\t\t\t\t.digest_size = {\n+\t\t\t\t\t.min = 12,\n+\t\t\t\t\t.max = 20,\n+\t\t\t\t\t.increment = 8\n+\t\t\t\t},\n+\t\t\t}, }\n+\t\t}, }\n+\t},\n+\t{\t/* SHA256 HMAC */\n+\t\t.op = RTE_CRYPTO_OP_TYPE_SYMMETRIC,\n+\t\t{.sym = {\n+\t\t\t.xform_type = RTE_CRYPTO_SYM_XFORM_AUTH,\n+\t\t\t{.auth = {\n+\t\t\t\t.algo = RTE_CRYPTO_AUTH_SHA256_HMAC,\n+\t\t\t\t.block_size = 64,\n+\t\t\t\t.key_size = {\n+\t\t\t\t\t.min = 1,\n+\t\t\t\t\t.max = 1024,\n+\t\t\t\t\t.increment = 1\n+\t\t\t\t},\n+\t\t\t\t.digest_size = {\n+\t\t\t\t\t.min = 16,\n+\t\t\t\t\t.max = 32,\n+\t\t\t\t\t.increment = 16\n+\t\t\t\t},\n+\t\t\t}, }\n+\t\t}, }\n+\t},\n };\n \n static const struct rte_security_capability\n@@ -849,6 +912,7 @@ void\n otx2_crypto_sec_capabilities_init(union cpt_eng_caps *hw_caps)\n {\n \tSEC_CAPS_ADD(hw_caps, aes);\n+\tSEC_CAPS_ADD(hw_caps, sha1_sha2);\n \n \tsec_caps_add(caps_end, RTE_DIM(caps_end));\n }\n",
    "prefixes": []
}