svn commit: r236729 - head/sys/dev/ixgbe

Maksim Yevmenkin emax at FreeBSD.org
Thu Jun 7 22:57:27 UTC 2012


Author: emax
Date: Thu Jun  7 22:57:26 2012
New Revision: 236729
URL: http://svn.freebsd.org/changeset/base/236729

Log:
  Correct typo(?) and actually set PTHRESH to 32 and not 16 as per Intel
  Linux driver 3.8.21.
  
  MFC after:	1 week

Modified:
  head/sys/dev/ixgbe/ixgbe.c

Modified: head/sys/dev/ixgbe/ixgbe.c
==============================================================================
--- head/sys/dev/ixgbe/ixgbe.c	Thu Jun  7 22:49:50 2012	(r236728)
+++ head/sys/dev/ixgbe/ixgbe.c	Thu Jun  7 22:57:26 2012	(r236729)
@@ -1152,7 +1152,7 @@ ixgbe_init_locked(struct adapter *adapte
 		 * from the Intel linux driver 3.8.21.
 		 * Prefetching enables tx line rate even with 1 queue.
 		 */
-		txdctl |= (16 << 0) | (1 << 8);
+		txdctl |= (32 << 0) | (1 << 8);
 		IXGBE_WRITE_REG(hw, IXGBE_TXDCTL(i), txdctl);
 	}
 


More information about the svn-src-all mailing list