mac80211: add a function for running rx without passing skbs to the stack
authorFelix Fietkau <nbd@nbd.name>
Sun, 26 Jul 2020 11:06:11 +0000 (13:06 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 31 Jul 2020 07:27:01 +0000 (09:27 +0200)
commitc5d1686b314ea44c5f210990dee05caf98cb068f
treede492c17e1ea677642f89b4f79f6153e17bf7b92
parentcb17ed29a7a5fea8c9bf70e8a05757d71650e025
mac80211: add a function for running rx without passing skbs to the stack

This can be used to run mac80211 rx processing on a batch of frames in NAPI
poll before passing them to the network stack in a large batch.
This can improve icache footprint, or it can be used to pass frames via
netif_receive_skb_list.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20200726110611.46886-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/ieee80211_i.h
net/mac80211/rx.c