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>
This commit is contained in:

committed by
Marcel Holtmann

parent
61a2281458
commit
c5c47e67bc
@@ -202,6 +202,7 @@ void ieee802154_free_hw(struct ieee802154_hw *hw);
|
||||
int ieee802154_register_hw(struct ieee802154_hw *hw);
|
||||
void ieee802154_unregister_hw(struct ieee802154_hw *hw);
|
||||
|
||||
void ieee802154_rx(struct ieee802154_hw *hw, struct sk_buff *skb);
|
||||
void ieee802154_rx_irqsafe(struct ieee802154_hw *hw, struct sk_buff *skb,
|
||||
u8 lqi);
|
||||
|
||||
|
Reference in New Issue
Block a user