[PATCH] NETPOLL: Fix TX queue overflow in trapped mode.
commit53d2e06b1f050ac6e025deeb70ab9bc0225951d3
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Wed, 9 May 2007 08:27:55 +0000 (9 01:27 -0700)
committerChris Wright <chrisw@sous-sol.org>
Wed, 23 May 2007 21:32:47 +0000 (23 14:32 -0700)
treec323a4eb8533356018b320598da10af0d9bb03c0
parent6d781b053eb8f43d5febabe543564b8c52620086
[PATCH] 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: Chris Wright <chrisw@sous-sol.org>
include/linux/netdevice.h