diff options
author | Benjamin Beichler <benjamin.beichler@uni-rostock.de> | 2018-01-10 17:42:52 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-01-15 12:39:20 +0100 |
commit | c6509cc3b3e84b6b0a640280981d60090ad7871e (patch) | |
tree | c1e419007eafb9cdb44a25ef9c1614e465f6641b /Documentation/trace/postprocess/decode_msr.py | |
parent | 564737f981fb4b4b3266901508bb9b90d9d43de8 (diff) |
mac80211_hwsim: add hashtable with mac address keys for faster lookup
This patch adds a rhastable for mac address lookup of hwsim radios. This
especially improve the speed on reception of a netlink message with a new
frame. Although redundant, we keep holding a normal list for all radios,
since the rhashtable_walk interface adds a lot of overhead for iterating
over all radios and the doc of rhashtable recommend a redundant structure
for stable walks in such situations.
Since rhashtable is rcu protected we do not need a lock for delivering
frames and thus improving this scenario.
Signed-off-by: Benjamin Beichler <benjamin.beichler@uni-rostock.de>
[remove hash function, it would cause alignment issues]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'Documentation/trace/postprocess/decode_msr.py')
0 files changed, 0 insertions, 0 deletions