get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1314113,
    "url": "http://patchwork.ozlabs.org/api/patches/1314113/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20200622074334.30238-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": "<20200622074334.30238-1-sasha.neftin@intel.com>",
    "list_archive_url": null,
    "date": "2020-06-22T07:43:34",
    "name": "[v1,1/1] igc: Remove unneeded ICTXQMTC register",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "ccd169a6f5c1a568c5e467893726ac8e366955ca",
    "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/20200622074334.30238-1-sasha.neftin@intel.com/mbox/",
    "series": [
        {
            "id": 184903,
            "url": "http://patchwork.ozlabs.org/api/series/184903/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=184903",
            "date": "2020-06-22T07:43:34",
            "name": "[v1,1/1] igc: Remove unneeded ICTXQMTC register",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/184903/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1314113/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1314113/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.133; helo=hemlock.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 hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\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 49r1cX0TQtz9sRf\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 22 Jun 2020 17:43:40 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 9D743889F3;\n\tMon, 22 Jun 2020 07:43:38 +0000 (UTC)",
            "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id N7sN0idHxAy2; Mon, 22 Jun 2020 07:43:38 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id EFB0A8899A;\n\tMon, 22 Jun 2020 07:43:37 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n by ash.osuosl.org (Postfix) with ESMTP id 7DFD31BF314\n for <intel-wired-lan@lists.osuosl.org>; Mon, 22 Jun 2020 07:43:36 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by whitealder.osuosl.org (Postfix) with ESMTP id 6BB2888177\n for <intel-wired-lan@lists.osuosl.org>; Mon, 22 Jun 2020 07:43:36 +0000 (UTC)",
            "from whitealder.osuosl.org ([127.0.0.1])\n by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n with ESMTP id OTWlgP31rIbu for <intel-wired-lan@lists.osuosl.org>;\n Mon, 22 Jun 2020 07:43:35 +0000 (UTC)",
            "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by whitealder.osuosl.org (Postfix) with ESMTPS id B0AEF88168\n for <intel-wired-lan@lists.osuosl.org>; Mon, 22 Jun 2020 07:43:35 +0000 (UTC)",
            "from fmsmga008.fm.intel.com ([10.253.24.58])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 22 Jun 2020 00:43:35 -0700",
            "from ccdlinuxdev09.iil.intel.com ([143.185.160.241])\n by fmsmga008.fm.intel.com with ESMTP; 22 Jun 2020 00:43:34 -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 pTH0Cgz1+Vr9gliL9LB2menwHuiMKN2jzyMQ7xZtXjfDaLr8sXD2ERfVEDwSTDQ/hRSB9JCalw\n qPlCtW3et6Lw==",
            "\n xgHYyz9LkKrd4/DoOyQIxwlx+kWb8gzA7kYJcsFExcO2rA521dvCGommsoSBJFDH+/3T9pm0Cf\n iB+l6KJuvBZQ=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9659\"; a=\"123965892\"",
            "E=Sophos;i=\"5.75,266,1589266800\"; d=\"scan'208\";a=\"123965892\"",
            "E=Sophos;i=\"5.75,266,1589266800\"; d=\"scan'208\";a=\"264435532\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Sasha Neftin <sasha.neftin@intel.com>",
        "To": "intel-wired-lan@lists.osuosl.org",
        "Date": "Mon, 22 Jun 2020 10:43:34 +0300",
        "Message-Id": "<20200622074334.30238-1-sasha.neftin@intel.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "Subject": "[Intel-wired-lan] [PATCH v1 1/1] igc: Remove unneeded ICTXQMTC\n register",
        "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": "Tx Queue Min Threshold Count register no applicable for the i225 device.\nThis patch comes to clean up it.\n\nSigned-off-by: Sasha Neftin <sasha.neftin@intel.com>\n---\n drivers/net/ethernet/intel/igc/igc_mac.c  | 1 -\n drivers/net/ethernet/intel/igc/igc_main.c | 1 -\n drivers/net/ethernet/intel/igc/igc_regs.h | 2 --\n 3 files changed, 4 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/igc/igc_mac.c b/drivers/net/ethernet/intel/igc/igc_mac.c\nindex 3a618e69514e..f85c8bcd7f70 100644\n--- a/drivers/net/ethernet/intel/igc/igc_mac.c\n+++ b/drivers/net/ethernet/intel/igc/igc_mac.c\n@@ -301,7 +301,6 @@ void igc_clear_hw_cntrs_base(struct igc_hw *hw)\n \trd32(IGC_ICRXATC);\n \trd32(IGC_ICTXPTC);\n \trd32(IGC_ICTXATC);\n-\trd32(IGC_ICTXQMTC);\n \trd32(IGC_ICRXDMTC);\n \n \trd32(IGC_RPTHC);\ndiff --git a/drivers/net/ethernet/intel/igc/igc_main.c b/drivers/net/ethernet/intel/igc/igc_main.c\nindex 59d75b6e7d64..ca6fa7c3d0a0 100644\n--- a/drivers/net/ethernet/intel/igc/igc_main.c\n+++ b/drivers/net/ethernet/intel/igc/igc_main.c\n@@ -3736,7 +3736,6 @@ void igc_update_stats(struct igc_adapter *adapter)\n \tadapter->stats.icrxatc += rd32(IGC_ICRXATC);\n \tadapter->stats.ictxptc += rd32(IGC_ICTXPTC);\n \tadapter->stats.ictxatc += rd32(IGC_ICTXATC);\n-\tadapter->stats.ictxqmtc += rd32(IGC_ICTXQMTC);\n \tadapter->stats.icrxdmtc += rd32(IGC_ICRXDMTC);\n \n \t/* Fill out the OS statistics structure */\ndiff --git a/drivers/net/ethernet/intel/igc/igc_regs.h b/drivers/net/ethernet/intel/igc/igc_regs.h\nindex d6ed1b1ebcbc..23554d39ad18 100644\n--- a/drivers/net/ethernet/intel/igc/igc_regs.h\n+++ b/drivers/net/ethernet/intel/igc/igc_regs.h\n@@ -63,7 +63,6 @@\n #define IGC_ICRXATC\t\t0x04108  /* Rx Absolute Timer Expire Count */\n #define IGC_ICTXPTC\t\t0x0410C  /* Tx Packet Timer Expire Count */\n #define IGC_ICTXATC\t\t0x04110  /* Tx Absolute Timer Expire Count */\n-#define IGC_ICTXQMTC\t\t0x0411C  /* Tx Queue Min Threshold Count */\n #define IGC_ICRXDMTC\t\t0x04120  /* Rx Descriptor Min Threshold Count */\n #define IGC_ICRXOC\t\t0x04124  /* Receiver Overrun Count */\n \n@@ -183,7 +182,6 @@\n #define IGC_IAC\t\t0x04100  /* Interrupt Assertion Count */\n #define IGC_ICTXPTC\t0x0410C  /* Interrupt Cause Tx Pkt Timer Expire Count */\n #define IGC_ICTXATC\t0x04110  /* Interrupt Cause Tx Abs Timer Expire Count */\n-#define IGC_ICTXQMTC\t0x0411C  /* Interrupt Cause Tx Queue Min Thresh Count */\n #define IGC_RPTHC\t0x04104  /* Rx Packets To Host */\n #define IGC_TLPIC\t0x04148  /* EEE Tx LPI Count */\n #define IGC_RLPIC\t0x0414C  /* EEE Rx LPI Count */\n",
    "prefixes": [
        "v1",
        "1/1"
    ]
}