Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/124510/?format=api
http://patches.dpdk.org/api/patches/124510/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230224094014.3246764-5-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": "<20230224094014.3246764-5-ktejasree@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230224094014.3246764-5-ktejasree@marvell.com", "date": "2023-02-24T09:40:07", "name": "[v2,04/11] crypto/cnxk: use direct mode for zero aad length", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "a139c51815986dd4816441d9cd0037f58179fbf8", "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/20230224094014.3246764-5-ktejasree@marvell.com/mbox/", "series": [ { "id": 27169, "url": "http://patches.dpdk.org/api/series/27169/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=27169", "date": "2023-02-24T09:40:03", "name": "fixes and improvements to cnxk crypto PMD", "version": 2, "mbox": "http://patches.dpdk.org/series/27169/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/124510/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/124510/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 1A11541D5F;\n\tFri, 24 Feb 2023 10:40:48 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 3C75941153;\n\tFri, 24 Feb 2023 10:40:31 +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 087CE41141\n for <dev@dpdk.org>; Fri, 24 Feb 2023 10:40:27 +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 31O6mfwQ031919 for <dev@dpdk.org>; Fri, 24 Feb 2023 01:40:27 -0800", "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3nxfkwb2gs-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Fri, 24 Feb 2023 01:40:27 -0800", "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.42;\n Fri, 24 Feb 2023 01:40:24 -0800", "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.42 via Frontend\n Transport; Fri, 24 Feb 2023 01:40:24 -0800", "from hyd1554.marvell.com (unknown [10.29.57.11])\n by maili.marvell.com (Postfix) with ESMTP id 4E2FF5B6929;\n Fri, 24 Feb 2023 01:40:23 -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=FRBck67+N27Zj1Jvmf/8liyml/VTHH/AQccwSl59Wo0QrlKM9dE+FtsnpdQmiKWurp9+\n S1zVcXtvipGXydE84A3jU7Jvs7vKDA3OLdcln373CN8bcRklOPCfPaHzgPL6nbeaHAeJ\n H59wMfldbzFa69cYcGykijStxEtV7ueuZkFa41wTd1J3DaU/seuF0iT7O1+6TETUy9g7\n EmP4pRc9zXf+oucwDU06sklMmCfJzkTOxGi+Nd88aRvngnIaJ99n/PJDPmAp+ZF6xnfb\n IQR6C2Zu7k3s9zPPG59sYmWX1V0VOf/hceFC49ZZ6rPQWngYQuWC4zc3l2+vzydrESK3 HA==", "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 v2 04/11] crypto/cnxk: use direct mode for zero aad length", "Date": "Fri, 24 Feb 2023 15:10:07 +0530", "Message-ID": "<20230224094014.3246764-5-ktejasree@marvell.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20230224094014.3246764-1-ktejasree@marvell.com>", "References": "<20230224094014.3246764-1-ktejasree@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-GUID": "DxFmmJr_vcmeFMFNM862IoRLfrx1T6Ix", "X-Proofpoint-ORIG-GUID": "DxFmmJr_vcmeFMFNM862IoRLfrx1T6Ix", "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_05,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": [ "v2", "04/11" ] }{ "id": 124510, "url": "