]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[NETPOLL]: Fix TX queue overflow in trapped mode.
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Tue, 22 May 2007 22:41:22 +0000 (00:41 +0200)
committerAdrian Bunk <bunk@stusta.de>
Tue, 22 May 2007 22:41:22 +0000 (00:41 +0200)
commiteb9c87a4768bd759c80026e41fa5540ee110131e
tree767ac5fa31a7608381659fdb64b5877c771fb699
parent57b0c610b81c58e77299c7a0d96048a593183a98
[NETPOLL]: Fix TX queue overflow in trapped mode.

CONFIG_NETPOLL_TRAP causes the TX queue controls to be completely bypassed in
the netpoll's "trapped" mode which easily causes overflows in the drivers with
short TX queues (most notably, in 8139too with its 4-deep queue).  So, make
this option more sensible by making it only bypass the TX softirq wakeup.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Acked-by: Jeff Garzik <jgarzik@pobox.com>
Acked-by: Tom Rini <trini@kernel.crashing.org>
Acked-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
include/linux/netdevice.h