Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/118575/?format=api
http://patches.dpdk.org/api/patches/118575/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20221019141513.1969052-4-ktejasree@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": "<20221019141513.1969052-4-ktejasree@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20221019141513.1969052-4-ktejasree@marvell.com", "date": "2022-10-19T14:15:03", "name": "[03/13] crypto/cnxk: change capabilities as per firmware", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "4398a05b96824260bb191d45625e3bcf49e3c83b", "submitter": { "id": 1789, "url": "http://patches.dpdk.org/api/people/1789/?format=api", "name": "Tejasree Kondoj", "email": "ktejasree@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/20221019141513.1969052-4-ktejasree@marvell.com/mbox/", "series": [ { "id": 25309, "url": "http://patches.dpdk.org/api/series/25309/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=25309", "date": "2022-10-19T14:15:02", "name": "[01/13] crypto/cnxk: fix length of AES-CMAC algo", "version": 1, "mbox": "http://patches.dpdk.org/series/25309/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/118575/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/118575/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 3AC86A06C8;\n\tWed, 19 Oct 2022 16:15:33 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D17D742BD5;\n\tWed, 19 Oct 2022 16:15:26 +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 B1A2F42BCB\n for <dev@dpdk.org>; Wed, 19 Oct 2022 16:15:24 +0200 (CEST)", "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id\n 29J8B9Pw010719\n for <dev@dpdk.org>; Wed, 19 Oct 2022 07:15:23 -0700", "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3kadg59c99-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Wed, 19 Oct 2022 07:15:23 -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 Wed, 19 Oct 2022 07:15:21 -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; Wed, 19 Oct 2022 07:15:21 -0700", "from hyd1554.marvell.com (unknown [10.29.57.11])\n by maili.marvell.com (Postfix) with ESMTP id 5A6A83F7059;\n Wed, 19 Oct 2022 07:15:20 -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=+3v6pWzFuYs9lq7gP8zhAqaFbZ4z+LTpc1aqvtkbgMs=;\n b=C+uYhpxcGtU7dMIBsr9l9eQ83VDaqwamy0efI2QfejxvD4ZcGK2jiaaZ+j38Gny8otpW\n YA/qqa7Jwi3K+LVU9N2utgxv+/gIi3OZZWrtgKYbFF5PNIttGoUx95EnWiGF2mdnZPni\n v1SHaEAKpNfBaQ+n9MA0i/5BNzsUlqwABKOSOmYX5ax5nWvPCJEaAjg2c8Qns9VZEXDW\n om+K+4muaaApCCCRg+xr71aMY7q8ymHUd1Z856SKjdPQj0rfN5PteqRRjIhHokHN7yi/\n 8PXdSQ17nUW7C+4uRlJNxdIoOmh6U8I+eXK/pnxR1Nh4AOq8kWnBo0hYdokPrLtavShd FA==", "From": "Tejasree Kondoj <ktejasree@marvell.com>", "To": "Akhil Goyal <gakhil@marvell.com>", "CC": "Anoob Joseph <anoobj@marvell.com>, Vidya Sagar Velumuri\n <vvelumuri@marvell.com>, <dev@dpdk.org>", "Subject": "[PATCH 03/13] crypto/cnxk: change capabilities as per firmware", "Date": "Wed, 19 Oct 2022 19:45:03 +0530", "Message-ID": "<20221019141513.1969052-4-ktejasree@marvell.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20221019141513.1969052-1-ktejasree@marvell.com>", "References": "<20221019141513.1969052-1-ktejasree@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-GUID": "PecX7y8HHq9doorurwrla7k1KGG5VO-L", "X-Proofpoint-ORIG-GUID": "PecX7y8HHq9doorurwrla7k1KGG5VO-L", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1\n definitions=2022-10-19_08,2022-10-19_03,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": "Changing CPT engine capabilities structure as per\nmicrocode.\n\nSigned-off-by: Tejasree Kondoj <ktejasree@marvell.com>\n---\n drivers/common/cnxk/roc_mbox.h | 5 ++++-\n drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 4 +---\n 2 files changed, 5 insertions(+), 4 deletions(-)", "diff": "diff --git a/drivers/common/cnxk/roc_mbox.h b/drivers/common/cnxk/roc_mbox.h\nindex 66a1be387d..9b57b934b1 100644\n--- a/drivers/common/cnxk/roc_mbox.h\n+++ b/drivers/common/cnxk/roc_mbox.h\n@@ -1517,7 +1517,10 @@ union cpt_eng_caps {\n \t\tuint64_t __io kasumi : 1;\n \t\tuint64_t __io des : 1;\n \t\tuint64_t __io crc : 1;\n-\t\tuint64_t __io reserved_14_63 : 50;\n+\t\tuint64_t __io mmul : 1;\n+\t\tuint64_t __io reserved_15_33 : 19;\n+\t\tuint64_t __io pdcp_chain : 1;\n+\t\tuint64_t __io reserved_35_63 : 29;\n \t};\n };\n \ndiff --git a/drivers/crypto/cnxk/cnxk_cryptodev_ops.c b/drivers/crypto/cnxk/cnxk_cryptodev_ops.c\nindex a5233a942a..e0ceaa32d5 100644\n--- a/drivers/crypto/cnxk/cnxk_cryptodev_ops.c\n+++ b/drivers/crypto/cnxk/cnxk_cryptodev_ops.c\n@@ -449,9 +449,7 @@ cnxk_sess_fill(struct roc_cpt *roc_cpt, struct rte_crypto_sym_xform *xform,\n \tbool pdcp_chain_supported = false;\n \tbool ciph_then_auth = false;\n \n-\tif (roc_cpt->cpt_revision == ROC_CPT_REVISION_ID_96XX_B0 ||\n-\t roc_cpt->cpt_revision == ROC_CPT_REVISION_ID_96XX_C0 ||\n-\t roc_cpt->cpt_revision == ROC_CPT_REVISION_ID_98XX)\n+\tif (roc_cpt->hw_caps[CPT_ENG_TYPE_SE].pdcp_chain)\n \t\tpdcp_chain_supported = true;\n \n \tif (xform == NULL)\n", "prefixes": [ "03/13" ] }{ "id": 118575, "url": "