Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/118151/?format=api
https://patches.dpdk.org/api/patches/118151/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20221013114156.996517-13-ndabilpuram@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": "<20221013114156.996517-13-ndabilpuram@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20221013114156.996517-13-ndabilpuram@marvell.com", "date": "2022-10-13T11:41:56", "name": "[v2,13/13] net/cnxk: handle hard expiry events", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "e277af2e2f87690cf7ea59baa4d243f0cb980b5e", "submitter": { "id": 1202, "url": "https://patches.dpdk.org/api/people/1202/?format=api", "name": "Nithin Dabilpuram", "email": "ndabilpuram@marvell.com" }, "delegate": { "id": 310, "url": "https://patches.dpdk.org/api/users/310/?format=api", "username": "jerin", "first_name": "Jerin", "last_name": "Jacob", "email": "jerinj@marvell.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20221013114156.996517-13-ndabilpuram@marvell.com/mbox/", "series": [ { "id": 25210, "url": "https://patches.dpdk.org/api/series/25210/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=25210", "date": "2022-10-13T11:41:44", "name": "[v2,01/13] common/cnxk: set MTU size on SDP based on SoC type", "version": 2, "mbox": "https://patches.dpdk.org/series/25210/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/118151/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/118151/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 5CDBFA00C2;\n\tThu, 13 Oct 2022 13:43:20 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 27AE942F4A;\n\tThu, 13 Oct 2022 13:42:41 +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 EB12B42EE3\n for <dev@dpdk.org>; Thu, 13 Oct 2022 13:42:39 +0200 (CEST)", "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id\n 29D9Hk5F009812\n for <dev@dpdk.org>; Thu, 13 Oct 2022 04:42:39 -0700", "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3k6fwv8egj-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Thu, 13 Oct 2022 04:42:39 -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.2;\n Thu, 13 Oct 2022 04:42:37 -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.2 via Frontend\n Transport; Thu, 13 Oct 2022 04:42:37 -0700", "from localhost.localdomain (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id 0D0EA3F7045;\n Thu, 13 Oct 2022 04:42:34 -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=kFUCEUdvgll99Is+D6hKtdWs7HOT0zty9yqEyVe8oBs=;\n b=SQO2NwgLBuMoebdnjSgqnIDgUXG1CiVD9fgxB4uZphd+zI/5sXHPHWiwYtgFSxA41v1x\n yx3RizpfiDfqOvbxmmOzy8EdV5yJeZ0+rCOND+K8+DjV7ujcuMagqgsM6R7W75U1fi60\n oObfnjMRXVmZcwXM+gSpOIVDupITAYAWqlD6JmFiK8FBmE9OX095ADdrDCyjx+/q4AFq\n nOZWJUZVsXciyk3wmlapTKvqV1Ww/+8fC0mSy+dOxPXOIWkJ7lAJ5RQMhazAtp4OFl0J\n 3A1Z+v3Fc6GG6JZtkrXrztjVEmgdMJZFrvv++Y27/LAy4Gxf3MP3Docy2YIX/9vsaGRh 3w==", "From": "Nithin Dabilpuram <ndabilpuram@marvell.com>", "To": "Nithin Dabilpuram <ndabilpuram@marvell.com>, Kiran Kumar K\n <kirankumark@marvell.com>, Sunil Kumar Kori <skori@marvell.com>, Satha Rao\n <skoteshwar@marvell.com>", "CC": "<jerinj@marvell.com>, <dev@dpdk.org>, Vamsi Attunuru\n <vattunuru@marvell.com>", "Subject": "[PATCH v2 13/13] net/cnxk: handle hard expiry events", "Date": "Thu, 13 Oct 2022 17:11:56 +0530", "Message-ID": "<20221013114156.996517-13-ndabilpuram@marvell.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20221013114156.996517-1-ndabilpuram@marvell.com>", "References": "<20221011120135.45846-1-ndabilpuram@marvell.com>\n <20221013114156.996517-1-ndabilpuram@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-GUID": "9XMGhd42TH9Fllby69JEOF1Yr3h3eHs_", "X-Proofpoint-ORIG-GUID": "9XMGhd42TH9Fllby69JEOF1Yr3h3eHs_", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1\n definitions=2022-10-13_08,2022-10-13_01,2022-06-22_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: Vamsi Attunuru <vattunuru@marvell.com>\n\nBased on the hard limits configured in the SA context,\nPMD passes corresponding event subtype to the application\nto notify hard expiry event\n\nSigned-off-by: Vamsi Attunuru <vattunuru@marvell.com>\n---\n drivers/net/cnxk/cn10k_ethdev_sec.c | 6 ++++++\n 1 file changed, 6 insertions(+)", "diff": "diff --git a/drivers/net/cnxk/cn10k_ethdev_sec.c b/drivers/net/cnxk/cn10k_ethdev_sec.c\nindex ce1b10d885..ed5c335787 100644\n--- a/drivers/net/cnxk/cn10k_ethdev_sec.c\n+++ b/drivers/net/cnxk/cn10k_ethdev_sec.c\n@@ -479,6 +479,12 @@ cn10k_eth_sec_sso_work_cb(uint64_t *gw, void *args, uint32_t soft_exp_event)\n \tcase ROC_IE_OT_UCC_ERR_SA_OVERFLOW:\n \t\tdesc.subtype = RTE_ETH_EVENT_IPSEC_ESN_OVERFLOW;\n \t\tbreak;\n+\tcase ROC_IE_OT_UCC_ERR_SA_EXPIRED:\n+\t\tif (sa->w2.s.life_unit == ROC_IE_OT_SA_LIFE_UNIT_PKTS)\n+\t\t\tdesc.subtype = RTE_ETH_EVENT_IPSEC_SA_PKT_HARD_EXPIRY;\n+\t\telse\n+\t\t\tdesc.subtype = RTE_ETH_EVENT_IPSEC_SA_BYTE_HARD_EXPIRY;\n+\t\tbreak;\n \tcase ROC_IE_OT_UCC_ERR_PKT_IP:\n \t\twarn_cnt++;\n \t\tif (warn_cnt % 10000 == 0)\n", "prefixes": [ "v2", "13/13" ] }{ "id": 118151, "url": "