summaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2020-07-26 13:06:11 +0200
committerJohannes Berg <johannes.berg@intel.com>2020-07-31 09:27:01 +0200
commitc5d1686b314ea44c5f210990dee05caf98cb068f (patch)
treede492c17e1ea677642f89b4f79f6153e17bf7b92 /net/mac80211/ieee80211_i.h
parentmac80211: parse radiotap header when selecting Tx queue (diff)
downloadlinux-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.h2
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;