Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/135433/?format=api
http://patches.dpdk.org/api/patches/135433/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20231221123545.510-4-anoobj@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": "<20231221123545.510-4-anoobj@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20231221123545.510-4-anoobj@marvell.com", "date": "2023-12-21T12:35:24", "name": "[03/24] crypto/cnxk: fallback to SG if headroom is not available", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "98eccb7afd260e303acc5766ae813f7efa5098c8", "submitter": { "id": 1205, "url": "http://patches.dpdk.org/api/people/1205/?format=api", "name": "Anoob Joseph", "email": "anoobj@marvell.com" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20231221123545.510-4-anoobj@marvell.com/mbox/", "series": [ { "id": 30646, "url": "http://patches.dpdk.org/api/series/30646/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=30646", "date": "2023-12-21T12:35:21", "name": "Fixes and improvements in crypto cnxk", "version": 1, "mbox": "http://patches.dpdk.org/series/30646/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/135433/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/135433/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 7DD6D43750;\n\tThu, 21 Dec 2023 13:36:09 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 22782410F9;\n\tThu, 21 Dec 2023 13:35:59 +0100 (CET)", "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id 120B7410F9\n for <dev@dpdk.org>; Thu, 21 Dec 2023 13:35:57 +0100 (CET)", "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id\n 3BLCVlnE019466 for <dev@dpdk.org>; Thu, 21 Dec 2023 04:35:57 -0800", "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3v4nekg0g2-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Thu, 21 Dec 2023 04:35:57 -0800 (PST)", "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.48;\n Thu, 21 Dec 2023 04:35:55 -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.48 via Frontend\n Transport; Thu, 21 Dec 2023 04:35:55 -0800", "from BG-LT92004.corp.innovium.com (unknown [10.193.71.152])\n by maili.marvell.com (Postfix) with ESMTP id C31023F707D;\n Thu, 21 Dec 2023 04:35:52 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=\n from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding:content-type; s=\n pfpt0220; bh=1k7/JdQc45c13GDhhDPO6GJGPVEtfByRsVi6rRBpVuo=; b=QG0\n VxbYPCWrIGCPhyn6hwv1nGcbwlDTAYWODd7uUi/pOZXMxoJt0z1ciTmiujUJubrv\n HZ2XrrclG1iWYzEMwHO36w9+9PpJkn4N41voU7PGl/Ts/E8Tc0HNdW7QKcpBtogX\n PzleObd7183zrAtvblHBF2LNYgBd/sUfQU73c4h9SZx9LGq/xoya7t94kqATgKr/\n ZFCqlfp7k0W+BnttOQKws0BvvGA7mFxYo3WnWB9chUI6HgwTowA2gNBq/y1E8wRa\n bgPKXWhKHe0KW63M8cnx0GCEyveVnVeyDKl4KSTgAWGUDUcvYUYxphgmF88bfNI1\n QGD15StU5G0NKwNz9kw==", "From": "Anoob Joseph <anoobj@marvell.com>", "To": "Akhil Goyal <gakhil@marvell.com>", "CC": "Tejasree Kondoj <ktejasree@marvell.com>, Jerin Jacob <jerinj@marvell.com>,\n Vidya Sagar Velumuri <vvelumuri@marvell.com>, <dev@dpdk.org>", "Subject": "[PATCH 03/24] crypto/cnxk: fallback to SG if headroom is not\n available", "Date": "Thu, 21 Dec 2023 18:05:24 +0530", "Message-ID": "<20231221123545.510-4-anoobj@marvell.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20231221123545.510-1-anoobj@marvell.com>", "References": "<20231221123545.510-1-anoobj@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-GUID": "xOM-CHyG_h3k6TzcZO8wD6nknARG_AQt", "X-Proofpoint-ORIG-GUID": "xOM-CHyG_h3k6TzcZO8wD6nknARG_AQt", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26\n definitions=2023-12-09_02,2023-12-07_01,2023-05-22_02", "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: Tejasree Kondoj <ktejasree@marvell.com>\n\nFalling back to SG mode for cn9k lookaside IPsec\nif headroom is not available.\n\nSigned-off-by: Tejasree Kondoj <ktejasree@marvell.com>\n---\n drivers/crypto/cnxk/cn9k_ipsec_la_ops.h | 8 +-------\n 1 file changed, 1 insertion(+), 7 deletions(-)", "diff": "diff --git a/drivers/crypto/cnxk/cn9k_ipsec_la_ops.h b/drivers/crypto/cnxk/cn9k_ipsec_la_ops.h\nindex 85aacb803f..3d0db72775 100644\n--- a/drivers/crypto/cnxk/cn9k_ipsec_la_ops.h\n+++ b/drivers/crypto/cnxk/cn9k_ipsec_la_ops.h\n@@ -82,19 +82,13 @@ process_outb_sa(struct cpt_qp_meta_info *m_info, struct rte_crypto_op *cop,\n \textend_tail = rlen - dlen;\n \tpkt_len += extend_tail;\n \n-\tif (likely(m_src->next == NULL)) {\n+\tif (likely((m_src->next == NULL) && (hdr_len <= data_off))) {\n \t\tif (unlikely(extend_tail > rte_pktmbuf_tailroom(m_src))) {\n \t\t\tplt_dp_err(\"Not enough tail room (required: %d, available: %d)\",\n \t\t\t\t extend_tail, rte_pktmbuf_tailroom(m_src));\n \t\t\treturn -ENOMEM;\n \t\t}\n \n-\t\tif (unlikely(hdr_len > data_off)) {\n-\t\t\tplt_dp_err(\"Not enough head room (required: %d, available: %d)\", hdr_len,\n-\t\t\t\t rte_pktmbuf_headroom(m_src));\n-\t\t\treturn -ENOMEM;\n-\t\t}\n-\n \t\tm_src->data_len = pkt_len;\n \n \t\thdr = PLT_PTR_ADD(m_src->buf_addr, data_off - hdr_len);\n", "prefixes": [ "03/24" ] }{ "id": 135433, "url": "