lantiq: atm: Use a tasklet to handle incoming packets. Fix #12917.
authorJohn Crispin <john@openwrt.org>
Mon, 10 Jun 2013 08:25:17 +0000 (08:25 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 10 Jun 2013 08:25:17 +0000 (08:25 +0000)
commite40f830383cdcbd222e66919db0c08623af97dbb
tree038ab2c0a0cd5dbb26619947bfbc84e52bd1c514
parent76c79f50d71f9ef08b67e85385344de9da70f53a
lantiq: atm: Use a tasklet to handle incoming packets. Fix #12917.

Incoming packets are now processes in a tasklet instead of in the
irq handler; this should improve latency.

This patch is based on a previous version of ltq-atm driver, which
did implement a tasklet.

It has been tested on a arv4518pw with a
Lantiq Danube for about a month and it seems to work well.

Signed-off-by: Luca Dariz <luca.dariz@gmail.com>
Tested-by: Luca Dariz <luca.dariz@gmail.com>
SVN-Revision: 36902
package/platform/lantiq/ltq-atm/src/ltq_atm.c