linux/drivers
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
..
accessibility
acpi
amba
ata
atm
auxdisplay
base
block cciss: Ignore stale commands after reboot 2009-07-03 21:06:45 +02:00
bluetooth
cdrom
char Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
clocksource
connector
cpufreq
cpuidle
crypto
dca
dio
dma
edac edac: add DDR3 memory type for MPC85xx EDAC 2009-06-30 18:55:59 -07:00
eisa
firewire
firmware
gpio Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
gpu
hid
hwmon
i2c
ide ide: memory overrun in ide_get_identity_ioctl() on big endian machines using ioctl HDIO_OBSOLETE_IDENTITY 2009-06-29 19:31:41 -07:00
idle
ieee1394
ieee802154 net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
infiniband
input Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
isdn net: convert remaining non-symbolic return values in ndo_start_xmit() functions 2009-07-05 19:23:38 -07:00
leds Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
lguest eventfd: revised interface and cleanups 2009-06-30 18:55:58 -07:00
macintosh
mca
md Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block 2009-07-01 10:41:09 -07:00
media net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
memstick
message net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
mfd mfd: fix pcap adc locking 2009-07-03 11:54:57 +02:00
misc net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
mmc spi: add spi_master flag word 2009-06-30 18:56:00 -07:00
mtd
net e1000: fix flow control thresholds 2009-07-06 18:07:52 -07:00
nubus
of
oprofile
parisc parisc: superio: fix build breakage 2009-07-03 03:34:12 +00:00
parport parport/serial: add support for NetMos 9901 Multi-IO card 2009-06-30 18:55:59 -07:00
pci Merge git://git.infradead.org/iommu-2.6 2009-07-02 16:51:09 -07:00
pcmcia Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
platform eeepc-laptop: Fix build failure with HOTPLUG_PCI && !SYSFS 2009-06-29 09:40:38 -07:00
pnp
power
pps
ps3
rapidio
regulator
rtc Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
s390 net: convert remaining non-symbolic return values in ndo_start_xmit() functions 2009-07-05 19:23:38 -07:00
sbus
scsi Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes 2009-07-04 09:46:01 -07:00
serial Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
sh
sn
spi spi: bitbang bugfix in message setup 2009-06-30 18:56:00 -07:00
ssb MIPS: BC47xx: Fix SSB irq setup 2009-07-03 15:45:27 +01:00
staging net: convert remaining non-symbolic return values in ndo_start_xmit() functions 2009-07-05 19:23:38 -07:00
tc
telephony
thermal
uio
usb net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
uwb
video video: sm501fb: Early initialization of mm_lock mutex. 2009-07-04 10:39:06 -07:00
virtio
vlynq
w1
watchdog
xen
zorro
Kconfig
Makefile