get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 110539,
    "url": "http://patches.dpdk.org/api/patches/110539/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220430053637.2065578-1-vattunuru@marvell.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": "<20220430053637.2065578-1-vattunuru@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220430053637.2065578-1-vattunuru@marvell.com",
    "date": "2022-04-30T05:36:37",
    "name": "[1/1] crypto/cnxk: enable 3des-cbc secure capability",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "a993415e5f55df8d1f0e12660ac5c8da66097006",
    "submitter": {
        "id": 1277,
        "url": "http://patches.dpdk.org/api/people/1277/?format=api",
        "name": "Vamsi Krishna Attunuru",
        "email": "vattunuru@marvell.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/20220430053637.2065578-1-vattunuru@marvell.com/mbox/",
    "series": [
        {
            "id": 22745,
            "url": "http://patches.dpdk.org/api/series/22745/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=22745",
            "date": "2022-04-30T05:36:37",
            "name": "[1/1] crypto/cnxk: enable 3des-cbc secure capability",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/22745/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/110539/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/110539/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 C2A68A0505;\n\tSat, 30 Apr 2022 07:37:12 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A1AD44069D;\n\tSat, 30 Apr 2022 07:37:12 +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 81B284014F\n for <dev@dpdk.org>; Sat, 30 Apr 2022 07:37:10 +0200 (CEST)",
            "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id\n 23U4xeK7031275\n for <dev@dpdk.org>; Fri, 29 Apr 2022 22:37:09 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3frva7r9sc-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Fri, 29 Apr 2022 22:37:09 -0700",
            "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18;\n Fri, 29 Apr 2022 22:37:07 -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.2 via Frontend\n Transport; Fri, 29 Apr 2022 22:37:07 -0700",
            "from localhost.localdomain (unknown [10.28.48.51])\n by maili.marvell.com (Postfix) with ESMTP id 206733F7044;\n Fri, 29 Apr 2022 22:37:05 -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=yoZx+CTrqklW60h///ZLtBT8oeEk02+RmE6NkHXtnjk=;\n b=CDgcdY6ozbrlGpebB8o4L+3XzRhLuwDQ2qqk6wpZorlVfbPz4V9MqE6wghwYbA0xd1gh\n fskd8Kqn/cl6ihXC3pOMJnwSZRPAwg+54up4cxiO+HYMj0xi17ZO5mvo7zZT4HcVTVmP\n RA0XAP8pp9vQVVW2RhF3VtRj4bx0scnYde3Vqqg5L/PcmNWdsq6MJA/7a2ZCWSotq5Ce\n Hp4Jy2vpwUnpHQshmw1pNEc1+Mtp5g5Z9XBVjw2/oy/An9xSJSgKCzd0DzIzFQKQ2AF6\n Z2Jr+TRwlqqNsAez+Og2+RRjm8DhN66sVkzoVQVIYv4ZmrW3rdfVaAT/e1OMK9X8Agza HQ==",
        "From": "Vamsi Attunuru <vattunuru@marvell.com>",
        "To": "<dev@dpdk.org>",
        "CC": "<anoobj@marvell.com>, <gakhil@marvell.com>, <vattunuru@marvell.com>",
        "Subject": "[PATCH 1/1] crypto/cnxk: enable 3des-cbc secure capability",
        "Date": "Sat, 30 Apr 2022 11:06:37 +0530",
        "Message-ID": "<20220430053637.2065578-1-vattunuru@marvell.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-GUID": "VuttVijMU59IAYRpGbwd10W-utOYRZvW",
        "X-Proofpoint-ORIG-GUID": "VuttVijMU59IAYRpGbwd10W-utOYRZvW",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514\n definitions=2022-04-30_01,2022-04-28_01,2022-02-23_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": "Patch enables 3DES-CBC secure capability of crypto device.\n\nSigned-off-by: Vamsi Attunuru <vattunuru@marvell.com>\n---\n drivers/crypto/cnxk/cnxk_cryptodev.h          |  2 +-\n .../crypto/cnxk/cnxk_cryptodev_capabilities.c | 24 +++++++++++++++++++\n drivers/crypto/cnxk/cnxk_ipsec.h              |  3 ++-\n 3 files changed, 27 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/crypto/cnxk/cnxk_cryptodev.h b/drivers/crypto/cnxk/cnxk_cryptodev.h\nindex b75d681185..8870021725 100644\n--- a/drivers/crypto/cnxk/cnxk_cryptodev.h\n+++ b/drivers/crypto/cnxk/cnxk_cryptodev.h\n@@ -11,7 +11,7 @@\n #include \"roc_cpt.h\"\n \n #define CNXK_CPT_MAX_CAPS\t 35\n-#define CNXK_SEC_CRYPTO_MAX_CAPS 12\n+#define CNXK_SEC_CRYPTO_MAX_CAPS 13\n #define CNXK_SEC_MAX_CAPS\t 9\n #define CNXK_AE_EC_ID_MAX\t 8\n /**\ndiff --git a/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c b/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c\nindex 98b002d93a..ba9eaf2325 100644\n--- a/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c\n+++ b/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c\n@@ -862,6 +862,29 @@ static const struct rte_cryptodev_capabilities sec_caps_aes[] = {\n \t},\n };\n \n+static const struct rte_cryptodev_capabilities sec_caps_des[] = {\n+\t{\t/* 3DES 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_3DES_CBC,\n+\t\t\t\t.block_size = 8,\n+\t\t\t\t.key_size = {\n+\t\t\t\t\t.min = 24,\n+\t\t\t\t\t.max = 24,\n+\t\t\t\t\t.increment = 0\n+\t\t\t\t},\n+\t\t\t\t.iv_size = {\n+\t\t\t\t\t.min = 8,\n+\t\t\t\t\t.max = 16,\n+\t\t\t\t\t.increment = 8\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@@ -1195,6 +1218,7 @@ sec_crypto_caps_populate(struct rte_cryptodev_capabilities cnxk_caps[],\n \tint cur_pos = 0;\n \n \tSEC_CAPS_ADD(cnxk_caps, &cur_pos, hw_caps, aes);\n+\tSEC_CAPS_ADD(cnxk_caps, &cur_pos, hw_caps, des);\n \tSEC_CAPS_ADD(cnxk_caps, &cur_pos, hw_caps, sha1_sha2);\n \n \tif (roc_model_is_cn10k())\ndiff --git a/drivers/crypto/cnxk/cnxk_ipsec.h b/drivers/crypto/cnxk/cnxk_ipsec.h\nindex 171ea2774e..7c7833ac1b 100644\n--- a/drivers/crypto/cnxk/cnxk_ipsec.h\n+++ b/drivers/crypto/cnxk/cnxk_ipsec.h\n@@ -24,7 +24,8 @@ ipsec_xform_cipher_verify(struct rte_crypto_sym_xform *crypto_xform)\n \t\treturn 0;\n \n \tif (crypto_xform->cipher.algo == RTE_CRYPTO_CIPHER_AES_CBC ||\n-\t    crypto_xform->cipher.algo == RTE_CRYPTO_CIPHER_AES_CTR) {\n+\t    crypto_xform->cipher.algo == RTE_CRYPTO_CIPHER_AES_CTR ||\n+\t    crypto_xform->cipher.algo == RTE_CRYPTO_CIPHER_3DES_CBC) {\n \t\tswitch (crypto_xform->cipher.key.length) {\n \t\tcase 16:\n \t\tcase 24:\n",
    "prefixes": [
        "1/1"
    ]
}