mac802154: rx: use tasklet instead workqueue
authorAlexander Aring <alex.aring@gmail.com>
Mon, 27 Oct 2014 16:13:30 +0000 (17:13 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 27 Oct 2014 17:07:40 +0000 (18:07 +0100)
commitc5c47e67bcd24638a059b1b5e9ec18c95f8634ca
treec57352e1df69afab550d8df129a0bee16b3455a7
parent61a2281458956db519f2c24fa40bf277adea2a67
mac802154: rx: use tasklet instead workqueue

Tasklets have much less overhead than workqueues. This patch also
removes the heap allocation for the worker on receiving path.
Like mac80211 we should prefer use a tasklet here instead a workqueue to
getting fast out of interrupt context when ieee802154_rx_irqsafe is
called by driver. Like wireless inside the tasklet context we should
call netif_receive_skb instead netif_rx_ni anymore.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/mac802154.h
net/mac802154/ieee802154_i.h
net/mac802154/iface.c
net/mac802154/main.c
net/mac802154/rx.c
This page took 0.030995 seconds and 5 git commands to generate.