get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/105170/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 105170,
    "url": "http://patches.dpdk.org/api/patches/105170/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1639676975-1316-6-git-send-email-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": "<1639676975-1316-6-git-send-email-anoobj@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1639676975-1316-6-git-send-email-anoobj@marvell.com",
    "date": "2021-12-16T17:49:11",
    "name": "[v2,05/29] common/cnxk: verify input args",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "0ea4234a2a9c578b3b3a400c3bac7920d8cac5b3",
    "submitter": {
        "id": 1205,
        "url": "http://patches.dpdk.org/api/people/1205/?format=api",
        "name": "Anoob Joseph",
        "email": "anoobj@marvell.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1639676975-1316-6-git-send-email-anoobj@marvell.com/mbox/",
    "series": [
        {
            "id": 20957,
            "url": "http://patches.dpdk.org/api/series/20957/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=20957",
            "date": "2021-12-16T17:49:06",
            "name": "New features and improvements in cnxk crypto PMD",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/20957/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/105170/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/105170/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 D3E34A0032;\n\tThu, 16 Dec 2021 18:52:47 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id CE2CA40DF7;\n\tThu, 16 Dec 2021 18:52:43 +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 18FC641156\n for <dev@dpdk.org>; Thu, 16 Dec 2021 18:52:41 +0100 (CET)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id\n 1BGBdWdM030046\n for <dev@dpdk.org>; Thu, 16 Dec 2021 09:52:41 -0800",
            "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3d04s71nx4-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Thu, 16 Dec 2021 09:52:41 -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.2;\n Thu, 16 Dec 2021 09:52:39 -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.2 via Frontend\n Transport; Thu, 16 Dec 2021 09:52:39 -0800",
            "from HY-LT1002.marvell.com (HY-LT1002.marvell.com [10.28.176.218])\n by maili.marvell.com (Postfix) with ESMTP id A34683F7048;\n Thu, 16 Dec 2021 09:52:37 -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=xhMN7Za1c8ktz7fyd/2M21kOZOZxJUkClZv6jWdMVsc=;\n b=Y59e1TaeWUfi1mha46WmJRP/SO4WEKUARF3Fs2n94gUAEmxENkJqPg+19Gdn/f5yOuXj\n 6Gff9/TBNhVfWH9vfQSYz9Lc5XGa3+98iSRcskFCkEe8ZRqPEB0zl5ubGVdDG+i5wuin\n okS8YbfbNUAOeP59UQwRTsKnGhT6xx+qqO0ONS+nS9uUdDm0xL2cd3IoBMBTuNn50QqX\n BelX+av846bv+QYED+0hcl26MX0iS+R60+ULMBHrOUgekXiLCxtHLpeP3Q3DCKdlMKJM\n jXk3tVqf8iOP65R/2k+B9BM6unB4i/58q2UR/+X/clc3jviwJfkSk8hgNl02Mk7JwFpV bw==",
        "From": "Anoob Joseph <anoobj@marvell.com>",
        "To": "Akhil Goyal <gakhil@marvell.com>, Jerin Jacob <jerinj@marvell.com>",
        "CC": "Anoob Joseph <anoobj@marvell.com>, Archana Muniganti\n <marchana@marvell.com>,\n Tejasree Kondoj <ktejasree@marvell.com>, <dev@dpdk.org>",
        "Subject": "[PATCH v2 05/29] common/cnxk: verify input args",
        "Date": "Thu, 16 Dec 2021 23:19:11 +0530",
        "Message-ID": "<1639676975-1316-6-git-send-email-anoobj@marvell.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1639676975-1316-1-git-send-email-anoobj@marvell.com>",
        "References": "<1638859858-734-1-git-send-email-anoobj@marvell.com>\n <1639676975-1316-1-git-send-email-anoobj@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-GUID": "GHTBLpVSdHOP4FS2NlIGMpRDGA6lPJI4",
        "X-Proofpoint-ORIG-GUID": "GHTBLpVSdHOP4FS2NlIGMpRDGA6lPJI4",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513\n definitions=2021-12-16_06,2021-12-16_01,2021-12-02_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": "Add input arg verification.\n\nSigned-off-by: Anoob Joseph <anoobj@marvell.com>\n---\n drivers/common/cnxk/hw/cpt.h  | 2 ++\n drivers/common/cnxk/roc_cpt.c | 4 +++-\n 2 files changed, 5 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/common/cnxk/hw/cpt.h b/drivers/common/cnxk/hw/cpt.h\nindex 919f842..ccc7af4 100644\n--- a/drivers/common/cnxk/hw/cpt.h\n+++ b/drivers/common/cnxk/hw/cpt.h\n@@ -64,6 +64,7 @@ union cpt_lf_ctx_flush {\n \tstruct {\n \t\tuint64_t cptr : 46;\n \t\tuint64_t inval : 1;\n+\t\tuint64_t reserved_47_63 : 17;\n \t} s;\n };\n \n@@ -71,6 +72,7 @@ union cpt_lf_ctx_reload {\n \tuint64_t u;\n \tstruct {\n \t\tuint64_t cptr : 46;\n+\t\tuint64_t reserved_46_63 : 18;\n \t} s;\n };\n \ndiff --git a/drivers/common/cnxk/roc_cpt.c b/drivers/common/cnxk/roc_cpt.c\nindex 8f8e6d3..1bc7a29 100644\n--- a/drivers/common/cnxk/roc_cpt.c\n+++ b/drivers/common/cnxk/roc_cpt.c\n@@ -681,8 +681,10 @@ roc_cpt_lf_ctx_flush(struct roc_cpt_lf *lf, void *cptr, bool inval)\n {\n \tunion cpt_lf_ctx_flush reg;\n \n-\tif (lf == NULL)\n+\tif (lf == NULL) {\n+\t\tplt_err(\"Could not trigger CTX flush\");\n \t\treturn -ENOTSUP;\n+\t}\n \n \treg.u = 0;\n \treg.s.inval = inval;\n",
    "prefixes": [
        "v2",
        "05/29"
    ]
}