]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: don't store napi struct
authorJohannes Berg <johannes.berg@intel.com>
Thu, 11 Jun 2015 14:02:32 +0000 (16:02 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 17 Jul 2015 13:37:59 +0000 (15:37 +0200)
commit1e9c0e2e57b2fb0f2fae56ad65a675260c22dc9d
tree5a90af54ae293c49d1baa3b17f2e0d8dd1961397
parent24dfcf5e4898bcfc5def4f5773fbd27b16d6b2e5
mac80211: don't store napi struct

When introducing multiple RX queues, a single NAPI struct will not
be sufficient. Instead of trying to store multiple, simply change
the API to have the NAPI struct passed to the RX function. This of
course means that drivers using rx_irqsafe() cannot use NAPI, but
that seems a reasonable trade-off, particularly since only two of
all drivers are currently using it at all.

While at it, we can now remove the IEEE80211_RX_REORDER_TIMER flag
again since this code path cannot have a napi struct anyway.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/dvm/dev.h
drivers/net/wireless/iwlwifi/dvm/main.c
drivers/net/wireless/iwlwifi/dvm/rx.c
drivers/net/wireless/iwlwifi/mvm/mvm.h
drivers/net/wireless/iwlwifi/mvm/ops.c
drivers/net/wireless/iwlwifi/mvm/rx.c
include/net/mac80211.h
net/mac80211/ieee80211_i.h
net/mac80211/main.c
net/mac80211/rx.c