get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 86620,
    "url": "https://patches.dpdk.org/api/patches/86620/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1610631217-14216-4-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-4-git-send-email-oulijun@huawei.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1610631217-14216-4-git-send-email-oulijun@huawei.com",
    "date": "2021-01-14T13:33:32",
    "name": "[3/8] net/hns3: fix VF query link status in dev init",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "b3e41fae9c2d428719186c36fe499aa8a574497a",
    "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-4-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/86620/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/86620/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 89F13A0A02;\n\tThu, 14 Jan 2021 14:34:48 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 95BDF141290;\n\tThu, 14 Jan 2021 14:34:06 +0100 (CET)",
            "from szxga04-in.huawei.com (szxga04-in.huawei.com [45.249.212.190])\n by mails.dpdk.org (Postfix) with ESMTP id 9E68C14126B\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 4DGlcR0pxMz15t14\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:53 +0800"
        ],
        "From": "Lijun Ou <oulijun@huawei.com>",
        "To": "<ferruh.yigit@intel.com>",
        "CC": "<dev@dpdk.org>",
        "Date": "Thu, 14 Jan 2021 21:33:32 +0800",
        "Message-ID": "<1610631217-14216-4-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 3/8] net/hns3: fix VF query link status in dev\n init",
        "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: Chengwen Feng <fengchengwen@huawei.com>\n\nCurrent hns3vf queryed link status in dev init stage, but the link\nstatus should be maintained in dev start stage, this patch fix this.\n\nAlso, in the dev start stage, we use quick query instead of delayed\nquery to make sure update the link status soon.\n\nFixes: a5475d61fa34 (\"net/hns3: support VF\")\nFixes: 958edf6627d5 (\"net/hns3: fix VF link status\")\nCc: stable@dpdk.org\n\nSigned-off-by: Chengwen Feng <fengchengwen@huawei.com>\nSigned-off-by: Lijun Ou <oulijun@huawei.com>\n---\n drivers/net/hns3/hns3_ethdev_vf.c | 3 +--\n 1 file changed, 1 insertion(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/hns3/hns3_ethdev_vf.c b/drivers/net/hns3/hns3_ethdev_vf.c\nindex 3809824..787978f 100644\n--- a/drivers/net/hns3/hns3_ethdev_vf.c\n+++ b/drivers/net/hns3/hns3_ethdev_vf.c\n@@ -1749,7 +1749,6 @@ hns3vf_init_hardware(struct hns3_adapter *hns)\n \t\tgoto err_init_hardware;\n \t}\n \n-\thns3vf_request_link_info(hw);\n \treturn 0;\n \n err_init_hardware:\n@@ -2238,7 +2237,7 @@ hns3vf_dev_start(struct rte_eth_dev *dev)\n \thns3_rx_scattered_calc(dev);\n \thns3_set_rxtx_function(dev);\n \thns3_mp_req_start_rxtx(dev);\n-\trte_eal_alarm_set(HNS3VF_SERVICE_INTERVAL, hns3vf_service_handler, dev);\n+\thns3vf_service_handler(dev);\n \n \thns3vf_restore_filter(dev);\n \n",
    "prefixes": [
        "3/8"
    ]
}