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
File | Mode | Size |
---|---|---|
.gitignore | -rw-r--r-- | 14 bytes |
IRQ-redir.txt | -rw-r--r-- | 2.5 KB |
Makefile | -rw-r--r-- | 218 bytes |
README | -rw-r--r-- | 1.2 KB |
aliasing-test.c | -rw-r--r-- | 6.0 KB |
aliasing.txt | -rw-r--r-- | 8.5 KB |
efirtc.txt | -rw-r--r-- | 4.3 KB |
err_inject.txt | -rw-r--r-- | 25.2 KB |
fsys.txt | -rw-r--r-- | 11.8 KB |
kvm.txt | -rw-r--r-- | 3.0 KB |
mca.txt | -rw-r--r-- | 8.8 KB |
paravirt_ops.txt | -rw-r--r-- | 6.2 KB |
serial.txt | -rw-r--r-- | 6.3 KB |
xen.txt | -rw-r--r-- | 5.5 KB |
Computing file changes ...