aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/amazon/files/drivers
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-01-17 11:23:11 +0000
committerJohn Crispin <john@openwrt.org>2012-01-17 11:23:11 +0000
commita2708d11e88d423279e3a90869c6d5e6405d3f6f (patch)
treed59e86b66fe6ea5b3add301748e8dbeaceb2a583 /target/linux/amazon/files/drivers
parent2683b5b15de6b1fce7e1e6d84694c7cc441f0e49 (diff)
downloadupstream-a2708d11e88d423279e3a90869c6d5e6405d3f6f.tar.gz
upstream-a2708d11e88d423279e3a90869c6d5e6405d3f6f.tar.bz2
upstream-a2708d11e88d423279e3a90869c6d5e6405d3f6f.zip
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
Diffstat (limited to 'target/linux/amazon/files/drivers')
0 files changed, 0 insertions, 0 deletions