diff options
author | Felix Fietkau <nbd@nbd.name> | 2020-07-26 13:06:11 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2020-07-31 09:27:01 +0200 |
commit | c5d1686b314ea44c5f210990dee05caf98cb068f (patch) | |
tree | de492c17e1ea677642f89b4f79f6153e17bf7b92 /net/mac80211/ieee80211_i.h | |
parent | mac80211: parse radiotap header when selecting Tx queue (diff) | |
download | linux-c5d1686b314ea44c5f210990dee05caf98cb068f.tar.xz linux-c5d1686b314ea44c5f210990dee05caf98cb068f.zip |
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>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 1760ce77d89f..0b1eaec6649f 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -217,7 +217,7 @@ enum ieee80211_rx_flags { }; struct ieee80211_rx_data { - struct napi_struct *napi; + struct list_head *list; struct sk_buff *skb; struct ieee80211_local *local; struct ieee80211_sub_if_data *sdata; |