svn commit: r236729 - head/sys/dev/ixgbe
Jack Vogel
jfvogel at gmail.com
Fri Jun 8 00:36:02 UTC 2012
Just because the Linux driver does something does not mean that FreeBSD
should,
this may be OK, but it isn't something automatic, and with a thing like
this you should
at least have asked me first... please next time?
Jack
On Thu, Jun 7, 2012 at 3:57 PM, Maksim Yevmenkin <emax at freebsd.org> wrote:
> 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