diff options
author | Jakub Kicinski <[email protected]> | 2017-12-27 18:39:03 -0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2017-12-31 16:12:22 +0100 |
commit | e0d3974ac77b0d581b92affe5851fc40ad2f42a4 (patch) | |
tree | ce33ba273117c2a945de08734867f60aa75a7c58 /tools/perf/scripts/python/stackcollapse.py | |
parent | fb982666e380c1632a74495b68b3c33a66e76430 (diff) |
bpf: offload: don't require rtnl for dev list manipulation
We don't need the RTNL lock for all operations on offload state.
We only need to hold it around ndo calls. The device offload
initialization doesn't require it. The soon-to-come querying
of the offload info will only need it partially. We will also
be able to remove the waitqueue in following patches.
Use struct rw_semaphore because map offload will require sleeping
with the semaphore held for read.
Suggested-by: Kirill Tkhai <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Quentin Monnet <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions