openwrtv3/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 create Linksys WRTU54G-TM profile 2012-12-07 18:02:31 +00:00
amazon remove common symbols from 3.3 configs 2012-11-29 15:21:35 +00:00
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 target: enable XZ BCJ decompressor code after r35097 2013-01-14 16:34:25 +00:00
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 remove common symbols from 3.3 configs 2012-11-29 15:21:35 +00:00
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 target: enable XZ BCJ decompressor code after r35097 2013-01-14 16:34:25 +00:00
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 target: enable XZ BCJ decompressor code after r35097 2013-01-14 16:34:25 +00:00
gemini target: enable XZ BCJ decompressor code after r35097 2013-01-14 16:34:25 +00:00
generic kernel: prevent -f*-sections from leaking into the boot zImage wrapper on arm 2013-03-10 17:04:36 +00:00
iop32x target: enable XZ BCJ decompressor code after r35097 2013-01-14 16:34:25 +00:00
ixp4xx target: enable XZ BCJ decompressor code after r35097 2013-01-14 16:34:25 +00:00
kirkwood all targets: use numerically prefixed uci-defaults file names to better control order of execution 2013-01-18 12:42:53 +00:00
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 all targets: use numerically prefixed uci-defaults file names to better control order of execution 2013-01-18 12:42:53 +00:00
mpc52xx target: enable XZ BCJ decompressor code after r35097 2013-01-14 16:34:25 +00:00
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 target: enable XZ BCJ decompressor code after r35097 2013-01-14 16:34:25 +00:00
omap24xx remove common symbols from 3.3 configs 2012-11-29 15:21:35 +00:00
orion all targets: use numerically prefixed uci-defaults file names to better control order of execution 2013-01-18 12:42:53 +00:00
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 target: enable XZ BCJ decompressor code after r35097 2013-01-14 16:34:25 +00:00
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 remove common symbols from 3.3 configs 2012-11-29 15:21:35 +00:00
sparc kernel: update linux 3.6 to 3.6.11 2012-12-18 14:41:16 +00:00
uml kernel: update linux 3.6 to 3.6.11 2012-12-18 14:41:16 +00:00
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