Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/99894/?format=api
https://patches.dpdk.org/api/patches/99894/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1632826799-454-4-git-send-email-anoobj@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": "<1632826799-454-4-git-send-email-anoobj@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1632826799-454-4-git-send-email-anoobj@marvell.com", "date": "2021-09-28T10:59:56", "name": "[v4,3/6] crypto/octeontx2: add checks for life configuration", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "8b5897b18e110aced668da736ade2ad18cadcce0", "submitter": { "id": 1205, "url": "https://patches.dpdk.org/api/people/1205/?format=api", "name": "Anoob Joseph", "email": "anoobj@marvell.com" }, "delegate": { "id": 6690, "url": "https://patches.dpdk.org/api/users/6690/?format=api", "username": "akhil", "first_name": "akhil", "last_name": "goyal", "email": "gakhil@marvell.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1632826799-454-4-git-send-email-anoobj@marvell.com/mbox/", "series": [ { "id": 19223, "url": "https://patches.dpdk.org/api/series/19223/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=19223", "date": "2021-09-28T10:59:53", "name": "Add SA lifetime in security", "version": 4, "mbox": "https://patches.dpdk.org/series/19223/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/99894/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/99894/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 93F2BA0032;\n\tTue, 28 Sep 2021 13:00:35 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 169E1410EE;\n\tTue, 28 Sep 2021 13:00:33 +0200 (CEST)", "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id 3A058410E6\n for <dev@dpdk.org>; Tue, 28 Sep 2021 13:00:31 +0200 (CEST)", "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id\n 18SAF4rD019495;\n Tue, 28 Sep 2021 04:00:30 -0700", "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0b-0016f401.pphosted.com with ESMTP id 3bc14pr4x9-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Tue, 28 Sep 2021 04:00:30 -0700", "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.18;\n Tue, 28 Sep 2021 04:00:28 -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.18 via Frontend\n Transport; Tue, 28 Sep 2021 04:00:28 -0700", "from HY-LT1002.marvell.com (HY-LT1002.marvell.com [10.28.176.218])\n by maili.marvell.com (Postfix) with ESMTP id A3C083F7098;\n Tue, 28 Sep 2021 04:00:24 -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=amr2nD1qtpjjuJEfKj5t+CLAVdz+XWKUWepuXGc8tVA=;\n b=kqGYK+bITTk8PvPMuuDBVTm1LGuyhdmCO8BXlyVZSUVizXJa1HV1Bk10kSTP+EQ5u/ia\n bdkZO8CY+RT9flx6YsZqcraBvB4FwIQEHN7t0kgLn+Awm0LlP6Gu+JlLweSJC0SjRxiZ\n ooCu71IvT2haDBrJX3IgRSJZkcByzYqo2wqnMdol7oANPEV1KJNiLA8jAyJLY2wJKtyo\n DjZGASsGVRY6TwAboMS4QjCz8Jd+Qnwq1UcE5mQKgFi4/emQAxYmCXlKlQbST7HyFVBi\n +u35NrZ4TVPZJlSH/gPLVgsfc8j+G4e1yUy5CgDVoGWrgl9KxNEHc+VtwoZ4LBGzKIb/ hw==", "From": "Anoob Joseph <anoobj@marvell.com>", "To": "Akhil Goyal <gakhil@marvell.com>, Declan Doherty\n <declan.doherty@intel.com>, Fan Zhang <roy.fan.zhang@intel.com>,\n \"Konstantin Ananyev\" <konstantin.ananyev@intel.com>", "CC": "Anoob Joseph <anoobj@marvell.com>, Jerin Jacob <jerinj@marvell.com>,\n Archana Muniganti <marchana@marvell.com>, Tejasree Kondoj\n <ktejasree@marvell.com>, Hemant Agrawal <hemant.agrawal@nxp.com>, \"Radu\n Nicolau\" <radu.nicolau@intel.com>,\n Ciara Power <ciara.power@intel.com>, Gagandeep Singh <g.singh@nxp.com>,\n <dev@dpdk.org>", "Date": "Tue, 28 Sep 2021 16:29:56 +0530", "Message-ID": "<1632826799-454-4-git-send-email-anoobj@marvell.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1632826799-454-1-git-send-email-anoobj@marvell.com>", "References": "<1632823662-384-1-git-send-email-anoobj@marvell.com>\n <1632826799-454-1-git-send-email-anoobj@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-ORIG-GUID": "-oY01fbNZLcgvE_nHz_I_xFdJ_JG8YYR", "X-Proofpoint-GUID": "-oY01fbNZLcgvE_nHz_I_xFdJ_JG8YYR", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475\n definitions=2021-09-28_05,2021-09-28_01,2020-04-07_01", "Subject": "[dpdk-dev] [PATCH v4 3/6] crypto/octeontx2: add checks for life\n configuration", "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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Lifetime tracking is not supported by hardware and is not implemented in\nsoftware either. Return failure when lifetime is configured.\n\nSigned-off-by: Anoob Joseph <anoobj@marvell.com>\n\n---\n drivers/crypto/octeontx2/otx2_ipsec_po.h | 6 ++++++\n 1 file changed, 6 insertions(+)", "diff": "diff --git a/drivers/crypto/octeontx2/otx2_ipsec_po.h b/drivers/crypto/octeontx2/otx2_ipsec_po.h\nindex b3e7456..b61c5e0 100644\n--- a/drivers/crypto/octeontx2/otx2_ipsec_po.h\n+++ b/drivers/crypto/octeontx2/otx2_ipsec_po.h\n@@ -293,6 +293,12 @@ ipsec_po_xform_verify(struct rte_security_ipsec_xform *ipsec,\n \tstruct rte_crypto_sym_xform *auth_xform, *cipher_xform;\n \tint ret;\n \n+\tif (ipsec->life.bytes_hard_limit != 0 ||\n+\t ipsec->life.bytes_soft_limit != 0 ||\n+\t ipsec->life.packets_hard_limit != 0 ||\n+\t ipsec->life.packets_soft_limit != 0)\n+\t\treturn -ENOTSUP;\n+\n \tif (xform->type == RTE_CRYPTO_SYM_XFORM_AEAD)\n \t\treturn ipsec_po_xform_aead_verify(ipsec, xform);\n \n", "prefixes": [ "v4", "3/6" ] }{ "id": 99894, "url": "