get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 105293,
    "url": "http://patchwork.dpdk.org/api/patches/105293/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20211220132625.13496-1-rbhansali@marvell.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20211220132625.13496-1-rbhansali@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20211220132625.13496-1-rbhansali@marvell.com",
    "date": "2021-12-20T13:26:25",
    "name": "common/cnxk: update NIX and NPA dump function",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "5b4543a45f44f058a8d0e9db0b753ea719d07947",
    "submitter": {
        "id": 2436,
        "url": "http://patchwork.dpdk.org/api/people/2436/?format=api",
        "name": "Rahul Bhansali",
        "email": "rbhansali@marvell.com"
    },
    "delegate": {
        "id": 310,
        "url": "http://patchwork.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20211220132625.13496-1-rbhansali@marvell.com/mbox/",
    "series": [
        {
            "id": 20986,
            "url": "http://patchwork.dpdk.org/api/series/20986/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=20986",
            "date": "2021-12-20T13:26:25",
            "name": "common/cnxk: update NIX and NPA dump function",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/20986/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/105293/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/105293/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 24A25A00BE;\n\tMon, 20 Dec 2021 14:26:37 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id E01E440040;\n\tMon, 20 Dec 2021 14:26:36 +0100 (CET)",
            "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id 3F3974003C\n for <dev@dpdk.org>; Mon, 20 Dec 2021 14:26:35 +0100 (CET)",
            "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 ESMTP id\n 1BK8T66T011501\n for <dev@dpdk.org>; Mon, 20 Dec 2021 05:26:33 -0800",
            "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3d2dfqtyd2-2\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Mon, 20 Dec 2021 05:26:33 -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 Mon, 20 Dec 2021 05:26:31 -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; Mon, 20 Dec 2021 05:26:31 -0800",
            "from localhost.localdomain (unknown [10.28.48.107])\n by maili.marvell.com (Postfix) with ESMTP id AF4F13F70CC;\n Mon, 20 Dec 2021 05:26:29 -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 : mime-version : content-transfer-encoding :\n content-type; s=pfpt0220; bh=loQePaBiC2kYOd7JaeK4r6sqGdXcCd8L4kR9eRyi5Rs=;\n b=avSWey27WqlfFrJtdD22g4rCDc8E303+FWs1Z7652swAXSrfYeSotCUlFO4iJE//tY0v\n 7FS5DQ8olybUhI/u/WSjGEm+r4thWp2ux/nmlWeP9R6vTTGZnqaSxArP/yxCI7sjGgIa\n DH5+ET03D7mReMr3OdS+whwUfRYe+MUoBAwSxMUI2oZoqmzqH1hr1VYHoQstoK9yaYU+\n D0+vXbc59h+SqvvschuwEgndh8ov61d2iVteKgPzcfROk4FHB7W4czvOMwilkZ2Pma3Y\n ZZuVlfHDIbHYdeE6kv4J2R8Isfx0Y3KkuEzNil8CTaYLFzeGjM/z0yo70F6sBjYYoaJq 7Q==",
        "From": "Rahul Bhansali <rbhansali@marvell.com>",
        "To": "<dev@dpdk.org>, 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>, Rahul Bhansali <rbhansali@marvell.com>",
        "Subject": "[PATCH] common/cnxk: update NIX and NPA dump function",
        "Date": "Mon, 20 Dec 2021 18:56:25 +0530",
        "Message-ID": "<20211220132625.13496-1-rbhansali@marvell.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-ORIG-GUID": "CP3Wb-Xr9zu811cN3h_xUpkeA18UtZni",
        "X-Proofpoint-GUID": "CP3Wb-Xr9zu811cN3h_xUpkeA18UtZni",
        "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-20_06,2021-12-20_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": "Updates nix_dump and npa_dump to use plt_dump function.\n\nSigned-off-by: Rahul Bhansali <rbhansali@marvell.com>\n---\n drivers/common/cnxk/roc_nix_debug.c | 4 ++--\n drivers/common/cnxk/roc_npa_debug.c | 2 +-\n drivers/common/cnxk/roc_platform.h  | 1 +\n 3 files changed, 4 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/drivers/common/cnxk/roc_nix_debug.c b/drivers/common/cnxk/roc_nix_debug.c\nindex 266935a6c5..7466f782c3 100644\n--- a/drivers/common/cnxk/roc_nix_debug.c\n+++ b/drivers/common/cnxk/roc_nix_debug.c\n@@ -5,14 +5,14 @@\n #include \"roc_api.h\"\n #include \"roc_priv.h\"\n \n-#define nix_dump(fmt, ...) fprintf(stderr, fmt \"\\n\", ##__VA_ARGS__)\n+#define nix_dump plt_dump\n #define NIX_REG_INFO(reg)                                                      \\\n \t{                                                                      \\\n \t\treg, #reg                                                      \\\n \t}\n #define NIX_REG_NAME_SZ 48\n \n-#define nix_dump_no_nl(fmt, ...) fprintf(stderr, fmt, ##__VA_ARGS__)\n+#define nix_dump_no_nl plt_dump_no_nl\n \n struct nix_lf_reg_info {\n \tuint32_t offset;\ndiff --git a/drivers/common/cnxk/roc_npa_debug.c b/drivers/common/cnxk/roc_npa_debug.c\nindex 421c2af8a5..798ace291c 100644\n--- a/drivers/common/cnxk/roc_npa_debug.c\n+++ b/drivers/common/cnxk/roc_npa_debug.c\n@@ -5,7 +5,7 @@\n #include \"roc_api.h\"\n #include \"roc_priv.h\"\n \n-#define npa_dump(fmt, ...) fprintf(stderr, fmt \"\\n\", ##__VA_ARGS__)\n+#define npa_dump plt_dump\n \n static inline void\n npa_pool_dump(__io struct npa_pool_s *pool)\ndiff --git a/drivers/common/cnxk/roc_platform.h b/drivers/common/cnxk/roc_platform.h\nindex 61d4781209..13b23cec03 100644\n--- a/drivers/common/cnxk/roc_platform.h\n+++ b/drivers/common/cnxk/roc_platform.h\n@@ -204,6 +204,7 @@ extern int cnxk_logtype_tm;\n #define plt_warn(fmt, args...) RTE_LOG(WARNING, PMD, fmt \"\\n\", ##args)\n #define plt_print(fmt, args...) RTE_LOG(INFO, PMD, fmt \"\\n\", ##args)\n #define plt_dump(fmt, ...)      fprintf(stderr, fmt \"\\n\", ##__VA_ARGS__)\n+#define plt_dump_no_nl(fmt, ...) fprintf(stderr, fmt, ##__VA_ARGS__)\n \n /**\n  * Log debug message if given subsystem logging is enabled.\n",
    "prefixes": []
}