Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/462171/?format=api
{ "id": 462171, "url": "http://patchwork.ozlabs.org/api/patches/462171/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20150417182418.13628.80701.stgit@htfujina-fc.jf.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": "<20150417182418.13628.80701.stgit@htfujina-fc.jf.intel.com>", "list_archive_url": null, "date": "2015-04-17T18:24:38", "name": "[v2] igb: disable IPv6 extension header processing", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "3243807f6b5caa0bac2e3c690427215aee5f82fe", "submitter": { "id": 29211, "url": "http://patchwork.ozlabs.org/api/people/29211/?format=api", "name": "Fujinaka, Todd", "email": "todd.fujinaka@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/20150417182418.13628.80701.stgit@htfujina-fc.jf.intel.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/462171/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/462171/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<intel-wired-lan-bounces@lists.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" ], "Received": [ "from silver.osuosl.org (silver.osuosl.org [140.211.166.136])\n\tby ozlabs.org (Postfix) with ESMTP id 83CD6140142\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 18 Apr 2015 04:26:34 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 7B3A632C2E;\n\tFri, 17 Apr 2015 18:26:33 +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 ltA9yvQAMXdh; Fri, 17 Apr 2015 18:26:31 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id 2627A32C3D;\n\tFri, 17 Apr 2015 18:26:31 +0000 (UTC)", "from silver.osuosl.org (silver.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id 33FBE1C21C4\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 17 Apr 2015 18:26:30 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 2E52032BFD\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 17 Apr 2015 18:26:30 +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 6h6FNu0igZjp for <intel-wired-lan@lists.osuosl.org>;\n\tFri, 17 Apr 2015 18:26:29 +0000 (UTC)", "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby silver.osuosl.org (Postfix) with ESMTP id 84F6932C2E\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 17 Apr 2015 18:26:28 +0000 (UTC)", "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby orsmga102.jf.intel.com with ESMTP; 17 Apr 2015 11:26:29 -0700", "from htfujina-fc.jf.intel.com ([134.134.145.123])\n\tby orsmga002.jf.intel.com with ESMTP; 17 Apr 2015 11:26:27 -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.11,596,1422950400\"; d=\"scan'208\";a=\"715383949\"", "From": "Todd Fujinaka <todd.fujinaka@intel.com>", "To": "intel-wired-lan@lists.osuosl.org", "Date": "Fri, 17 Apr 2015 11:24:38 -0700", "Message-ID": "<20150417182418.13628.80701.stgit@htfujina-fc.jf.intel.com>", "User-Agent": "StGit/0.17.1-dirty", "MIME-Version": "1.0", "Subject": "[Intel-wired-lan] [PATCH v2] igb: disable IPv6 extension header\n\tprocessing", "X-BeenThere": "intel-wired-lan@lists.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.lists.osuosl.org>", "List-Unsubscribe": "<http://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=unsubscribe>", "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>", "List-Post": "<mailto:intel-wired-lan@lists.osuosl.org>", "List-Help": "<mailto:intel-wired-lan-request@lists.osuosl.org?subject=help>", "List-Subscribe": "<http://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=subscribe>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "intel-wired-lan-bounces@lists.osuosl.org", "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@lists.osuosl.org>" }, "content": "Disable IPv6 extension header processing as per hardware errata.\n\nAlso fix copyright date.\n\nSigned-off-by: Todd Fujinaka <todd.fujinaka@intel.com>\n---\n drivers/net/ethernet/intel/igb/e1000_82575.c | 12 ++++++++----\n drivers/net/ethernet/intel/igb/e1000_defines.h | 3 ++-\n 2 files changed, 10 insertions(+), 5 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/intel/igb/e1000_82575.c b/drivers/net/ethernet/intel/igb/e1000_82575.c\nindex 0f69ef8..b0182dd 100644\n--- a/drivers/net/ethernet/intel/igb/e1000_82575.c\n+++ b/drivers/net/ethernet/intel/igb/e1000_82575.c\n@@ -1,5 +1,5 @@\n /* Intel(R) Gigabit Ethernet Linux driver\n- * Copyright(c) 2007-2014 Intel Corporation.\n+ * Copyright(c) 2007-2015 Intel Corporation.\n *\n * This program is free software; you can redistribute it and/or modify it\n * under the terms and conditions of the GNU General Public License,\n@@ -1900,8 +1900,8 @@ static void igb_clear_hw_cntrs_82575(struct e1000_hw *hw)\n * igb_rx_fifo_flush_82575 - Clean rx fifo after RX enable\n * @hw: pointer to the HW structure\n *\n- * After rx enable if managability is enabled then there is likely some\n- * bad data at the start of the fifo and possibly in the DMA fifo. This\n+ * After rx enable if manageability is enabled then there is likely some\n+ * bad data at the start of the fifo and possibly in the DMA fifo. This\n * function clears the fifos and flushes any packets that came in as rx was\n * being enabled.\n **/\n@@ -1910,6 +1910,11 @@ void igb_rx_fifo_flush_82575(struct e1000_hw *hw)\n \tu32 rctl, rlpml, rxdctl[4], rfctl, temp_rctl, rx_enabled;\n \tint i, ms_wait;\n \n+\t/* disable IPv6 options as per hardware errata */\n+\trfctl = rd32(E1000_RFCTL);\n+\trfctl |= E1000_RFCTL_IPV6_EX_DIS;\n+\twr32(E1000_RFCTL, rfctl);\n+\n \tif (hw->mac.type != e1000_82575 ||\n \t !(rd32(E1000_MANC) & E1000_MANC_RCV_TCO_EN))\n \t\treturn;\n@@ -1937,7 +1942,6 @@ void igb_rx_fifo_flush_82575(struct e1000_hw *hw)\n \t * incoming packets are rejected. Set enable and wait 2ms so that\n \t * any packet that was coming in as RCTL.EN was set is flushed\n \t */\n-\trfctl = rd32(E1000_RFCTL);\n \twr32(E1000_RFCTL, rfctl & ~E1000_RFCTL_LEF);\n \n \trlpml = rd32(E1000_RLPML);\ndiff --git a/drivers/net/ethernet/intel/igb/e1000_defines.h b/drivers/net/ethernet/intel/igb/e1000_defines.h\nindex 217f813..f8684aa 100644\n--- a/drivers/net/ethernet/intel/igb/e1000_defines.h\n+++ b/drivers/net/ethernet/intel/igb/e1000_defines.h\n@@ -344,7 +344,8 @@\n #define E1000_RXCSUM_PCSD 0x00002000 /* packet checksum disabled */\n \n /* Header split receive */\n-#define E1000_RFCTL_LEF 0x00040000\n+#define E1000_RFCTL_IPV6_EX_DIS 0x00010000\n+#define E1000_RFCTL_LEF 0x00040000\n \n /* Collision related configuration parameters */\n #define E1000_COLLISION_THRESHOLD 15\n", "prefixes": [ "v2" ] }