Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/124481/?format=api
https://patches.dpdk.org/api/patches/124481/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20230224054813.2855914-5-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-5-ktejasree@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230224054813.2855914-5-ktejasree@marvell.com", "date": "2023-02-24T05:48:06", "name": "[04/11] crypto/cnxk: use direct mode for zero aad length", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "a139c51815986dd4816441d9cd0037f58179fbf8", "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-5-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/124481/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/124481/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 3930B41D5B;\n\tFri, 24 Feb 2023 06:48:44 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 11C0A41148;\n\tFri, 24 Feb 2023 06:48:29 +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 0369C41141\n for <dev@dpdk.org>; Fri, 24 Feb 2023 06:48:26 +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 31O3LIBE005076 for <dev@dpdk.org>; Thu, 23 Feb 2023 21:48:26 -0800", "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3nxfkwa3b7-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:26 -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:24 -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:24 -0800", "from hyd1554.marvell.com (unknown [10.29.57.11])\n by maili.marvell.com (Postfix) with ESMTP id A594E3F7070;\n Thu, 23 Feb 2023 21:48:22 -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=LfSB+35B+sG5wJOT667l0P+hvDVgZUfW6U3/ASxX1Pc=;\n b=RnARe+w/Xkc6Ls8kpajVR8GehUs1zQDWcb2JxNuiQ56/Dh5SolzScmodyxgW6z05W45J\n f4dZOY30RtJ//p7ajimW6/tZ6K5kb+JNOApG/zQ1iEwGd7kKB/OmJ36a1EjGcBBdJWw8\n dxkLvMzr50MsuhNaDbbGM84Ntd751HMPSmONsrULbjU9pTi5byWthWUgQCKaN3Ygc2l6\n +nUPQuikW5T51xCY8QKNF3CL2FaEbV5y2V6x1tESeKHLkc99pmCiSZ7m8KQAfprZLv1q\n RIhmPF9NU8lFpnS6N4aoBerb9XauBc4jGj+Kd9j+SduMgHYDWausMh2dv/MPmlEyTjzM gQ==", "From": "Tejasree Kondoj <ktejasree@marvell.com>", "To": "Akhil Goyal <gakhil@marvell.com>", "CC": "Anoob Joseph <anoobj@marvell.com>, Gowrishankar Muthukrishnan\n <gmuthukrishn@marvell.com>, <dev@dpdk.org>", "Subject": "[PATCH 04/11] crypto/cnxk: use direct mode for zero aad length", "Date": "Fri, 24 Feb 2023 11:18:06 +0530", "Message-ID": "<20230224054813.2855914-5-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": "mQpu3mf93njIlpZvRzofKqoAyiNETo4-", "X-Proofpoint-ORIG-GUID": "mQpu3mf93njIlpZvRzofKqoAyiNETo4-", "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": "Using direct mode if aad length is zero.\n\nSigned-off-by: Tejasree Kondoj <ktejasree@marvell.com>\n---\n drivers/crypto/cnxk/cnxk_se.h | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)", "diff": "diff --git a/drivers/crypto/cnxk/cnxk_se.h b/drivers/crypto/cnxk/cnxk_se.h\nindex c16027ec75..69cd343eea 100644\n--- a/drivers/crypto/cnxk/cnxk_se.h\n+++ b/drivers/crypto/cnxk/cnxk_se.h\n@@ -2258,9 +2258,9 @@ fill_fc_params(struct rte_crypto_op *cop, struct cnxk_se_sess *sess,\n \n \t\taad_data = sym_op->aead.aad.data;\n \t\taad_len = sess->aad_length;\n-\t\tif (likely((aad_data + aad_len) ==\n-\t\t\t rte_pktmbuf_mtod_offset(m_src, uint8_t *,\n-\t\t\t\t\t\t sym_op->aead.data.offset))) {\n+\t\tif (likely((aad_len == 0) ||\n+\t\t\t ((aad_data + aad_len) ==\n+\t\t\t rte_pktmbuf_mtod_offset(m_src, uint8_t *, sym_op->aead.data.offset)))) {\n \t\t\td_offs = (d_offs - aad_len) | (d_offs << 16);\n \t\t\td_lens = (d_lens + aad_len) | (d_lens << 32);\n \t\t} else {\n", "prefixes": [ "04/11" ] }{ "id": 124481, "url": "