1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-01-23 04:21:05 +02:00
blogic 03810204dc 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-17 11:23:11 +00:00
..
2011-12-09 07:52:10 +00:00
2011-11-07 21:13:13 +00:00
2011-07-02 07:26:04 +00:00
2011-04-03 13:59:07 +00:00
2011-04-03 13:59:07 +00:00
2011-07-06 13:03:38 +00:00
2012-01-13 14:38:28 +00:00
2012-01-13 14:10:44 +00:00
2012-01-13 14:10:44 +00:00
2012-01-13 14:10:44 +00:00
2012-01-13 14:10:44 +00:00
2012-01-13 14:10:44 +00:00
2010-08-06 21:36:35 +00:00