get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 51576,
    "url": "http://patches.dpdk.org/api/patches/51576/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190325054452.2616-22-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": "<20190325054452.2616-22-qi.z.zhang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190325054452.2616-22-qi.z.zhang@intel.com",
    "date": "2019-03-25T05:44:35",
    "name": "[v4,21/38] net/ice/base: enhance get link status command",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "5caaf502f5f9dbda04cb113c76dde3e51e7c23b3",
    "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/20190325054452.2616-22-qi.z.zhang@intel.com/mbox/",
    "series": [
        {
            "id": 3886,
            "url": "http://patches.dpdk.org/api/series/3886/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=3886",
            "date": "2019-03-25T05:44:14",
            "name": "ice share code update.",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/3886/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/51576/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/51576/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 6540A5F34;\n\tMon, 25 Mar 2019 06:44:01 +0100 (CET)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n\tby dpdk.org (Postfix) with ESMTP id 4C88954AE\n\tfor <dev@dpdk.org>; Mon, 25 Mar 2019 06:43:33 +0100 (CET)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n\tby fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t24 Mar 2019 22:43:32 -0700",
            "from dpdk51.sh.intel.com ([10.67.110.245])\n\tby orsmga008.jf.intel.com with ESMTP; 24 Mar 2019 22:43:31 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.60,256,1549958400\"; d=\"scan'208\";a=\"128368758\"",
        "From": "Qi Zhang <qi.z.zhang@intel.com>",
        "To": "wenzhuo.lu@intel.com,\n\tqiming.yang@intel.com",
        "Cc": "dev@dpdk.org, paul.m.stillwell.jr@intel.com, ferruh.yigit@intel.com,\n\tQi Zhang <qi.z.zhang@intel.com>, Matthew Vick <matthew.vick@intel.com>",
        "Date": "Mon, 25 Mar 2019 13:44:35 +0800",
        "Message-Id": "<20190325054452.2616-22-qi.z.zhang@intel.com>",
        "X-Mailer": "git-send-email 2.13.6",
        "In-Reply-To": "<20190325054452.2616-1-qi.z.zhang@intel.com>",
        "References": "<20190228055650.25237-1-qi.z.zhang@intel.com>\n\t<20190325054452.2616-1-qi.z.zhang@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v4 21/38] net/ice/base: enhance get link status\n\tcommand",
        "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Extend the functionality of the admin queue command by including\nadditional status and ID bits to improve link topology configuration.\n\nSigned-off-by: Matthew Vick <matthew.vick@intel.com>\nSigned-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>\nSigned-off-by: Qi Zhang <qi.z.zhang@intel.com>\nReviewed-by: Qiming Yang <qiming.yang@intel.com>\nReviewed-by: Wenzhuo Lu <wenzhuo.lu@intel.com>\n---\n drivers/net/ice/base/ice_adminq_cmd.h | 7 ++++++-\n 1 file changed, 6 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ice/base/ice_adminq_cmd.h b/drivers/net/ice/base/ice_adminq_cmd.h\nindex 70cd0604b..cb1e1ca1a 100644\n--- a/drivers/net/ice/base/ice_adminq_cmd.h\n+++ b/drivers/net/ice/base/ice_adminq_cmd.h\n@@ -1399,7 +1399,12 @@ struct ice_aqc_get_link_status_data {\n #define ICE_AQ_LINK_TOPO_CONFLICT\tBIT(0)\n #define ICE_AQ_LINK_MEDIA_CONFLICT\tBIT(1)\n #define ICE_AQ_LINK_TOPO_CORRUPT\tBIT(2)\n-\tu8 reserved1;\n+#define ICE_AQ_LINK_TOPO_UNREACH_PRT\tBIT(4)\n+#define ICE_AQ_LINK_TOPO_UNDRUTIL_PRT\tBIT(5)\n+#define ICE_AQ_LINK_TOPO_UNDRUTIL_MEDIA\tBIT(6)\n+#define ICE_AQ_LINK_TOPO_UNSUPP_MEDIA\tBIT(7)\n+\tu8 link_cfg_err;\n+#define ICE_AQ_LINK_CFG_ERR\t\tBIT(0)\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)\n",
    "prefixes": [
        "v4",
        "21/38"
    ]
}