get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1287221,
    "url": "http://patchwork.ozlabs.org/api/patches/1287221/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20200510155200.21068-1-sasha.neftin@intel.com/",
    "project": {
        "id": 46,
        "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api",
        "name": "Intel Wired Ethernet development",
        "link_name": "intel-wired-lan",
        "list_id": "intel-wired-lan.osuosl.org",
        "list_email": "intel-wired-lan@osuosl.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20200510155200.21068-1-sasha.neftin@intel.com>",
    "list_archive_url": null,
    "date": "2020-05-10T15:52:00",
    "name": "[v1,1/1] igc: Remove unused flags",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "116a5d003da4cf60d97170c4d47f547905077fc0",
    "submitter": {
        "id": 69860,
        "url": "http://patchwork.ozlabs.org/api/people/69860/?format=api",
        "name": "Sasha Neftin",
        "email": "sasha.neftin@intel.com"
    },
    "delegate": {
        "id": 68,
        "url": "http://patchwork.ozlabs.org/api/users/68/?format=api",
        "username": "jtkirshe",
        "first_name": "Jeff",
        "last_name": "Kirsher",
        "email": "jeffrey.t.kirsher@intel.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20200510155200.21068-1-sasha.neftin@intel.com/mbox/",
    "series": [
        {
            "id": 175981,
            "url": "http://patchwork.ozlabs.org/api/series/175981/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=175981",
            "date": "2020-05-10T15:52:00",
            "name": "[v1,1/1] igc: Remove unused flags",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/175981/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1287221/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1287221/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<intel-wired-lan-bounces@osuosl.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=osuosl.org\n (client-ip=140.211.166.137; helo=fraxinus.osuosl.org;\n envelope-from=intel-wired-lan-bounces@osuosl.org; receiver=<UNKNOWN>)",
            "ozlabs.org;\n dmarc=fail (p=none dis=none) header.from=intel.com"
        ],
        "Received": [
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 49KpV316q4z9sPF\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 11 May 2020 01:52:08 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id E5F4C864AA;\n\tSun, 10 May 2020 15:52:05 +0000 (UTC)",
            "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 2TCx_ZsHDzli; Sun, 10 May 2020 15:52:04 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 5B6D086444;\n\tSun, 10 May 2020 15:52:04 +0000 (UTC)",
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n by ash.osuosl.org (Postfix) with ESMTP id D04EA1BF591\n for <intel-wired-lan@lists.osuosl.org>; Sun, 10 May 2020 15:52:02 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by hemlock.osuosl.org (Postfix) with ESMTP id CC0D087F9F\n for <intel-wired-lan@lists.osuosl.org>; Sun, 10 May 2020 15:52:02 +0000 (UTC)",
            "from hemlock.osuosl.org ([127.0.0.1])\n by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n with ESMTP id spuITJeMbPRc for <intel-wired-lan@lists.osuosl.org>;\n Sun, 10 May 2020 15:52:02 +0000 (UTC)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by hemlock.osuosl.org (Postfix) with ESMTPS id 4B63587F92\n for <intel-wired-lan@lists.osuosl.org>; Sun, 10 May 2020 15:52:02 +0000 (UTC)",
            "from fmsmga005.fm.intel.com ([10.253.24.32])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 May 2020 08:52:01 -0700",
            "from ccdlinuxdev09.iil.intel.com ([143.185.160.241])\n by fmsmga005.fm.intel.com with ESMTP; 10 May 2020 08:52:01 -0700"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "IronPort-SDR": [
            "\n L8ZTLOO5jF8T4YS8THCubMYr9ZfGSWkdIQjC6/H6NDUrO6iBNXMe4TyJNBztuu3pWl6yt69d08\n 0Wsa7NN+6OvQ==",
            "\n 2uKs9CrfvTQSS/vsOyjyoQ0Ho/ZA9MmfK6ZmFkJ157mE7czZmenYXhidj7k7j98XqROqvsT8zm\n H6fkIbpy38YA=="
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.73,376,1583222400\"; d=\"scan'208\";a=\"462850588\"",
        "From": "Sasha Neftin <sasha.neftin@intel.com>",
        "To": "intel-wired-lan@lists.osuosl.org",
        "Date": "Sun, 10 May 2020 18:52:00 +0300",
        "Message-Id": "<20200510155200.21068-1-sasha.neftin@intel.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "Subject": "[Intel-wired-lan] [PATCH v1 1/1] igc: Remove unused flags",
        "X-BeenThere": "intel-wired-lan@osuosl.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n <intel-wired-lan.osuosl.org>",
        "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>,\n <mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>",
        "List-Post": "<mailto:intel-wired-lan@osuosl.org>",
        "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>",
        "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>,\n <mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "intel-wired-lan-bounces@osuosl.org",
        "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>"
    },
    "content": "Transmit underrun, late and excess collision flags not in use.\nThis patch comes to clean up these flags.\n\nSigned-off-by: Sasha Neftin <sasha.neftin@intel.com>\n---\n drivers/net/ethernet/intel/igc/igc_defines.h | 4 ----\n 1 file changed, 4 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/igc/igc_defines.h b/drivers/net/ethernet/intel/igc/igc_defines.h\nindex aa1d012b3e2a..80b664e64465 100644\n--- a/drivers/net/ethernet/intel/igc/igc_defines.h\n+++ b/drivers/net/ethernet/intel/igc/igc_defines.h\n@@ -269,13 +269,9 @@\n #define IGC_TXD_CMD_DEXT\t0x20000000 /* Desc extension (0 = legacy) */\n #define IGC_TXD_CMD_VLE\t\t0x40000000 /* Add VLAN tag */\n #define IGC_TXD_STAT_DD\t\t0x00000001 /* Descriptor Done */\n-#define IGC_TXD_STAT_EC\t\t0x00000002 /* Excess Collisions */\n-#define IGC_TXD_STAT_LC\t\t0x00000004 /* Late Collisions */\n-#define IGC_TXD_STAT_TU\t\t0x00000008 /* Transmit underrun */\n #define IGC_TXD_CMD_TCP\t\t0x01000000 /* TCP packet */\n #define IGC_TXD_CMD_IP\t\t0x02000000 /* IP packet */\n #define IGC_TXD_CMD_TSE\t\t0x04000000 /* TCP Seg enable */\n-#define IGC_TXD_STAT_TC\t\t0x00000004 /* Tx Underrun */\n #define IGC_TXD_EXTCMD_TSTAMP\t0x00000010 /* IEEE1588 Timestamp packet */\n \n /* IPSec Encrypt Enable */\n",
    "prefixes": [
        "v1",
        "1/1"
    ]
}