On 8/18/17 4:51 PM, Daniel Borkmann wrote:
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 <[email protected]>
lgtm thanks for adding this optimization. Acked-by: Alexei Starovoitov <[email protected]>
