get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 71924,
    "url": "http://patches.dpdk.org/api/patches/71924/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200622064634.70941-58-guinanx.sun@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": "<20200622064634.70941-58-guinanx.sun@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200622064634.70941-58-guinanx.sun@intel.com",
    "date": "2020-06-22T06:46:21",
    "name": "[57/70] net/e1000/base: add EEE functions and defines for IGC",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "f9aa37b55396cb3bd2a14e1e55be5fa3053e68d0",
    "submitter": {
        "id": 1476,
        "url": "http://patches.dpdk.org/api/people/1476/?format=api",
        "name": "Guinan Sun",
        "email": "guinanx.sun@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/20200622064634.70941-58-guinanx.sun@intel.com/mbox/",
    "series": [
        {
            "id": 10543,
            "url": "http://patches.dpdk.org/api/series/10543/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=10543",
            "date": "2020-06-22T06:45:24",
            "name": "update e1000 base code",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/10543/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/71924/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/71924/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 71F34A0350;\n\tMon, 22 Jun 2020 09:15:47 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id D646D1D5E3;\n\tMon, 22 Jun 2020 09:07:11 +0200 (CEST)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by dpdk.org (Postfix) with ESMTP id 4DC5C1D5D2\n for <dev@dpdk.org>; Mon, 22 Jun 2020 09:07:07 +0200 (CEST)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 22 Jun 2020 00:07:06 -0700",
            "from dpdk.sh.intel.com ([10.239.255.83])\n by fmsmga001.fm.intel.com with ESMTP; 22 Jun 2020 00:07:05 -0700"
        ],
        "IronPort-SDR": [
            "\n x7WbN20JORZrdZ6CKVgPWNsnBHt+mpPDt+eusKYcr+Ul92RnSA21yqLBPEq38GLhTfJOcVdtAR\n FKxEP66sS/TQ==",
            "\n yfNXPT/K9XOuw0+xqklEjGZzwRt6+wJuNq5qQdZTG7rzQHA4uFNRlSwr4w6qZhNNINICku4Qpc\n PpMYh+l7w6hA=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9659\"; a=\"131070850\"",
            "E=Sophos;i=\"5.75,266,1589266800\"; d=\"scan'208\";a=\"131070850\"",
            "E=Sophos;i=\"5.75,266,1589266800\"; d=\"scan'208\";a=\"384409242\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Guinan Sun <guinanx.sun@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Jeff Guo <jia.guo@intel.com>, Zhao1 Wei <wei.zhao1@intel.com>,\n Guinan Sun <guinanx.sun@intel.com>,\n Lifshits Vitaly <vitaly.lifshits@intel.com>",
        "Date": "Mon, 22 Jun 2020 06:46:21 +0000",
        "Message-Id": "<20200622064634.70941-58-guinanx.sun@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20200622064634.70941-1-guinanx.sun@intel.com>",
        "References": "<20200622064634.70941-1-guinanx.sun@intel.com>",
        "Subject": "[dpdk-dev] [PATCH 57/70] net/e1000/base: add EEE functions and\n\tdefines for IGC",
        "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": "Added support for required defines and functions to EEE for I225 drivers.\n\nSigned-off-by: Lifshits Vitaly <vitaly.lifshits@intel.com>\nSigned-off-by: Guinan Sun <guinanx.sun@intel.com>\n---\n drivers/net/e1000/base/e1000_defines.h | 7 +++++--\n 1 file changed, 5 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/e1000/base/e1000_defines.h b/drivers/net/e1000/base/e1000_defines.h\nindex eef692338..00afdaa25 100644\n--- a/drivers/net/e1000/base/e1000_defines.h\n+++ b/drivers/net/e1000/base/e1000_defines.h\n@@ -949,11 +949,14 @@\n #define E1000_EEE_LP_ADV_DEV_I210\t7          /* EEE LP Adv Device */\n #define E1000_EEE_LP_ADV_ADDR_I210\t61         /* EEE LP Adv Register */\n #define E1000_EEE_SU_LPI_CLK_STP\t0x00800000 /* EEE LPI Clock Stop */\n-#ifndef NO_I225_SUPPORT\n #define E1000_EEE_LP_ADV_DEV_I225\t7          /* EEE LP Adv Device */\n #define E1000_EEE_LP_ADV_ADDR_I225\t61         /* EEE LP Adv Register */\n+#define E1000_EEE_LP_ADV_2_5G           0          /* EEE LP Adv 2.5G */\n+#define E1000_EEE_LP_ADV_1G             2          /* EEE LP Adv 1G */\n+#define E1000_EEE_LP_ADV_100M           1          /* EEE LP Adv 100M */\n+#define E1000_ANEG_EEE_AN_LPAB1_I225    26         /* EEE LP Ability 1 Offset */\n+#define E1000_ANEG_EEE_AN_LPAB2_I225    0x2A       /* EEE LP Ability 2 Offset */\n \n-#endif /* NO_I225_SUPPORT */\n /* PCI Express Control */\n #define E1000_GCR_RXD_NO_SNOOP\t\t0x00000001\n #define E1000_GCR_RXDSCW_NO_SNOOP\t0x00000002\n",
    "prefixes": [
        "57/70"
    ]
}