linux/drivers/net/ethernet
Matt Carlson db21997379 tg3: Schedule at most one tg3_reset_task run
It is possible for multiple threads in the tg3 driver to each attempt to
schedule a run of tg3_reset_task().  The multiple tg3_reset_task
executions could all wind up on the same queue (and execute serially) or
wind up on the queues of another processor (which could execute in
parallel).  Either scenario is not what was truly desired.

This patch adds a new flag, TG3_FLAG_RESET_TASK_PENDING, and uses it to
determine whether or not to schedule another run of tg3_reset_task().
With the new flag comes two new functions to facilitate scheduling and
descheduling of tg3_reset_task().

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-11-04 17:31:48 -04:00
..
3com
8390
adaptec
adi
aeroflex
alteon
amd Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2011-11-03 13:28:14 -07:00
apple net/ethernet: Move mac89x0.c from apple to cirrus 2011-11-01 19:30:38 -04:00
atheros
broadcom tg3: Schedule at most one tg3_reset_task run 2011-11-04 17:31:48 -04:00
brocade
cadence Merge branch 'gpio' of http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm 2011-10-27 08:39:10 +02:00
chelsio
cirrus net/ethernet: Move mac89x0.c from apple to cirrus 2011-11-01 19:30:38 -04:00
cisco
davicom
dec
dlink
emulex be2net: Add detect UE feature for Lancer 2011-11-03 21:59:40 -04:00
faraday
freescale
fujitsu
hp
i825xx drivers/net/ethernet/i825xx/3c505.c: fix build with dynamic debug 2011-11-01 00:53:33 -04:00
ibm ehea: fix skb_frag_size typo 2011-10-25 16:20:43 +02:00
icplus
intel ixgbevf: Update release version 2011-11-02 16:56:02 -07:00
marvell
mellanox Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband 2011-11-01 10:51:38 -07:00
micrel
microchip
myricom
natsemi
neterion
nuvoton
nvidia
octeon
oki-semi
packetengines
pasemi
qlogic qlcnic: fix beacon and LED test. 2011-10-30 03:09:41 -04:00
racal
rdc
realtek net/ethernet: sc92031 is not Realtek 2011-11-01 19:30:38 -04:00
renesas
seeq
sfc Merge branch 'next-rebase' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci 2011-10-28 14:20:44 -07:00
sgi
silan net/ethernet: sc92031 is not Realtek 2011-11-01 19:30:38 -04:00
sis
smsc
stmicro stmmac: update normal descriptor structure (v2) 2011-10-27 23:17:12 -04:00
sun
tehuti
ti
tile
toshiba
tundra
via
xilinx net: fix typo in drivers/net/ethernet/xilinx/ll_temac_main.c 2011-11-02 01:49:44 -04:00
xircom
xscale
dnet.c
dnet.h
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig net/ethernet: sc92031 is not Realtek 2011-11-01 19:30:38 -04:00
korina.c
lantiq_etop.c
Makefile net/ethernet: sc92031 is not Realtek 2011-11-01 19:30:38 -04:00
mipsnet.c
netx-eth.c
s6gmac.c