openwrtv4/target
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
..
imagebuilder imagebuilder: use file_copy to deploy files/ in the image generation phase 2012-12-02 12:20:43 +00:00
linux cns3xxx: fix an rx irq handling corner case 2013-03-10 18:25:16 +00:00
sdk Fix feeds.conf.default when no SVN info present 2012-11-01 07:15:49 +00:00
toolchain add preliminary support for musl 2012-11-23 20:02:29 +00:00
Config.in kernel: remove references to TARGET_ubicom32 2012-11-30 10:53:51 +00:00
Makefile target: do not make target/*/install depend on target/*/compile - removes one redundant kernel build dir call on target/install 2012-06-06 17:24:05 +00:00