get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 86622,
    "url": "https://patches.dpdk.org/api/patches/86622/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1610631217-14216-5-git-send-email-oulijun@huawei.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<1610631217-14216-5-git-send-email-oulijun@huawei.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1610631217-14216-5-git-send-email-oulijun@huawei.com",
    "date": "2021-01-14T13:33:33",
    "name": "[4/8] net/hns3: use new opcode for clearing hardware resource",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "24d4b9ff85bc87a94eaa9d10b8013ec27f4d1bcb",
    "submitter": {
        "id": 1675,
        "url": "https://patches.dpdk.org/api/people/1675/?format=api",
        "name": "Lijun Ou",
        "email": "oulijun@huawei.com"
    },
    "delegate": {
        "id": 319,
        "url": "https://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1610631217-14216-5-git-send-email-oulijun@huawei.com/mbox/",
    "series": [
        {
            "id": 14755,
            "url": "https://patches.dpdk.org/api/series/14755/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=14755",
            "date": "2021-01-14T13:33:37",
            "name": "TM and some bugfixes for hns3",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/14755/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/86622/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/86622/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 17B33A0A02;\n\tThu, 14 Jan 2021 14:35:11 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id F0EE7141299;\n\tThu, 14 Jan 2021 14:34:08 +0100 (CET)",
            "from szxga04-in.huawei.com (szxga04-in.huawei.com [45.249.212.190])\n by mails.dpdk.org (Postfix) with ESMTP id DA9B214126E\n for <dev@dpdk.org>; Thu, 14 Jan 2021 14:33:59 +0100 (CET)",
            "from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.59])\n by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4DGlcR1bk7z15t1j\n for <dev@dpdk.org>; Thu, 14 Jan 2021 21:32:55 +0800 (CST)",
            "from localhost.localdomain (10.69.192.56) by\n DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id\n 14.3.498.0; Thu, 14 Jan 2021 21:33:54 +0800"
        ],
        "From": "Lijun Ou <oulijun@huawei.com>",
        "To": "<ferruh.yigit@intel.com>",
        "CC": "<dev@dpdk.org>",
        "Date": "Thu, 14 Jan 2021 21:33:33 +0800",
        "Message-ID": "<1610631217-14216-5-git-send-email-oulijun@huawei.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1610631217-14216-1-git-send-email-oulijun@huawei.com>",
        "References": "<1610631217-14216-1-git-send-email-oulijun@huawei.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Originating-IP": "[10.69.192.56]",
        "X-CFilter-Loop": "Reflected",
        "Subject": "[dpdk-dev] [PATCH 4/8] net/hns3: use new opcode for clearing\n hardware resource",
        "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": "From: Hongbo Zheng <zhenghongbo3@huawei.com>\n\nThe original command opcode '0x700A' may cause firmware error,\nso '0x700A' is deserted, now use '0x700B' to replace it.\n\nFixes: 223d9eceaeee (\"net/hns3: clear residual hardware configurations on init\")\nCc: stable@dpdk.org\n\nSigned-off-by: Hongbo Zheng <zhenghongbo3@huawei.com>\nSigned-off-by: Lijun Ou <oulijun@huawei.com>\n---\n drivers/net/hns3/hns3_cmd.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/hns3/hns3_cmd.h b/drivers/net/hns3/hns3_cmd.h\nindex 194c3a7..e40293b 100644\n--- a/drivers/net/hns3/hns3_cmd.h\n+++ b/drivers/net/hns3/hns3_cmd.h\n@@ -203,7 +203,7 @@ enum hns3_opcode_type {\n \tHNS3_OPC_FD_COUNTER_OP          = 0x1205,\n \n \t/* Clear hardware state command */\n-\tHNS3_OPC_CLEAR_HW_STATE         = 0x700A,\n+\tHNS3_OPC_CLEAR_HW_STATE         = 0x700B,\n \n \t/* SFP command */\n \tHNS3_OPC_SFP_GET_SPEED          = 0x7104,\n",
    "prefixes": [
        "4/8"
    ]
}