diff options
| author | Daniel Borkmann <daniel@iogearbox.net> | 2017-08-19 03:12:46 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-08-19 21:56:34 -0700 |
| commit | 7b0c2a0508b90fce79d3782b2e55d0e8bf6a283e (patch) | |
| tree | 859903eeb8d19cdfeb44fac4c72e594058534a56 /scripts/objdiff | |
| parent | 89c63074c2bc25874e4e72406ff15a9a8e3df750 (diff) | |
| download | cachepc-linux-7b0c2a0508b90fce79d3782b2e55d0e8bf6a283e.tar.gz cachepc-linux-7b0c2a0508b90fce79d3782b2e55d0e8bf6a283e.zip | |
bpf: inline map in map lookup functions for array and htab
Avoid two successive functions calls for the map in map lookup, first
is the bpf_map_lookup_elem() helper call, and second the callback via
map->ops->map_lookup_elem() to get to the map in map implementation.
Implementation inlines array and htab flavor for map in map lookups.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
