openwrt/target/linux
Felix Fietkau c44506fcbd cns3xxx: fix an rx irq handling corner case
When an rx interrupt comes in, rx interrupts are disabled and NAPI
polling is scheduled. During the NAPI poll, the driver first processes
received frames in the ring, then fills the dma descriptor slots with
new buffers and calls tx complete, before finally re-enabling rx
interrupts and completing NAPI (if below the budget).
If the hardware rx queue overflows before the napi complete is called,
the hardware will not throw any further rx interrupts and rx processing
stops completely.
Fix this by keeping NAPI polling scheduled until it completes a poll
without receiving any packets, and also handle NAPI completion before
refilling rx or completing tx.

SVN-Revision: 35942
2013-03-10 18:25:16 +00:00
..
adm5120 adm5120: remove 3.7 support 2013-03-10 13:24:46 +00:00
adm8668
amazon
ar7 ar7: migrate to common led helper functions 2013-02-18 10:37:43 +00:00
ar71xx ar71xx: correct board name to make LEDs work on RB750 2013-03-10 07:20:57 +00:00
at91
atheros atheros: remove 3.3 support 2013-03-10 13:24:42 +00:00
au1000 au1000: migrate to common led helper functions 2013-02-18 10:37:52 +00:00
avr32
brcm47xx brcm47xx: add some more partition parser fixes by Rafał Miłecki 2013-03-09 19:48:03 +00:00
brcm63xx brcm63xx: fix LED names for various boards 2013-03-04 13:42:35 +00:00
brcm2708
cns3xxx cns3xxx: fix an rx irq handling corner case 2013-03-10 18:25:16 +00:00
cns21xx cns21xx: remove 3.7 support 2013-03-04 16:08:41 +00:00
cobalt cobalt: migrate platform to common led helper functions 2013-02-18 10:37:58 +00:00
ep93xx
gemini
generic kernel: prevent -f*-sections from leaking into the boot zImage wrapper on arm 2013-03-10 17:04:36 +00:00
iop32x
ixp4xx
kirkwood
lantiq kernel: update linux 3.7 to 3.7.10 2013-03-03 13:57:40 +00:00
malta malta: remove 3.7 support 2013-03-10 13:24:44 +00:00
mcs814x
mpc52xx
mpc83xx mpc83xx: remove 3.7 support 2013-03-10 13:24:39 +00:00
mpc85xx mpc85xx: remove 3.7 support 2013-03-04 09:37:25 +00:00
mvebu kernel: update linux 3.8 to 3.8.2 2013-03-04 08:43:55 +00:00
omap4
omap24xx
orion
ppc40x ppc40x: remove __dev_{in,ex}it annotations 2013-03-10 07:20:54 +00:00
ppc44x ppc44x: remove 3.7 support 2013-03-04 15:16:37 +00:00
pxa
ramips kernel: update linux 3.7 to 3.7.10 2013-03-03 13:57:40 +00:00
rb532 rb532: remove 3.7 support 2013-03-10 13:21:40 +00:00
realview realview: remove 3.3 support 2013-03-10 18:06:31 +00:00
sibyte
sparc
uml
x86 kernel: update linux 3.7 to 3.7.10 2013-03-03 13:57:40 +00:00
xburst xburst: remove 3.3 support 2013-03-10 13:24:54 +00:00
Makefile