get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 97728,
    "url": "http://patches.dpdk.org/api/patches/97728/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210902021505.17607-3-ndabilpuram@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": "<20210902021505.17607-3-ndabilpuram@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210902021505.17607-3-ndabilpuram@marvell.com",
    "date": "2021-09-02T02:14:40",
    "name": "[02/27] common/cnxk: add helper API to dump cpt parse header",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "90d46081cf8d6f19f5ac0f768751570693aa9dce",
    "submitter": {
        "id": 1202,
        "url": "http://patches.dpdk.org/api/people/1202/?format=api",
        "name": "Nithin Dabilpuram",
        "email": "ndabilpuram@marvell.com"
    },
    "delegate": {
        "id": 310,
        "url": "http://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210902021505.17607-3-ndabilpuram@marvell.com/mbox/",
    "series": [
        {
            "id": 18612,
            "url": "http://patches.dpdk.org/api/series/18612/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=18612",
            "date": "2021-09-02T02:14:38",
            "name": "net/cnxk: support for inline ipsec",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/18612/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/97728/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/97728/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 C4EB2A0C4C;\n\tThu,  2 Sep 2021 04:16:59 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 54C7F40E09;\n\tThu,  2 Sep 2021 04:16:57 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id 73BD340E01\n for <dev@dpdk.org>; Thu,  2 Sep 2021 04:16:55 +0200 (CEST)",
            "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 SMTP id\n 181K5SYh027320;\n Wed, 1 Sep 2021 19:16:52 -0700",
            "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0a-0016f401.pphosted.com with ESMTP id 3atg8a91fq-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Wed, 01 Sep 2021 19:16:51 -0700",
            "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.18;\n Wed, 1 Sep 2021 19:16:50 -0700",
            "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.18 via Frontend\n Transport; Wed, 1 Sep 2021 19:16:50 -0700",
            "from hyd1588t430.marvell.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id DA06D3F7052;\n Wed,  1 Sep 2021 19:16:47 -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-type; s=pfpt0220; bh=mN96fFRLPN5aWFYD0xtxbfgO91nwFyfilkOiJZCxjpI=;\n b=gfxfx8Qh+SEo4b0y6q4/8nfhAXXy6n1+Bik6mt2XpUh+2Wyt5B9byPkfpyAEZM8QAJZC\n WlHrT1cReJ/Hf+5Q8QAQJUAgxUU8PHD6sJY0JoAY5NXoBPrWlQ/XvO668/UQeSH7kjz4\n J1seOOLUAp0+2PC8hUEXGxe+BCv9SVTGj8Mcoq0mQs4iAk5EqPSXRQxAyAI8S2qfLT5L\n wZAomZMBwYCXwnAdhguP0K9r7Xcv+2KxQMmWxjZYnay5lVjm/1Q+Py7DormW7221YWhK\n bgGL8hCoiEYjUW3/wFkX350wEIUSRvEHcNftP5uEO+deOoXpFt6U8n7IOpzKgo8CMdrF hg==",
        "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>, Ray Kinsella <mdr@ashroe.eu>",
        "CC": "<jerinj@marvell.com>, <schalla@marvell.com>, <dev@dpdk.org>",
        "Date": "Thu, 2 Sep 2021 07:44:40 +0530",
        "Message-ID": "<20210902021505.17607-3-ndabilpuram@marvell.com>",
        "X-Mailer": "git-send-email 2.8.4",
        "In-Reply-To": "<20210902021505.17607-1-ndabilpuram@marvell.com>",
        "References": "<20210902021505.17607-1-ndabilpuram@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Proofpoint-GUID": "vjgZwRr6idMEPX-i714Q7Xq17wMNawcU",
        "X-Proofpoint-ORIG-GUID": "vjgZwRr6idMEPX-i714Q7Xq17wMNawcU",
        "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-01_05,2021-09-01_01,2020-04-07_01",
        "Subject": "[dpdk-dev] [PATCH 02/27] common/cnxk: add helper API to dump cpt\n parse header",
        "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": "Add helper API to dump cpt parse header.\n\nSigned-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>\n---\n drivers/common/cnxk/roc_cpt.h       |  2 ++\n drivers/common/cnxk/roc_cpt_debug.c | 31 +++++++++++++++++++++++++++++++\n drivers/common/cnxk/version.map     |  1 +\n 3 files changed, 34 insertions(+)",
    "diff": "diff --git a/drivers/common/cnxk/roc_cpt.h b/drivers/common/cnxk/roc_cpt.h\nindex f0f505a..9b55303 100644\n--- a/drivers/common/cnxk/roc_cpt.h\n+++ b/drivers/common/cnxk/roc_cpt.h\n@@ -154,4 +154,6 @@ void __roc_api roc_cpt_iq_enable(struct roc_cpt_lf *lf);\n int __roc_api roc_cpt_lmtline_init(struct roc_cpt *roc_cpt,\n \t\t\t\t   struct roc_cpt_lmtline *lmtline, int lf_id);\n \n+void __roc_api roc_cpt_parse_hdr_dump(const struct cpt_parse_hdr_s *cpth);\n+\n #endif /* _ROC_CPT_H_ */\ndiff --git a/drivers/common/cnxk/roc_cpt_debug.c b/drivers/common/cnxk/roc_cpt_debug.c\nindex 9a9dcba..a6c9004 100644\n--- a/drivers/common/cnxk/roc_cpt_debug.c\n+++ b/drivers/common/cnxk/roc_cpt_debug.c\n@@ -5,6 +5,37 @@\n #include \"roc_api.h\"\n #include \"roc_priv.h\"\n \n+void\n+roc_cpt_parse_hdr_dump(const struct cpt_parse_hdr_s *cpth)\n+{\n+\tplt_print(\"CPT_PARSE \\t0x%p:\", cpth);\n+\n+\t/* W0 */\n+\tplt_print(\"W0: cookie \\t0x%x\\t\\tmatch_id \\t0x%04x\\t\\terr_sum \\t%u \\t\",\n+\t\t  cpth->w0.cookie, cpth->w0.match_id, cpth->w0.err_sum);\n+\tplt_print(\"W0: reas_sts \\t0x%x\\t\\tet_owr \\t%u\\t\\tpkt_fmt \\t%u \\t\",\n+\t\t  cpth->w0.reas_sts, cpth->w0.et_owr, cpth->w0.pkt_fmt);\n+\tplt_print(\"W0: pad_len \\t%u\\t\\tnum_frags \\t%u\\t\\tpkt_out \\t%u \\t\",\n+\t\t  cpth->w0.pad_len, cpth->w0.num_frags, cpth->w0.pkt_out);\n+\n+\t/* W1 */\n+\tplt_print(\"W1: wqe_ptr \\t0x%016lx\\t\", cpth->wqe_ptr);\n+\n+\t/* W2 */\n+\tplt_print(\"W2: frag_age \\t0x%x\\t\\torig_pf_func \\t0x%04x\",\n+\t\t  cpth->w2.frag_age, cpth->w2.orig_pf_func);\n+\tplt_print(\"W2: il3_off \\t0x%x\\t\\tfi_pad \\t0x%x\\t\\tfi_offset \\t0x%x \\t\",\n+\t\t  cpth->w2.il3_off, cpth->w2.fi_pad, cpth->w2.fi_offset);\n+\n+\t/* W3 */\n+\tplt_print(\"W3: hw_ccode \\t0x%x\\t\\tuc_ccode \\t0x%x\\t\\tspi \\t0x%08x\",\n+\t\t  cpth->w3.hw_ccode, cpth->w3.uc_ccode, cpth->w3.spi);\n+\n+\t/* W4 */\n+\tplt_print(\"W4: esn \\t%\" PRIx64 \" \\t OR frag1_wqe_ptr \\t0x%\" PRIx64,\n+\t\t  cpth->esn, cpth->frag1_wqe_ptr);\n+}\n+\n static int\n cpt_af_reg_read(struct roc_cpt *roc_cpt, uint64_t reg, uint64_t *val)\n {\ndiff --git a/drivers/common/cnxk/version.map b/drivers/common/cnxk/version.map\nindex 7814b60..5dbb21c 100644\n--- a/drivers/common/cnxk/version.map\n+++ b/drivers/common/cnxk/version.map\n@@ -66,6 +66,7 @@ INTERNAL {\n \troc_cpt_lf_fini;\n \troc_cpt_lfs_print;\n \troc_cpt_lmtline_init;\n+\troc_cpt_parse_hdr_dump;\n \troc_cpt_rxc_time_cfg;\n \troc_error_msg_get;\n \troc_hash_sha1_gen;\n",
    "prefixes": [
        "02/27"
    ]
}