openwrtv3/target/linux/cns3xxx
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
..
base-files cns3xxx: disable CONFIG_PROC_STRIPPED and add an init script to set the ethernet cpu affinity (improves lan<->wlan bridging performance) 2013-03-10 01:01:51 +00:00
files cns3xxx: fix an rx irq handling corner case 2013-03-10 18:25:16 +00:00
image generate single images for tftp flashing as well as sysupgrade images for boards with old u-boot 2012-11-11 20:57:04 +00:00
patches-3.8 cns3xxx: add linux 3.8 support and use it by default 2013-03-09 18:51:46 +00:00
config-3.8 cns3xxx: disable CONFIG_PROC_STRIPPED and add an init script to set the ethernet cpu affinity (improves lan<->wlan bridging performance) 2013-03-10 01:01:51 +00:00
Makefile cns3xxx: add linux 3.8 support and use it by default 2013-03-09 18:51:46 +00:00