Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/110538/?format=api
http://patches.dpdk.org/api/patches/110538/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220430045955.1875892-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": "<20220430045955.1875892-1-vattunuru@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220430045955.1875892-1-vattunuru@marvell.com", "date": "2022-04-30T04:59:55", "name": "[1/1] net/cnxk: enable 3des-cbc capability", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "325dee1eb4a41df2f11be00271329ccdee74ca28", "submitter": { "id": 1277, "url": "http://patches.dpdk.org/api/people/1277/?format=api", "name": "Vamsi Krishna Attunuru", "email": "vattunuru@marvell.com" }, "delegate": { "id": 310, "url": "http://patches.dpdk.org/api/users/310/?format=api", "username": "jerin", "first_name": "Jerin", "last_name": "Jacob", "email": "jerinj@marvell.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220430045955.1875892-1-vattunuru@marvell.com/mbox/", "series": [ { "id": 22744, "url": "http://patches.dpdk.org/api/series/22744/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=22744", "date": "2022-04-30T04:59:55", "name": "[1/1] net/cnxk: enable 3des-cbc capability", "version": 1, "mbox": "http://patches.dpdk.org/series/22744/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/110538/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/110538/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 94E51A0505;\n\tSat, 30 Apr 2022 07:00:31 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 362BA4069D;\n\tSat, 30 Apr 2022 07:00:31 +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 645734014F\n for <dev@dpdk.org>; Sat, 30 Apr 2022 07:00:29 +0200 (CEST)", "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.17.1.5/8.16.1.2) with ESMTP id\n 23U2qu40005074\n for <dev@dpdk.org>; Fri, 29 Apr 2022 22:00:28 -0700", "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3frvqf86my-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Fri, 29 Apr 2022 22:00:28 -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 Fri, 29 Apr 2022 22:00:26 -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; Fri, 29 Apr 2022 22:00:26 -0700", "from localhost.localdomain (unknown [10.28.48.51])\n by maili.marvell.com (Postfix) with ESMTP id 77B8B3F7070;\n Fri, 29 Apr 2022 22:00:25 -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=p4qj5P7vO8rzv8yemYph9mAD/sAP55hPPk6dk/yZOkE=;\n b=CyALJGFN7uG8uKOr2KwC8nXntQ9i4kgmIORmXEa01lsHn1XPor5KYC2dZTbbj8ij9RoA\n Hi50wdKJSNhClibgXJ6qE0iUgP/WB+7E6T17JdW+0tOg+Y1j+DXXzbezbpXWTbuvaqNp\n 8pO5HJPmTbbyFacykDnG2U+vzVInb4gaA9aNeU3Enx+3FuSodF6aUD5tavWDDOE9hgC4\n cnMBgAb9NLqYsWNrsiJc8E4jp2n6O7r3Gx3m4yRCAb6yBsVY+cY1Mp1MY++JLxa1C9bY\n ICZQnKEPHm6tna5T9oosamHWFgnc9V00GFzhGT+U7afhke05nFnlExFhinyqmQNQUczv zA==", "From": "Vamsi Attunuru <vattunuru@marvell.com>", "To": "<dev@dpdk.org>", "CC": "<vattunuru@marvell.com>, <jerinj@marvell.com>", "Subject": "[PATCH 1/1] net/cnxk: enable 3des-cbc capability", "Date": "Sat, 30 Apr 2022 10:29:55 +0530", "Message-ID": "<20220430045955.1875892-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": "XHixrOJJTCE52xKVAqaEbjx3nwQq2BiU", "X-Proofpoint-ORIG-GUID": "XHixrOJJTCE52xKVAqaEbjx3nwQq2BiU", "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 capability of inline crypto device.\n\nSigned-off-by: Vamsi Attunuru <vattunuru@marvell.com>\n---\n drivers/common/cnxk/cnxk_security.c | 3 +++\n drivers/net/cnxk/cn10k_ethdev_sec.c | 20 ++++++++++++++++++++\n 2 files changed, 23 insertions(+)", "diff": "diff --git a/drivers/common/cnxk/cnxk_security.c b/drivers/common/cnxk/cnxk_security.c\nindex ec808c0033..8ea0aea7c2 100644\n--- a/drivers/common/cnxk/cnxk_security.c\n+++ b/drivers/common/cnxk/cnxk_security.c\n@@ -129,6 +129,9 @@ ot_ipsec_sa_common_param_fill(union roc_ot_ipsec_sa_word2 *w2,\n \t\tcase RTE_CRYPTO_CIPHER_AES_CTR:\n \t\t\tw2->s.enc_type = ROC_IE_OT_SA_ENC_AES_CTR;\n \t\t\tbreak;\n+\t\tcase RTE_CRYPTO_CIPHER_3DES_CBC:\n+\t\t\tw2->s.enc_type = ROC_IE_OT_SA_ENC_3DES_CBC;\n+\t\t\tbreak;\n \t\tdefault:\n \t\t\treturn -ENOTSUP;\n \t\t}\ndiff --git a/drivers/net/cnxk/cn10k_ethdev_sec.c b/drivers/net/cnxk/cn10k_ethdev_sec.c\nindex 87bb691ab4..d0463b3622 100644\n--- a/drivers/net/cnxk/cn10k_ethdev_sec.c\n+++ b/drivers/net/cnxk/cn10k_ethdev_sec.c\n@@ -62,6 +62,26 @@ static struct rte_cryptodev_capabilities cn10k_eth_sec_crypto_caps[] = {\n \t\t\t}, }\n \t\t}, }\n \t},\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 \t{\t/* SHA1 HMAC */\n \t\t.op = RTE_CRYPTO_OP_TYPE_SYMMETRIC,\n \t\t{.sym = {\n", "prefixes": [ "1/1" ] }{ "id": 110538, "url": "