Re: [PATCH bpf-next v5] libbpf: Expose API to consume one ring at a time

From: Adam Sindelar
Date: Wed Aug 16 2023 - 03:23:21 EST


On Fri, Jul 28, 2023 at 06:51:25PM +0800, Hou Tao wrote:
>
Hi, sorry for potentially dumb question, but should I do anything else
after someone acks it? This is a minor patch for a userland component,
but it's really helpful IMO - is anything preventing this getting merged
at this point?

Thanks,
Adam

> On 7/28/2023 5:33 PM, Adam Sindelar wrote:
> > We already provide ring_buffer__epoll_fd to enable use of external
> > polling systems. However, the only API available to consume the ring
> > buffer is ring_buffer__consume, which always checks all rings. When
> > polling for many events, this can be wasteful.
> >
> > Signed-off-by: Adam Sindelar <adam@xxxxxxxxxxxx>
>
> Acked-by: Hou Tao <houtao1@xxxxxxxxxx>
>