Revision 477206a018f902895bfcd069dd820bfe94c187b1 authored by Julien Ducourthial on 08 May 2012, 22:00:06 UTC, committed by David S. Miller on 08 May 2012, 23:34:10 UTC
The r8169 may get stuck or show bad behaviour after activating TSO :
the net_device is not stopped when it has no more TX descriptors.
This problem comes from TX_BUFS_AVAIL which may reach -1 when all
transmit descriptors are in use. The patch simply tries to keep positive
values.

Tested with 8111d(onboard) on a D510MO, and with 8111e(onboard) on a
Zotac 890GXITX.

Signed-off-by: Julien Ducourthial <jducourt@free.fr>
Acked-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent c5baa80
History
File Mode Size
Kconfig -rw-r--r-- 45.9 KB
Makefile -rw-r--r-- 1.0 KB
calibrate.c -rw-r--r-- 8.3 KB
do_mounts.c -rw-r--r-- 12.6 KB
do_mounts.h -rw-r--r-- 1.4 KB
do_mounts_initrd.c -rw-r--r-- 3.1 KB
do_mounts_md.c -rw-r--r-- 7.9 KB
do_mounts_rd.c -rw-r--r-- 8.2 KB
initramfs.c -rw-r--r-- 12.6 KB
main.c -rw-r--r-- 21.4 KB
noinitramfs.c -rw-r--r-- 1.5 KB
version.c -rw-r--r-- 1.1 KB

back to top