+ ixgb-fix-cache-miss-due-to-miscalculation.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     ixgb: fix cache miss due to miscalculation

has been added to the -mm tree.  Its filename is

     ixgb-fix-cache-miss-due-to-miscalculation.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: ixgb: fix cache miss due to miscalculation
From: "Kok, Auke" <auke-jan.h.kok@xxxxxxxxx>

Reduce writeback threshold by 1.  We were instructing the hardware to wait
until the 17th descriptor which went over the cache line limit.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@xxxxxxxxx>
Signed-off-by: Auke Kok <auke.jan.h.kok@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/net/ixgb/ixgb_main.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff -puN drivers/net/ixgb/ixgb_main.c~ixgb-fix-cache-miss-due-to-miscalculation drivers/net/ixgb/ixgb_main.c
--- a/drivers/net/ixgb/ixgb_main.c~ixgb-fix-cache-miss-due-to-miscalculation
+++ a/drivers/net/ixgb/ixgb_main.c
@@ -140,12 +140,12 @@ module_param(debug, int, 0);
 MODULE_PARM_DESC(debug, "Debug level (0=none,...,16=all)");
 
 /* some defines for controlling descriptor fetches in h/w */
-#define RXDCTL_WTHRESH_DEFAULT 16	/* chip writes back at this many or RXT0 */
-#define RXDCTL_PTHRESH_DEFAULT 0		/* chip considers prefech below
-						 * this */
-#define RXDCTL_HTHRESH_DEFAULT 0		/* chip will only prefetch if tail
-						 * is pushed this many descriptors
-						 * from head */
+#define RXDCTL_WTHRESH_DEFAULT 15  /* chip writes back at this many or RXT0 */
+#define RXDCTL_PTHRESH_DEFAULT 0   /* chip considers prefech below
+                                    * this */
+#define RXDCTL_HTHRESH_DEFAULT 0   /* chip will only prefetch if tail
+                                    * is pushed this many descriptors
+                                    * from head */
 
 /**
  * ixgb_init_module - Driver Registration Routine
_

Patches currently in -mm which might be from auke-jan.h.kok@xxxxxxxxx are

e100-fix-mdio-mdio-x.patch
e100-increment-version-to-3510-k4.patch
e1000-same-cosmetic-fix-as-earlier-sent-out-for-ipv4.patch
e1000-remove-0x1000-as-supported-device.patch
e1000-explicitly-power-up-the-phy-during-loopback-testing.patch
e1000-explicit-locking-for-two-ethtool-path-functions.patch
e1000-allow-nvm-to-setup-lplu-for-igp2-and-igp3.patch
e1000-force-full-dma-clocking-for-10-100-speed.patch
e1000-disable-aggressive-clocking-on-esb2-with-serdes-port.patch
e1000-increment-driver-version-to-719-k6.patch
ixgb-add-cx4-phy-type-detection-and-subdevice-id.patch
ixgb-fix-cache-miss-due-to-miscalculation.patch
ixgb-increment-version-to-10109-k4.patch
ixgb-add-pci-error-recovery-callbacks.patch
e100-disable-device-on-pci-error.patch
e1000-disable-device-on-pci-error.patch
e1000_7033_dump_ring.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux