get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 95020,
    "url": "https://patches.dpdk.org/api/patches/95020/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1625018183-58204-1-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": "<1625018183-58204-1-git-send-email-humin29@huawei.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1625018183-58204-1-git-send-email-humin29@huawei.com",
    "date": "2021-06-30T01:56:23",
    "name": "[v2] doc: add link status event pre-conditions",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "0099141ef16ea7699ee7dc77ea34c2e63cc09935",
    "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/1625018183-58204-1-git-send-email-humin29@huawei.com/mbox/",
    "series": [
        {
            "id": 17534,
            "url": "https://patches.dpdk.org/api/series/17534/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=17534",
            "date": "2021-06-30T01:56:23",
            "name": "[v2] doc: add link status event pre-conditions",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/17534/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/95020/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/95020/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 6B8B4A0A0F;\n\tWed, 30 Jun 2021 03:57:01 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 5CD5740E01;\n\tWed, 30 Jun 2021 03:57:01 +0200 (CEST)",
            "from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187])\n by mails.dpdk.org (Postfix) with ESMTP id C6F6440DF6\n for <dev@dpdk.org>; Wed, 30 Jun 2021 03:56:59 +0200 (CEST)",
            "from dggeme756-chm.china.huawei.com (unknown [172.30.72.53])\n by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4GF4Bl253NzZjhC;\n Wed, 30 Jun 2021 09:53:51 +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; Wed, 30 Jun 2021 09:56:57 +0800"
        ],
        "From": "\"Min Hu (Connor)\" <humin29@huawei.com>",
        "To": "<dev@dpdk.org>",
        "CC": "<ferruh.yigit@intel.com>, <thomas@monjalon.net>",
        "Date": "Wed, 30 Jun 2021 09:56:23 +0800",
        "Message-ID": "<1625018183-58204-1-git-send-email-humin29@huawei.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1620378499-5090-7-git-send-email-humin29@huawei.com>",
        "References": "<1620378499-5090-7-git-send-email-humin29@huawei.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Originating-IP": "[10.69.192.56]",
        "X-ClientProxiedBy": "dggems702-chm.china.huawei.com (10.3.19.179) To\n dggeme756-chm.china.huawei.com (10.3.19.102)",
        "X-CFilter-Loop": "Reflected",
        "Subject": "[dpdk-dev] [PATCH v2] doc: add link status event pre-conditions",
        "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\nThis patch adds link status event pre-conditions.\n\nSigned-off-by: Chengwen Feng <fengchengwen@huawei.com>\nSigned-off-by: Min Hu (Connor) <humin29@huawei.com>\n---\nv2:\n* not modified, only waiting for 5.13 kernel released.\n---\n doc/guides/nics/hns3.rst | 10 ++++++++++\n 1 file changed, 10 insertions(+)",
    "diff": "diff --git a/doc/guides/nics/hns3.rst b/doc/guides/nics/hns3.rst\nindex cf72810..c5c55d3 100644\n--- a/doc/guides/nics/hns3.rst\n+++ b/doc/guides/nics/hns3.rst\n@@ -115,6 +115,16 @@ Runtime Config Options\n   For example::\n   -a 0000:7d:00.0,dev_caps_mask=0xF\n \n+Link status event Pre-conditions\n+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n+\n+Firmware 1.8.0.0 and later versions support reporting link changes to the PF.\n+Therefore, to use the LSC for the PF driver, ensure that the firmware version\n+also supports reporting link changes.\n+If the VF driver needs to support LSC, special patch must be added:\n+`<https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/drivers/net/ethernet/hisilicon/hns3?h=next-20210428&id=18b6e31f8bf4ac7af7b057228f38a5a530378e4e>`_.\n+Note: The patch has been uploaded to 5.13 of the Linux kernel mainline.\n+\n Driver compilation and testing\n ------------------------------\n \n",
    "prefixes": [
        "v2"
    ]
}