]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: correct flow control thresholds
authorBruce Allan <bruce.w.allan@intel.com>
Tue, 2 Jun 2009 11:28:39 +0000 (11:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Jun 2009 09:46:33 +0000 (02:46 -0700)
commit790b3d96bfb6e91cde71876a23ada98b1d62e7bd
treeaa95f81379ccc614232fdf127e9706b5d61cc7a8
parent4d8fb5bcb4184ab952be76206c0f0c166e2d6e6e
e1000e: correct flow control thresholds

The flow control thresholds, i.e. high and low watermarks of the Rx
FIFO for when the hardware should transmit PAUSE frames (XON and XOFF,
respectively), need to be tuned for more efficient use of the FIFO.
The logic to set the thresholds for parts that support early-receive
(ERT) was also wrong in that it should check whether jumbo frames are
in use.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/defines.h
drivers/net/e1000e/netdev.c