Re: [RFC PATCH bpf-next v2 0/6] bpf: add BPF_MAP_DUMP command to

2019-06-28 Thread Brian Vazquez
> was it with kpti and retpoline mitigations? No, it wasn't. Will get back with new numbers.

Re: [RFC PATCH bpf-next v2 0/6] bpf: add BPF_MAP_DUMP command to

2019-06-27 Thread Alexei Starovoitov
On Thu, Jun 27, 2019 at 01:24:11PM -0700, Brian Vazquez wrote: > This introduces a new command to retrieve a variable number of entries > from a bpf map. > > This new command can be executed from the existing BPF syscall as > follows: > > err = bpf(BPF_MAP_DUMP, union bpf_attr *attr, u32 size) >

[RFC PATCH bpf-next v2 0/6] bpf: add BPF_MAP_DUMP command to

2019-06-27 Thread Brian Vazquez
This introduces a new command to retrieve a variable number of entries from a bpf map. This new command can be executed from the existing BPF syscall as follows: err = bpf(BPF_MAP_DUMP, union bpf_attr *attr, u32 size) using attr->dump.map_fd, attr->dump.prev_key, attr->dump.buf, attr->dump.buf_l