get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 112201,
    "url": "http://patchwork.dpdk.org/api/patches/112201/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20220601074930.10313-3-humin29@huawei.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": "<20220601074930.10313-3-humin29@huawei.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220601074930.10313-3-humin29@huawei.com",
    "date": "2022-06-01T07:49:28",
    "name": "[v3,2/4] net/hns3: rename hns3 dump files",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "a28bbb07009481a1ccfeec4ae26b07881d5b3cd7",
    "submitter": {
        "id": 1944,
        "url": "http://patchwork.dpdk.org/api/people/1944/?format=api",
        "name": "humin (Q)",
        "email": "humin29@huawei.com"
    },
    "delegate": {
        "id": 3961,
        "url": "http://patchwork.dpdk.org/api/users/3961/?format=api",
        "username": "arybchenko",
        "first_name": "Andrew",
        "last_name": "Rybchenko",
        "email": "andrew.rybchenko@oktetlabs.ru"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20220601074930.10313-3-humin29@huawei.com/mbox/",
    "series": [
        {
            "id": 23282,
            "url": "http://patchwork.dpdk.org/api/series/23282/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=23282",
            "date": "2022-06-01T07:49:26",
            "name": "support HW Rx/Tx descriptor dump",
            "version": 3,
            "mbox": "http://patchwork.dpdk.org/series/23282/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/112201/comments/",
    "check": "warning",
    "checks": "http://patchwork.dpdk.org/api/patches/112201/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 CDBFBA0548;\n\tWed,  1 Jun 2022 09:51:08 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 36B344281A;\n\tWed,  1 Jun 2022 09:50:55 +0200 (CEST)",
            "from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188])\n by mails.dpdk.org (Postfix) with ESMTP id 477B840A84\n for <dev@dpdk.org>; Wed,  1 Jun 2022 09:50:51 +0200 (CEST)",
            "from kwepemi500012.china.huawei.com (unknown [172.30.72.55])\n by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4LChBC1497zjXBd\n for <dev@dpdk.org>; Wed,  1 Jun 2022 15:49:39 +0800 (CST)",
            "from localhost.localdomain (10.69.192.56) by\n kwepemi500012.china.huawei.com (7.221.188.12) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id\n 15.1.2375.24; Wed, 1 Jun 2022 15:50:48 +0800"
        ],
        "From": "\"Min Hu (Connor)\" <humin29@huawei.com>",
        "To": "<dev@dpdk.org>",
        "Subject": "[PATCH v3 2/4] net/hns3: rename hns3 dump files",
        "Date": "Wed, 1 Jun 2022 15:49:28 +0800",
        "Message-ID": "<20220601074930.10313-3-humin29@huawei.com>",
        "X-Mailer": "git-send-email 2.33.0",
        "In-Reply-To": "<20220601074930.10313-1-humin29@huawei.com>",
        "References": "<20220527023351.40577-1-humin29@huawei.com>\n <20220601074930.10313-1-humin29@huawei.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Originating-IP": "[10.69.192.56]",
        "X-ClientProxiedBy": "dggems701-chm.china.huawei.com (10.3.19.178) To\n kwepemi500012.china.huawei.com (7.221.188.12)",
        "X-CFilter-Loop": "Reflected",
        "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": "This patch rename hns3 dump files and abstract a head file for dump.\n\nSigned-off-by: Min Hu (Connor) <humin29@huawei.com>\n---\n .../net/hns3/{hns3_ethdev_dump.c => hns3_dump.c}    |  2 +-\n drivers/net/hns3/hns3_dump.h                        | 13 +++++++++++++\n drivers/net/hns3/hns3_ethdev.c                      |  1 +\n drivers/net/hns3/hns3_ethdev.h                      |  1 -\n drivers/net/hns3/hns3_ethdev_vf.c                   |  1 +\n drivers/net/hns3/meson.build                        |  2 +-\n 6 files changed, 17 insertions(+), 3 deletions(-)\n rename drivers/net/hns3/{hns3_ethdev_dump.c => hns3_dump.c} (99%)\n create mode 100644 drivers/net/hns3/hns3_dump.h",
    "diff": "diff --git a/drivers/net/hns3/hns3_ethdev_dump.c b/drivers/net/hns3/hns3_dump.c\nsimilarity index 99%\nrename from drivers/net/hns3/hns3_ethdev_dump.c\nrename to drivers/net/hns3/hns3_dump.c\nindex 1bb2ab7556..2cfab429af 100644\n--- a/drivers/net/hns3/hns3_ethdev_dump.c\n+++ b/drivers/net/hns3/hns3_dump.c\n@@ -6,7 +6,7 @@\n #include \"hns3_logs.h\"\n #include \"hns3_regs.h\"\n #include \"hns3_rxtx.h\"\n-#include \"hns3_ethdev.h\"\n+#include \"hns3_dump.h\"\n \n static const char *\n get_adapter_state_name(enum hns3_adapter_state state)\ndiff --git a/drivers/net/hns3/hns3_dump.h b/drivers/net/hns3/hns3_dump.h\nnew file mode 100644\nindex 0000000000..b0fe37ee21\n--- /dev/null\n+++ b/drivers/net/hns3/hns3_dump.h\n@@ -0,0 +1,13 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright(C) 2022 HiSilicon Limited\n+ */\n+\n+#ifndef _HNS3_DUMP_H_\n+#define _HNS3_DUMP_H_\n+\n+#include <stdio.h>\n+\n+#include <ethdev_driver.h>\n+\n+int hns3_eth_dev_priv_dump(struct rte_eth_dev *dev, FILE *file);\n+#endif /* _HNS3_DUMP_H_ */\ndiff --git a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3/hns3_ethdev.c\nindex 0b565a5614..6fa07c4c94 100644\n--- a/drivers/net/hns3/hns3_ethdev.c\n+++ b/drivers/net/hns3/hns3_ethdev.c\n@@ -8,6 +8,7 @@\n \n #include \"hns3_ethdev.h\"\n #include \"hns3_common.h\"\n+#include \"hns3_dump.h\"\n #include \"hns3_logs.h\"\n #include \"hns3_rxtx.h\"\n #include \"hns3_intr.h\"\ndiff --git a/drivers/net/hns3/hns3_ethdev.h b/drivers/net/hns3/hns3_ethdev.h\nindex 5e8a746514..8de5a712f4 100644\n--- a/drivers/net/hns3/hns3_ethdev.h\n+++ b/drivers/net/hns3/hns3_ethdev.h\n@@ -1062,7 +1062,6 @@ int hns3_timesync_read_time(struct rte_eth_dev *dev, struct timespec *ts);\n int hns3_timesync_write_time(struct rte_eth_dev *dev,\n \t\t\tconst struct timespec *ts);\n int hns3_timesync_adjust_time(struct rte_eth_dev *dev, int64_t delta);\n-int hns3_eth_dev_priv_dump(struct rte_eth_dev *dev, FILE *file);\n \n static inline bool\n is_reset_pending(struct hns3_adapter *hns)\ndiff --git a/drivers/net/hns3/hns3_ethdev_vf.c b/drivers/net/hns3/hns3_ethdev_vf.c\nindex 589de0ab3a..5fc6515de9 100644\n--- a/drivers/net/hns3/hns3_ethdev_vf.c\n+++ b/drivers/net/hns3/hns3_ethdev_vf.c\n@@ -10,6 +10,7 @@\n \n #include \"hns3_ethdev.h\"\n #include \"hns3_common.h\"\n+#include \"hns3_dump.h\"\n #include \"hns3_logs.h\"\n #include \"hns3_rxtx.h\"\n #include \"hns3_regs.h\"\ndiff --git a/drivers/net/hns3/meson.build b/drivers/net/hns3/meson.build\nindex f2aede94ed..dc99cb0209 100644\n--- a/drivers/net/hns3/meson.build\n+++ b/drivers/net/hns3/meson.build\n@@ -30,7 +30,7 @@ sources = files(\n         'hns3_tm.c',\n         'hns3_ptp.c',\n         'hns3_common.c',\n-        'hns3_ethdev_dump.c',\n+        'hns3_dump.c',\n )\n \n deps += ['hash']\n",
    "prefixes": [
        "v3",
        "2/4"
    ]
}