get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 94146,
    "url": "https://patches.dpdk.org/api/patches/94146/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1623551516-49635-5-git-send-email-humin29@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": "<1623551516-49635-5-git-send-email-humin29@huawei.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1623551516-49635-5-git-send-email-humin29@huawei.com",
    "date": "2021-06-13T02:31:54",
    "name": "[4/6] net/hns3: fix VLAN strip log",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "e0032e29fb8cfc05befc9c0cfa292b84f6dfa97c",
    "submitter": {
        "id": 1944,
        "url": "https://patches.dpdk.org/api/people/1944/?format=api",
        "name": "humin (Q)",
        "email": "humin29@huawei.com"
    },
    "delegate": {
        "id": 3961,
        "url": "https://patches.dpdk.org/api/users/3961/?format=api",
        "username": "arybchenko",
        "first_name": "Andrew",
        "last_name": "Rybchenko",
        "email": "andrew.rybchenko@oktetlabs.ru"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1623551516-49635-5-git-send-email-humin29@huawei.com/mbox/",
    "series": [
        {
            "id": 17308,
            "url": "https://patches.dpdk.org/api/series/17308/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=17308",
            "date": "2021-06-13T02:31:54",
            "name": "bugfixes for hns3 PMD",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/17308/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/94146/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/94146/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 7FD33A0C47;\n\tSun, 13 Jun 2021 04:32:25 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 0366C40141;\n\tSun, 13 Jun 2021 04:32:25 +0200 (CEST)",
            "from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187])\n by mails.dpdk.org (Postfix) with ESMTP id 450A54003E\n for <dev@dpdk.org>; Sun, 13 Jun 2021 04:32:23 +0200 (CEST)",
            "from dggeme756-chm.china.huawei.com (unknown [172.30.72.53])\n by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4G2dnh0y9pzZd2j\n for <dev@dpdk.org>; Sun, 13 Jun 2021 10:29:28 +0800 (CST)",
            "from localhost.localdomain (10.69.192.56) by\n dggeme756-chm.china.huawei.com (10.3.19.102) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id\n 15.1.2176.2; Sun, 13 Jun 2021 10:32:20 +0800"
        ],
        "From": "\"Min Hu (Connor)\" <humin29@huawei.com>",
        "To": "<dev@dpdk.org>",
        "CC": "<ferruh.yigit@intel.com>",
        "Date": "Sun, 13 Jun 2021 10:31:54 +0800",
        "Message-ID": "<1623551516-49635-5-git-send-email-humin29@huawei.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1623551516-49635-1-git-send-email-humin29@huawei.com>",
        "References": "<1623551516-49635-1-git-send-email-humin29@huawei.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Originating-IP": "[10.69.192.56]",
        "X-ClientProxiedBy": "dggems701-chm.china.huawei.com (10.3.19.178) To\n dggeme756-chm.china.huawei.com (10.3.19.102)",
        "X-CFilter-Loop": "Reflected",
        "Subject": "[dpdk-dev] [PATCH 4/6] net/hns3: fix VLAN strip log",
        "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: Chengchang Tang <tangchengchang@huawei.com>\n\nWhen the current VLAN stripping is set, the log print always prompts\nthat the enabling fails, bug if may actually be the disabling failure.\n\nFixes: 411d23b9eafb (\"net/hns3: support VLAN\")\nCc: stable@dpdk.org\n\nSigned-off-by: Chengchang Tang <tangchengchang@huawei.com>\nSigned-off-by: Min Hu (Connor) <humin29@huawei.com>\n---\n drivers/net/hns3/hns3_ethdev.c    | 3 ++-\n drivers/net/hns3/hns3_ethdev_vf.c | 3 ++-\n 2 files changed, 4 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3/hns3_ethdev.c\nindex 7b0e938..db96fbc 100644\n--- a/drivers/net/hns3/hns3_ethdev.c\n+++ b/drivers/net/hns3/hns3_ethdev.c\n@@ -640,7 +640,8 @@ hns3_en_hw_strip_rxvtag(struct hns3_adapter *hns, bool enable)\n \n \tret = hns3_set_vlan_rx_offload_cfg(hns, &rxvlan_cfg);\n \tif (ret) {\n-\t\thns3_err(hw, \"enable strip rx vtag failed, ret =%d\", ret);\n+\t\thns3_err(hw, \"%s strip rx vtag failed, ret = %d.\",\n+\t\t\t\tenable ? \"enable\" : \"disable\", ret);\n \t\treturn ret;\n \t}\n \ndiff --git a/drivers/net/hns3/hns3_ethdev_vf.c b/drivers/net/hns3/hns3_ethdev_vf.c\nindex e4908de..e0a0797 100644\n--- a/drivers/net/hns3/hns3_ethdev_vf.c\n+++ b/drivers/net/hns3/hns3_ethdev_vf.c\n@@ -1606,7 +1606,8 @@ hns3vf_en_hw_strip_rxvtag(struct hns3_hw *hw, bool enable)\n \tret = hns3_send_mbx_msg(hw, HNS3_MBX_SET_VLAN, HNS3_MBX_VLAN_RX_OFF_CFG,\n \t\t\t\t&msg_data, sizeof(msg_data), false, NULL, 0);\n \tif (ret)\n-\t\thns3_err(hw, \"vf enable strip failed, ret =%d\", ret);\n+\t\thns3_err(hw, \"vf %s strip failed, ret = %d.\",\n+\t\t\t\tenable ? \"enable\" : \"disable\", ret);\n \n \treturn ret;\n }\n",
    "prefixes": [
        "4/6"
    ]
}