diff options
author | 2018-01-10 17:42:52 +0100 | |
---|---|---|
committer | 2018-01-15 12:39:20 +0100 | |
commit | c6509cc3b3e84b6b0a640280981d60090ad7871e (patch) | |
tree | c1e419007eafb9cdb44a25ef9c1614e465f6641b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch '10GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue (diff) | |
download | linux-dev-c6509cc3b3e84b6b0a640280981d60090ad7871e.tar.xz linux-dev-c6509cc3b3e84b6b0a640280981d60090ad7871e.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions