Re: [PATCH bpf-next v3 4/7] bpf: add queue and stack maps

2018-10-18 Thread Song Liu
On Thu, Oct 18, 2018 at 6:16 AM Mauricio Vasquez B wrote: > > Queue/stack maps implement a FIFO/LIFO data storage for ebpf programs. > These maps support peek, pop and push operations that are exposed to eBPF > programs through the new bpf_map[peek/pop/push] helpers. Those operations > are expose

[PATCH bpf-next v3 4/7] bpf: add queue and stack maps

2018-10-18 Thread Mauricio Vasquez B
Queue/stack maps implement a FIFO/LIFO data storage for ebpf programs. These maps support peek, pop and push operations that are exposed to eBPF programs through the new bpf_map[peek/pop/push] helpers. Those operations are exposed to userspace applications through the already existing syscalls in