get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 835843,
    "url": "http://patchwork.ozlabs.org/api/patches/835843/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20171107221332.28283-1-mattst88@gmail.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": "<20171107221332.28283-1-mattst88@gmail.com>",
    "list_archive_url": null,
    "date": "2017-11-07T22:13:30",
    "name": "[1/3] e1000e: Set HTHRESH when PTHRESH is used",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "f1145a60a7740164ca12a0d5b57a17789e46e70f",
    "submitter": {
        "id": 7917,
        "url": "http://patchwork.ozlabs.org/api/people/7917/?format=api",
        "name": "Matt Turner",
        "email": "mattst88@gmail.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/20171107221332.28283-1-mattst88@gmail.com/mbox/",
    "series": [
        {
            "id": 12542,
            "url": "http://patchwork.ozlabs.org/api/series/12542/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=12542",
            "date": "2017-11-07T22:13:31",
            "name": "[1/3] e1000e: Set HTHRESH when PTHRESH is used",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/12542/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/835843/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/835843/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\tspf=pass (mailfrom) smtp.mailfrom=osuosl.org\n\t(client-ip=140.211.166.136; helo=silver.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"jpXA+PyM\"; dkim-atps=neutral"
        ],
        "Received": [
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3yX8MW4l7lz9s5L\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  9 Nov 2017 01:49:27 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id A33DA257B1;\n\tWed,  8 Nov 2017 14:49:25 +0000 (UTC)",
            "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 68LZlwlLZGMU; Wed,  8 Nov 2017 14:49:22 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id 95B8E230F6;\n\tWed,  8 Nov 2017 14:49:22 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 2B8FC1C02F3\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue,  7 Nov 2017 22:13:43 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 1E2ED8296A\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue,  7 Nov 2017 22:13:43 +0000 (UTC)",
            "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id dWnwYzA5YmTR for <intel-wired-lan@lists.osuosl.org>;\n\tTue,  7 Nov 2017 22:13:42 +0000 (UTC)",
            "from mail-pg0-f68.google.com (mail-pg0-f68.google.com\n\t[74.125.83.68])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 8476A8288A\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue,  7 Nov 2017 22:13:42 +0000 (UTC)",
            "by mail-pg0-f68.google.com with SMTP id s2so559107pge.10\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 07 Nov 2017 14:13:42 -0800 (PST)",
            "from localhost ([108.161.26.224]) by smtp.gmail.com with ESMTPSA id\n\tm195sm4474297pga.13.2017.11.07.14.13.37\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 07 Nov 2017 14:13:38 -0800 (PST)"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=yHz8hgfvK5QobDw8MMRzA5sdCgJ7dwazTK+WL1gh9ko=;\n\tb=jpXA+PyMq0C9Ob3H6ImgDA9jtfI8k+Exmw+mDGwyVT9yKoP5sHUkF3dHMKM4azLru8\n\t9oWX7pTwG0QHgLDTGb9vQ3jsVbK6vqORCSss5vLh2wf9A+e5NK/v2Au744wHOKyOhDq+\n\tt11IqMymFm8YrBU9j8IxtT5tOnyWlfwRRhtMyVj0k/kzJFJy+yFGjAPeHCHMjKs9bFfi\n\tH7jPbZaP1SR9E3iyKoC/KPvFHFbCkx7zGaAKVaA8SASSccqzxh0FkgO2DDCYP+ActL5+\n\tap3lL/DNIKe46XfN68+051vKs9kvyGzLdxiT1JvJF12LJLyzFI1MWQqPfxrt8n//yTRb\n\t5+HQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=yHz8hgfvK5QobDw8MMRzA5sdCgJ7dwazTK+WL1gh9ko=;\n\tb=Kake6wKqot83dWVcRKd09YXQrFQZpzW49xTCrFScB+0wc64+vKPqGvIEcWQwzRBiac\n\trmj1toT/iJ8S9iPJg8/DcQViceI0e9JNcXSsypvCPagLD96q8/7JiaaNBjgaZCL5CVX3\n\t3ePTr/s6dRdwMDVZpQTGva1PDivc4+c93/BYUdLEmqVCD/69sST/2pPvQZAwxcsm4IaM\n\t3YIjmbCg9fhaOAfOcPQbaKW3dkwMJwxF3vbJ/wLMHbwZFxVpCclXvzuU5GRnbiyi3A5S\n\t+5gpFuUsyNfeOFPZqsPIgkI1dO3n7rV/yndB5KGNDYn3hcrtpkmfPONmAhZwqwEbY5GS\n\tWD0w==",
        "X-Gm-Message-State": "AJaThX6BNSU/jWX0/5PuZ8wvyJEZL4eMvpR+vb9UcrOz3E3bTooGfVSs\n\t2YozZgM8EpTbHJ3n9943GJS1MR4S",
        "X-Google-Smtp-Source": "ABhQp+SuSO1qdOixIuObbnRj9ivoddQQ6oUneakgEqPVkphHT5/P4XgjIffUXuczPH8P5ARoV0K9dQ==",
        "X-Received": "by 10.98.89.82 with SMTP id n79mr212762pfb.133.1510092821886;\n\tTue, 07 Nov 2017 14:13:41 -0800 (PST)",
        "From": "Matt Turner <mattst88@gmail.com>",
        "To": "intel-wired-lan@lists.osuosl.org",
        "Date": "Tue,  7 Nov 2017 14:13:30 -0800",
        "Message-Id": "<20171107221332.28283-1-mattst88@gmail.com>",
        "X-Mailer": "git-send-email 2.13.6",
        "MIME-Version": "1.0",
        "X-Mailman-Approved-At": "Wed, 08 Nov 2017 14:49:21 +0000",
        "Subject": "[Intel-wired-lan] [PATCH 1/3] e1000e: Set HTHRESH when PTHRESH is\n\tused",
        "X-BeenThere": "intel-wired-lan@osuosl.org",
        "X-Mailman-Version": "2.1.24",
        "Precedence": "list",
        "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.osuosl.org>",
        "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<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\t<mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>",
        "Cc": "Matt Turner <matt.turner@intel.com>",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "intel-wired-lan-bounces@osuosl.org",
        "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>"
    },
    "content": "From: Matt Turner <matt.turner@intel.com>\n\nAccording to section 12.0.3.4.13 \"Receive Descriptor Control - RXDCTL\"\nof the Intel® 82579 Gigabit Ethernet PHY Datasheet v2.1:\n\n    \"HTHRESH should be given a non zero value when ever PTHRESH is\n     used.\"\n\nIn RXDCTL(0), PTHRESH lives at bits 5:0, and HTHREST lives at bits 13:8.\nSet only bit 8 of HTHREST as is done in e1000_flush_rx_ring(). Found by\ninspection.\n\nSigned-off-by: Matt Turner <matt.turner@intel.com>\n---\n drivers/net/ethernet/intel/e1000e/netdev.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/e1000e/netdev.c b/drivers/net/ethernet/intel/e1000e/netdev.c\nindex 2dcb5463d9b8..286d0277284e 100644\n--- a/drivers/net/ethernet/intel/e1000e/netdev.c\n+++ b/drivers/net/ethernet/intel/e1000e/netdev.c\n@@ -3285,7 +3285,7 @@ static void e1000_configure_rx(struct e1000_adapter *adapter)\n \t\tif (adapter->flags & FLAG_IS_ICH) {\n \t\t\tu32 rxdctl = er32(RXDCTL(0));\n \n-\t\t\tew32(RXDCTL(0), rxdctl | 0x3);\n+\t\t\tew32(RXDCTL(0), rxdctl | 0x3 | BIT(8));\n \t\t}\n \n \t\tpm_qos_update_request(&adapter->pm_qos_req, lat);\n",
    "prefixes": [
        "1/3"
    ]
}