[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c62611b7-9322-4efe-6b44-cb4087617e29@solarflare.com>
Date: Fri, 16 Aug 2019 19:13:06 +0100
From: Edward Cree <ecree@...arflare.com>
To: Quentin Monnet <quentin.monnet@...ronome.com>,
Alexei Starovoitov <alexei.starovoitov@...il.com>
CC: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>, <bpf@...r.kernel.org>,
<netdev@...r.kernel.org>, <oss-drivers@...ronome.com>
Subject: Re: [RFC bpf-next 0/3] tools: bpftool: add subcommand to count map
entries
On 15/08/2019 15:15, Quentin Monnet wrote:
> So if I understand correctly, we would use the bpf() syscall to trigger
> a run of such program on all map entries (for map implementing the new
> operation), and the context would include pointers to the key and the
> value for the entry being processed so we can count/sum/compute an
> average of the values or any other kind of processing?
Yep, that's pretty much exactly what I had in mind.
-Ed
Powered by blists - more mailing lists