Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jun 2012 22:57:26 +0000 (UTC)
From:      Maksim Yevmenkin <emax@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r236729 - head/sys/dev/ixgbe
Message-ID:  <201206072257.q57MvQXI016696@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 	}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206072257.q57MvQXI016696>