[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f5309f0a-b647-c759-e0c0-efdf5a1d8002@fb.com>
Date: Fri, 18 Aug 2017 17:05:10 -0700
From: Alexei Starovoitov <ast@...com>
To: Daniel Borkmann <daniel@...earbox.net>, <davem@...emloft.net>
CC: <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next 2/2] bpf: inline map in map lookup functions for
array and htab
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 <daniel@...earbox.net>
lgtm
thanks for adding this optimization.
Acked-by: Alexei Starovoitov <ast@...nel.org>
Powered by blists - more mailing lists