get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 88353,
    "url": "http://patches.dpdk.org/api/patches/88353/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210302072357.1657556-6-qi.z.zhang@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": "<20210302072357.1657556-6-qi.z.zhang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210302072357.1657556-6-qi.z.zhang@intel.com",
    "date": "2021-03-02T07:23:48",
    "name": "[05/14] net/ice/base: expose link configuration error",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "0cd9f1ae06322529c64b648be4a8118a6708a8ab",
    "submitter": {
        "id": 504,
        "url": "http://patches.dpdk.org/api/people/504/?format=api",
        "name": "Qi Zhang",
        "email": "qi.z.zhang@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/20210302072357.1657556-6-qi.z.zhang@intel.com/mbox/",
    "series": [
        {
            "id": 15435,
            "url": "http://patches.dpdk.org/api/series/15435/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=15435",
            "date": "2021-03-02T07:23:43",
            "name": "ice: base code update",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/15435/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/88353/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/88353/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 7804EA054F;\n\tTue,  2 Mar 2021 08:20:46 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 7EE3D1CC568;\n\tTue,  2 Mar 2021 08:20:26 +0100 (CET)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by mails.dpdk.org (Postfix) with ESMTP id EC3501CC55E\n for <dev@dpdk.org>; Tue,  2 Mar 2021 08:20:24 +0100 (CET)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 01 Mar 2021 23:20:24 -0800",
            "from dpdk51.sh.intel.com ([10.67.111.142])\n by fmsmga001.fm.intel.com with ESMTP; 01 Mar 2021 23:20:22 -0800"
        ],
        "IronPort-SDR": [
            "\n CEhJk71ztU898vpT0teN2VWoLGFsXRcgDmbBnEA3GoIhP/QNrWh9Jfxko2EA3uzhhylQX+Yx2Z\n ryjDjpa9ppKA==",
            "\n 4s3OD1m539HcA+iusKWVCwOE986yBUR7KcstRzFuiyUJs4gr7qDxelwd9nhx4zsswLYgR5gsrw\n YvK8Dsvs+EUA=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9910\"; a=\"186775241\"",
            "E=Sophos;i=\"5.81,216,1610438400\"; d=\"scan'208\";a=\"186775241\"",
            "E=Sophos;i=\"5.81,216,1610438400\"; d=\"scan'208\";a=\"506230296\""
        ],
        "X-ExtLoop1": "1",
        "From": "Qi Zhang <qi.z.zhang@intel.com>",
        "To": "qiming.yang@intel.com",
        "Cc": "dev@dpdk.org, haiyue.wang@intel.com, junfeng.guo@intel.com,\n Qi Zhang <qi.z.zhang@intel.com>, Jeb Cramer <jeb.j.cramer@intel.com>",
        "Date": "Tue,  2 Mar 2021 15:23:48 +0800",
        "Message-Id": "<20210302072357.1657556-6-qi.z.zhang@intel.com>",
        "X-Mailer": "git-send-email 2.26.2",
        "In-Reply-To": "<20210302072357.1657556-1-qi.z.zhang@intel.com>",
        "References": "<20210302072357.1657556-1-qi.z.zhang@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 05/14] net/ice/base: expose link configuration\n error",
        "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": "Store the link_cfg_err byte in order to determine whether an unsupported\npower configuration is preventing link establishment.\n\nSigned-off-by: Jeb Cramer <jeb.j.cramer@intel.com>\nSigned-off-by: Qi Zhang <qi.z.zhang@intel.com>\n---\n drivers/net/ice/base/ice_adminq_cmd.h | 1 +\n drivers/net/ice/base/ice_common.c     | 1 +\n drivers/net/ice/base/ice_type.h       | 1 +\n 3 files changed, 3 insertions(+)",
    "diff": "diff --git a/drivers/net/ice/base/ice_adminq_cmd.h b/drivers/net/ice/base/ice_adminq_cmd.h\nindex a31c27a633..4b78da92b5 100644\n--- a/drivers/net/ice/base/ice_adminq_cmd.h\n+++ b/drivers/net/ice/base/ice_adminq_cmd.h\n@@ -1513,6 +1513,7 @@ struct ice_aqc_get_link_status_data {\n #define ICE_AQ_LINK_TOPO_CRITICAL_SDP_ERR\tBIT(4)\n #define ICE_AQ_LINK_MODULE_POWER_UNSUPPORTED\tBIT(5)\n #define ICE_AQ_LINK_EXTERNAL_PHY_LOAD_FAILURE\tBIT(6)\n+#define ICE_AQ_LINK_INVAL_MAX_POWER_LIMIT\tBIT(7)\n \tu8 link_info;\n #define ICE_AQ_LINK_UP\t\t\tBIT(0)\t/* Link Status */\n #define ICE_AQ_LINK_FAULT\t\tBIT(1)\ndiff --git a/drivers/net/ice/base/ice_common.c b/drivers/net/ice/base/ice_common.c\nindex bef7c83512..1546309da1 100644\n--- a/drivers/net/ice/base/ice_common.c\n+++ b/drivers/net/ice/base/ice_common.c\n@@ -429,6 +429,7 @@ ice_aq_get_link_info(struct ice_port_info *pi, bool ena_lse,\n \tli->phy_type_high = LE64_TO_CPU(link_data.phy_type_high);\n \t*hw_media_type = ice_get_media_type(pi);\n \tli->link_info = link_data.link_info;\n+\tli->link_cfg_err = link_data.link_cfg_err;\n \tli->an_info = link_data.an_info;\n \tli->ext_info = link_data.ext_info;\n \tli->max_frame_size = LE16_TO_CPU(link_data.max_frame_size);\ndiff --git a/drivers/net/ice/base/ice_type.h b/drivers/net/ice/base/ice_type.h\nindex 414424b66e..102c209286 100644\n--- a/drivers/net/ice/base/ice_type.h\n+++ b/drivers/net/ice/base/ice_type.h\n@@ -248,6 +248,7 @@ struct ice_link_status {\n \tu16 max_frame_size;\n \tu16 link_speed;\n \tu16 req_speeds;\n+\tu8 link_cfg_err;\n \tu8 lse_ena;\t/* Link Status Event notification */\n \tu8 link_info;\n \tu8 an_info;\n",
    "prefixes": [
        "05/14"
    ]
}