get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 798397,
    "url": "http://patchwork.ozlabs.org/api/patches/798397/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20170806134918.9222-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": "<20170806134918.9222-1-sasha.neftin@intel.com>",
    "list_archive_url": null,
    "date": "2017-08-06T13:49:18",
    "name": "[v1,1/1] e1000e: fix buffer overrun while the I219 is processing DMA transactions",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "7842998c90c55a28d5a51dea65e488d8619eddce",
    "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/20170806134918.9222-1-sasha.neftin@intel.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/798397/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/798397/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>)",
        "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 3xQMTg69bRz9sDB\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  6 Aug 2017 23:49:27 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 8B47F2F291;\n\tSun,  6 Aug 2017 13: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 tKFdoZ2nKEcX; Sun,  6 Aug 2017 13:49:23 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id 9124A2F20C;\n\tSun,  6 Aug 2017 13:49:23 +0000 (UTC)",
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id B34D21C411E\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSun,  6 Aug 2017 13:49:22 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id AA56A85EB3\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSun,  6 Aug 2017 13:49:22 +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 Z4f9EsOy3Usi for <intel-wired-lan@lists.osuosl.org>;\n\tSun,  6 Aug 2017 13:49:22 +0000 (UTC)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 0A7048298F\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSun,  6 Aug 2017 13:49:21 +0000 (UTC)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t06 Aug 2017 06:49:21 -0700",
            "from hostname.iil.intel.com (HELO ccdlinuxdev01.iil.intel.com)\n\t([143.185.162.145])\n\tby fmsmga001.fm.intel.com with ESMTP; 06 Aug 2017 06:49:20 -0700"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos; i=\"5.41,332,1498546800\"; d=\"scan'208\";\n\ta=\"1179520987\"",
        "From": "Sasha Neftin <sasha.neftin@intel.com>",
        "To": "sasha.neftin@intel.com, dima.ruinskiy@intel.com, raanan.avargil@intel.com,\n\tintel-wired-lan@lists.osuosl.org",
        "Date": "Sun,  6 Aug 2017 16:49:18 +0300",
        "Message-Id": "<20170806134918.9222-1-sasha.neftin@intel.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "MIME-Version": "1.0",
        "Subject": "[Intel-wired-lan] [PATCH v1 1/1] e1000e: fix buffer overrun while\n\tthe I219 is processing DMA transactions",
        "X-BeenThere": "intel-wired-lan@osuosl.org",
        "X-Mailman-Version": "2.1.18-1",
        "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>",
        "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": "Description: Intel® 100/200 Series Chipset platforms\nreduced the round-trip latency for the LAN Controller\nDMA accesses, causing in some high performance cases a buffer\noverrun while the I219 LAN Connected Device is processing\nthe DMA transactions. I219LM and I219V devices can fall into\nunrecovered Tx hang under very stressfully UDP traffic and multiple\nreconnection of Ethernet cable. This Tx hang of the LAN Controller\nis only recovered if the system is rebooted. Slightly slow down\nDMA access by reducing the number of outstanding requests.\nThis workaround could have an impact on TCP traffic performance\non the platform. Disabling TSO eliminates performance loss for TCP\ntraffic without a noticeable impact on CPU performance.\n\nPlease, refer to I218/I219 specification update:\nhttps://www.intel.com/content/www/us/en/embedded/products/networking/\nethernet-connection-i218-family-documentation.html\n\nSigned-off-by: Sasha Neftin <sasha.neftin@intel.com>\nReviewed-by: Dima Ruinskiy <dima.ruinskiy@intel.com>\nReviewed-by: Raanan Avargil <raanan.avargil@intel.com>\n---\n drivers/net/ethernet/intel/e1000e/netdev.c | 8 +++++---\n 1 file changed, 5 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/e1000e/netdev.c b/drivers/net/ethernet/intel/e1000e/netdev.c\nindex 2dcb5463d9b8..ea20c3fc542f 100644\n--- a/drivers/net/ethernet/intel/e1000e/netdev.c\n+++ b/drivers/net/ethernet/intel/e1000e/netdev.c\n@@ -3004,8 +3004,8 @@ static void e1000_configure_tx(struct e1000_adapter *adapter)\n \n \thw->mac.ops.config_collision_dist(hw);\n \n-\t/* SPT and CNP Si errata workaround to avoid data corruption */\n-\tif (hw->mac.type >= e1000_pch_spt) {\n+\t/* SPT and KBL Si errata workaround to avoid data corruption */\n+\tif (hw->mac.type == e1000_pch_spt) {\n \t\tu32 reg_val;\n \n \t\treg_val = er32(IOSFPC);\n@@ -3013,7 +3013,9 @@ static void e1000_configure_tx(struct e1000_adapter *adapter)\n \t\tew32(IOSFPC, reg_val);\n \n \t\treg_val = er32(TARC(0));\n-\t\treg_val |= E1000_TARC0_CB_MULTIQ_3_REQ;\n+\t\t/* SPT and KBL Si errata workaround to avoid Tx hang */\n+\t\treg_val &= ~BIT(28);\n+\t\treg_val |= BIT(29);\n \t\tew32(TARC(0), reg_val);\n \t}\n }\n",
    "prefixes": [
        "v1",
        "1/1"
    ]
}