get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 133474,
    "url": "http://patches.dpdk.org/api/patches/133474/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20231027060947.3183983-2-haijie1@huawei.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": "<20231027060947.3183983-2-haijie1@huawei.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20231027060947.3183983-2-haijie1@huawei.com",
    "date": "2023-10-27T06:09:39",
    "name": "[1/8] net/hns3: fix a typo",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "4f7ba4c35e915fa382d83c3eb36378b7d69f0d0a",
    "submitter": {
        "id": 2935,
        "url": "http://patches.dpdk.org/api/people/2935/?format=api",
        "name": "Jie Hai",
        "email": "haijie1@huawei.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20231027060947.3183983-2-haijie1@huawei.com/mbox/",
    "series": [
        {
            "id": 30018,
            "url": "http://patches.dpdk.org/api/series/30018/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=30018",
            "date": "2023-10-27T06:09:41",
            "name": "net/hns3: add some bugfix for hns3",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/30018/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/133474/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/133474/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 8842F43212;\n\tFri, 27 Oct 2023 08:14:20 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 350D540EE2;\n\tFri, 27 Oct 2023 08:13:58 +0200 (CEST)",
            "from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188])\n by mails.dpdk.org (Postfix) with ESMTP id 225C74029A\n for <dev@dpdk.org>; Fri, 27 Oct 2023 08:13:53 +0200 (CEST)",
            "from kwepemi500020.china.huawei.com (unknown [172.30.72.55])\n by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4SGshL6m6szVm02\n for <dev@dpdk.org>; Fri, 27 Oct 2023 14:09:54 +0800 (CST)",
            "from localhost.localdomain (10.67.165.2) by\n kwepemi500020.china.huawei.com (7.221.188.8) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id\n 15.1.2507.31; Fri, 27 Oct 2023 14:13:48 +0800"
        ],
        "From": "Jie Hai <haijie1@huawei.com>",
        "To": "<dev@dpdk.org>, Yisen Zhuang <yisen.zhuang@huawei.com>, Lijun Ou\n <oulijun@huawei.com>, Chengwen Feng <fengchengwen@huawei.com>",
        "CC": "<liudongdong3@huawei.com>, <lihuisong@huawei.com>,\n <huangdengdui@huawei.com>",
        "Subject": "[PATCH 1/8] net/hns3: fix a typo",
        "Date": "Fri, 27 Oct 2023 14:09:39 +0800",
        "Message-ID": "<20231027060947.3183983-2-haijie1@huawei.com>",
        "X-Mailer": "git-send-email 2.30.0",
        "In-Reply-To": "<20231027060947.3183983-1-haijie1@huawei.com>",
        "References": "<20231027060947.3183983-1-haijie1@huawei.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Originating-IP": "[10.67.165.2]",
        "X-ClientProxiedBy": "dggems703-chm.china.huawei.com (10.3.19.180) To\n kwepemi500020.china.huawei.com (7.221.188.8)",
        "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 fixes a typo.\n\nFixes: c09c7847d892 (\"net/hns3: support traffic management\")\nCc: stable@dpdk.org\n\nSigned-off-by: Jie Hai <haijie1@huawei.com>\nAcked-by: Huisong Li <lihuisong@huawei.com>\nAcked-by: Chengwen Feng <fengchengwen@huawei.com>\n---\n drivers/net/hns3/hns3_tm.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/hns3/hns3_tm.c b/drivers/net/hns3/hns3_tm.c\nindex 67402a700f46..d9691640140b 100644\n--- a/drivers/net/hns3/hns3_tm.c\n+++ b/drivers/net/hns3/hns3_tm.c\n@@ -739,7 +739,7 @@ hns3_tm_node_type_get(struct rte_eth_dev *dev, uint32_t node_id,\n }\n \n static void\n-hns3_tm_nonleaf_level_capsbilities_get(struct rte_eth_dev *dev,\n+hns3_tm_nonleaf_level_capabilities_get(struct rte_eth_dev *dev,\n \t\t\t\t       uint32_t level_id,\n \t\t\t\t       struct rte_tm_level_capabilities *cap)\n {\n@@ -818,7 +818,7 @@ hns3_tm_level_capabilities_get(struct rte_eth_dev *dev,\n \tmemset(cap, 0, sizeof(struct rte_tm_level_capabilities));\n \n \tif (level_id != HNS3_TM_NODE_LEVEL_QUEUE)\n-\t\thns3_tm_nonleaf_level_capsbilities_get(dev, level_id, cap);\n+\t\thns3_tm_nonleaf_level_capabilities_get(dev, level_id, cap);\n \telse\n \t\thns3_tm_leaf_level_capabilities_get(dev, cap);\n \n",
    "prefixes": [
        "1/8"
    ]
}