get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 94147,
    "url": "https://patches.dpdk.org/api/patches/94147/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1623551516-49635-2-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-2-git-send-email-humin29@huawei.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1623551516-49635-2-git-send-email-humin29@huawei.com",
    "date": "2021-06-13T02:31:51",
    "name": "[1/6] net/hns3: modify max reset fail retry count",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "c772284214b6efcf5875b4506f7f13b942ef7b82",
    "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-2-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/94147/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/94147/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 0C8F6A0C47;\n\tSun, 13 Jun 2021 04:32:31 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 09E85410EB;\n\tSun, 13 Jun 2021 04:32:26 +0200 (CEST)",
            "from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187])\n by mails.dpdk.org (Postfix) with ESMTP id 55C254003F\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 4G2dlH3XM5zWsT4\n for <dev@dpdk.org>; Sun, 13 Jun 2021 10:27:23 +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:51 +0800",
        "Message-ID": "<1623551516-49635-2-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 1/6] net/hns3: modify max reset fail retry count",
        "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\nWhen the device is very busy, VF reset may have to be\nretried many times to succeed, leading to the current\nmax reset fail retry count not enough.\n\nThis patch modify max reset fail retry count to 30 to\nenhance the reliability of reset function.\n\nFixes: 2790c6464725 (\"net/hns3: support device reset\")\nCc: stable@dpdk.org\n\nSigned-off-by: HongBo Zheng <zhenghongbo3@huawei.com>\nSigned-off-by: Min Hu (Connor) <humin29@huawei.com>\n---\n drivers/net/hns3/hns3_intr.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/hns3/hns3_intr.c b/drivers/net/hns3/hns3_intr.c\nindex 6bdb17f..0b307fd 100644\n--- a/drivers/net/hns3/hns3_intr.c\n+++ b/drivers/net/hns3/hns3_intr.c\n@@ -2582,7 +2582,7 @@ hns3_clear_reset_level(struct hns3_hw *hw, uint64_t *levels)\n static bool\n hns3_reset_err_handle(struct hns3_adapter *hns)\n {\n-#define MAX_RESET_FAIL_CNT 5\n+#define MAX_RESET_FAIL_CNT 30\n \n \tstruct hns3_hw *hw = &hns->hw;\n \n@@ -2676,7 +2676,7 @@ hns3_reset_pre(struct hns3_adapter *hns)\n static int\n hns3_reset_post(struct hns3_adapter *hns)\n {\n-#define TIMEOUT_RETRIES_CNT\t5\n+#define TIMEOUT_RETRIES_CNT\t30\n \tstruct hns3_hw *hw = &hns->hw;\n \tstruct timeval tv_delta;\n \tstruct timeval tv;\n",
    "prefixes": [
        "1/6"
    ]
}