Re: [PATCH bpf-next v2] libbpf: clarify flags in ringbuf helpers

From: Andrii Nakryiko
Date: Tue Apr 13 2021 - 00:29:44 EST


On Mon, Apr 12, 2021 at 12:25 PM Pedro Tammela <pctammela@xxxxxxxxx> wrote:
>
> In 'bpf_ringbuf_reserve()' we require the flag to '0' at the moment.
>
> For 'bpf_ringbuf_{discard,submit,output}' a flag of '0' might send a
> notification to the process if needed.
>
> Signed-off-by: Pedro Tammela <pctammela@xxxxxxxxxxxx>
> ---

Great, thanks! Applied to bpf-next.

> include/uapi/linux/bpf.h | 16 ++++++++++++++++
> tools/include/uapi/linux/bpf.h | 16 ++++++++++++++++
> 2 files changed, 32 insertions(+)
>

[...]