linux/drivers/net/e1000
Jesse Brandeburg b7cb8c2c82 e1000: fix flow control thresholds
when testing the jumbo frames with pages patch, the stats would
show rx_missed errors (dropped packets) even when connected to a
link partner with flow control enabled.

this indicates that for this MTU (9000) the flow control
thresholds are not adjusting correctly.

In fact, before this change, the FCRTH (xoff threshold) is 36864
when the fifo size is only 40000, with 9000 byte MTU.

fix it so that we at least have room for one frame after we send
the xoff.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-07-06 18:07:52 -07:00
..
e1000.h e1000: implement jumbo receive with partial descriptors 2009-07-06 18:07:51 -07:00
e1000_ethtool.c e1000: allow ethtool coalesece to adjust interrupts per second 2009-07-06 18:07:47 -07:00
e1000_hw.c e1000: fix flow control thresholds 2009-07-06 18:07:52 -07:00
e1000_hw.h e1000: fix flow control thresholds 2009-07-06 18:07:52 -07:00
e1000_main.c e1000: fix flow control thresholds 2009-07-06 18:07:52 -07:00
e1000_osdep.h e1000: Remove spaces after casts and function names 2008-07-22 19:38:52 -04:00
e1000_param.c e1000: fix stack size 2008-08-27 13:56:27 -07:00
Makefile