Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/124479/?format=api
https://patches.dpdk.org/api/patches/124479/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20230224054813.2855914-2-ktejasree@marvell.com/", "project": { "id": 1, "url": "https://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": "<20230224054813.2855914-2-ktejasree@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230224054813.2855914-2-ktejasree@marvell.com", "date": "2023-02-24T05:48:03", "name": "[01/11] common/cnxk: fix incorrect auth key length", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "efe22a20e6f4384da62363b4c45c32159afa7c9a", "submitter": { "id": 1789, "url": "https://patches.dpdk.org/api/people/1789/?format=api", "name": "Tejasree Kondoj", "email": "ktejasree@marvell.com" }, "delegate": { "id": 1, "url": "https://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20230224054813.2855914-2-ktejasree@marvell.com/mbox/", "series": [ { "id": 27165, "url": "https://patches.dpdk.org/api/series/27165/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=27165", "date": "2023-02-24T05:48:02", "name": "fixes and improvements to cnxk crypto PMD", "version": 1, "mbox": "https://patches.dpdk.org/series/27165/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/124479/comments/", "check": "warning", "checks": "https://patches.dpdk.org/api/patches/124479/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 19B2441D5B;\n\tFri, 24 Feb 2023 06:48:31 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id CB25D410EA;\n\tFri, 24 Feb 2023 06:48:24 +0100 (CET)", "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id 6B8EE40EF0\n for <dev@dpdk.org>; Fri, 24 Feb 2023 06:48:22 +0100 (CET)", "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id\n 31O3N2g5009266 for <dev@dpdk.org>; Thu, 23 Feb 2023 21:48:21 -0800", "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3nxfkwa3aq-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Thu, 23 Feb 2023 21:48:21 -0800", "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.42;\n Thu, 23 Feb 2023 21:48:19 -0800", "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.42 via Frontend\n Transport; Thu, 23 Feb 2023 21:48:19 -0800", "from hyd1554.marvell.com (unknown [10.29.57.11])\n by maili.marvell.com (Postfix) with ESMTP id 72BCB5B6933;\n Thu, 23 Feb 2023 21:48:16 -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 : in-reply-to : references : mime-version :\n content-transfer-encoding : content-type; s=pfpt0220;\n bh=qPtgSi0zckcTvjqkVSrFdpltpqTLk+FdMFkDSJMg/AE=;\n b=VOEPMvX2BAIOUDhHoPmq5xUyRM9d2NJ3xjly5oW9efbwqE2f3guzB8L0XJRCRk9fqg16\n GusY8ItD+sHIeFunIPo+lKQxt1kHV0kO7KFOsCqdWKdRDxqcMpIPxyv6DVLH3Amy2Cn5\n c2AHpqyOX5IGGFHLJF2NtJVbC8TSXPOCDPkpS4dSUfiZ/WGfS2rOHhPMd5JHOtb/q0bb\n sjyA/3S9aEQn75Kz/1pLCVDKyJxgbLgjBBp2tIgQ5/mznu24QxDviLdDcNBqsawLPmLU\n 2WfdFdqvNZPzeWKZhzgWrbpjxybjiCmhW6WAVMi83sItryvVxBw8URoJVaZ6h8JG5Ep3 CA==", "From": "Tejasree Kondoj <ktejasree@marvell.com>", "To": "Akhil Goyal <gakhil@marvell.com>", "CC": "Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>, Anoob Joseph\n <anoobj@marvell.com>, <dev@dpdk.org>", "Subject": "[PATCH 01/11] common/cnxk: fix incorrect auth key length", "Date": "Fri, 24 Feb 2023 11:18:03 +0530", "Message-ID": "<20230224054813.2855914-2-ktejasree@marvell.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20230224054813.2855914-1-ktejasree@marvell.com>", "References": "<20230224054813.2855914-1-ktejasree@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-GUID": "xR5MhjBIBKpGwGE6TH7yOGl_w-aMzYxq", "X-Proofpoint-ORIG-GUID": "xR5MhjBIBKpGwGE6TH7yOGl_w-aMzYxq", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22\n definitions=2023-02-24_02,2023-02-23_01,2023-02-09_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": "From: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>\n\nAuth key length is stored as 8 bit value in SE context. It should\nbe larger enough to accommodate supported auth key length of 1024\nbytes maximum, as in HMAC.\n\nFixes: a45859312ff (\"common/cnxk: add SE definitions for symmetric crypto\")\n\nSigned-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>\n---\n drivers/common/cnxk/roc_se.h | 7 +++----\n 1 file changed, 3 insertions(+), 4 deletions(-)", "diff": "diff --git a/drivers/common/cnxk/roc_se.h b/drivers/common/cnxk/roc_se.h\nindex 6758142214..a0c97b26c5 100644\n--- a/drivers/common/cnxk/roc_se.h\n+++ b/drivers/common/cnxk/roc_se.h\n@@ -288,16 +288,15 @@ struct roc_se_ctx {\n \tuint64_t enc_cipher : 8;\n \tuint64_t hash_type : 8;\n \tuint64_t mac_len : 8;\n-\tuint64_t auth_key_len : 8;\n+\tuint64_t auth_key_len : 16;\n \tuint64_t fc_type : 4;\n \tuint64_t hmac : 1;\n \tuint64_t zsk_flags : 3;\n \tuint64_t k_ecb : 1;\n \tuint64_t pdcp_ci_alg : 2;\n \tuint64_t pdcp_auth_alg : 2;\n-\tuint16_t ciph_then_auth : 1;\n-\tuint16_t auth_then_ciph : 1;\n-\tuint64_t rsvd : 17;\n+\tuint64_t ciph_then_auth : 1;\n+\tuint64_t auth_then_ciph : 1;\n \tunion cpt_inst_w4 template_w4;\n \t/* Below fields are accessed by hardware */\n \tstruct se_ctx_s {\n", "prefixes": [ "01/11" ] }{ "id": 124479, "url": "