get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 76488,
    "url": "http://patches.dpdk.org/api/patches/76488/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200903222520.45572-1-yanx.fu@intel.com/",
    "project": {
        "id": 1,
        "url": "http://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": "<20200903222520.45572-1-yanx.fu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200903222520.45572-1-yanx.fu@intel.com",
    "date": "2020-09-03T22:25:20",
    "name": "[v1,1/1] driver/net/ice sleep in dev_init",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "46a48349914b5672227c8a90d0ddb95e90b634bd",
    "submitter": {
        "id": 1957,
        "url": "http://patches.dpdk.org/api/people/1957/?format=api",
        "name": null,
        "email": "yanx.fu@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "http://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200903222520.45572-1-yanx.fu@intel.com/mbox/",
    "series": [
        {
            "id": 11946,
            "url": "http://patches.dpdk.org/api/series/11946/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11946",
            "date": "2020-09-03T22:25:20",
            "name": "[v1,1/1] driver/net/ice sleep in dev_init",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/11946/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/76488/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/76488/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id C98B5A04C5;\n\tFri,  4 Sep 2020 08:58:35 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id E22F51BC25;\n\tFri,  4 Sep 2020 08:58:34 +0200 (CEST)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by dpdk.org (Postfix) with ESMTP id CFD6DDE0;\n Fri,  4 Sep 2020 08:58:32 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 03 Sep 2020 23:58:31 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.65])\n by orsmga002.jf.intel.com with ESMTP; 03 Sep 2020 23:58:29 -0700"
        ],
        "IronPort-SDR": [
            "\n Ty0QM5F2+3rMa6rYUM4dD+m7f501z+xp5deAWipRqnhZ2OGAdCCpPxFxZ5ykCnJVNISt6y1e3K\n 4pqI8DAm21fw==",
            "\n eZ5XY/VEePwVaxsSSXdRoDacfgq74FURk8bkidhgPouzgh7+fdaqD/0MrXnopvKdxUQvYDwswY\n Q3BoCK8LKiRg=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9733\"; a=\"145403233\"",
            "E=Sophos;i=\"5.76,388,1592895600\"; d=\"scan'208\";a=\"145403233\"",
            "E=Sophos;i=\"5.76,388,1592895600\"; d=\"scan'208\";a=\"315751502\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "yanx.fu@intel.com",
        "To": "qi.z.zhang@intel.com",
        "Cc": "dev@dpdk.org,\n\tstable@dpdk.org,\n\tFuYanX <yanx.fu@intel.com>",
        "Date": "Thu,  3 Sep 2020 22:25:20 +0000",
        "Message-Id": "<20200903222520.45572-1-yanx.fu@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v1 1/1] driver/net/ice sleep in dev_init",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "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: FuYanX <yanx.fu@intel.com>\n\nFix a hardware issue at C0 4 port NIC via fiber.\n\nWhen ice_driver send resetHW cmd, there is need to wait 100ms,\nthen the HW functions will be completed. Otherwise, the function\nof the port link status will be unstable.\n\nSolution just follow datasheet requirement.\nThe operating system sets the FLR bit in the Device Control register of the PF.\nThe operating system is required by PCIe specification to wait 100 ms\nbefore it can assume that the FLR sequence is completed by hardware.\n\nSigned-off-by: FuYanX <yanx.fu@intel.com>\n---\n drivers/net/ice/base/ice_common.c | 6 ++++++\n 1 file changed, 6 insertions(+)",
    "diff": "diff --git a/drivers/net/ice/base/ice_common.c b/drivers/net/ice/base/ice_common.c\nindex 6168fb4f0..f5ea94ece 100644\n--- a/drivers/net/ice/base/ice_common.c\n+++ b/drivers/net/ice/base/ice_common.c\n@@ -705,6 +705,12 @@ enum ice_status ice_init_hw(struct ice_hw *hw)\n \tif (status)\n \t\treturn status;\n \n+\t/* The driver e.g. vfio-pci may triggle a FLR reset.\n+\t * The operating system sets the FLR bit in the Device Control register of the PF.\n+\t * The operating system is required by PCIe specification to wait 100 ms\n+\t * before it can assume that the FLR sequence is completed by hardware.\n+\t */\n+\trte_delay_ms(100);\n \thw->pf_id = (u8)(rd32(hw, PF_FUNC_RID) &\n \t\t\t PF_FUNC_RID_FUNCTION_NUMBER_M) >>\n \t\tPF_FUNC_RID_FUNCTION_NUMBER_S;\n",
    "prefixes": [
        "v1",
        "1/1"
    ]
}