openwrtv3/target/linux/ramips/files/drivers/net
John Crispin a2708d11e8 ramips: Rework ramips_eth to not require irqsave locking anymore
Previously the tx housekeeping was done in a spin_lock_irqsave critical
section which causes irqs to be disabled during that time. Since the
housekeeping is already prepared to be scheduled as a tasklet process
the housekeeping only in softirq context and revise the locking between
the tx path and the housekeeping tasklet by using a normal spin_lock
which in most situations will be a NOP anyway.

This makes sure that interrupts are only disabled for a short time
since in the worst case the housekeeping might have to free up to 256
skbs.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 29762
2012-01-17 11:23:11 +00:00
..
ramips.c ramips: Rework ramips_eth to not require irqsave locking anymore 2012-01-17 11:23:11 +00:00
ramips_esw.c ramips: initial support for Sitecom WL-351 v1 002 2011-12-23 14:27:16 +00:00
ramips_eth.h ramips: add mdio_cfg configuration for the ethernet driver 2010-07-15 19:45:40 +00:00