Messages in this thread | | | Subject | Re: [PATCH bpf-next v5] libbpf: Expose API to consume one ring at a time | From | Hou Tao <> | Date | Fri, 28 Jul 2023 18:51:25 +0800 |
| |
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@wowsignal.io>
Acked-by: Hou Tao <houtao1@huawei.com>
| |