[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7c792532-4474-b523-08f9-f82fb57f1b09@huaweicloud.com>
Date: Fri, 28 Jul 2023 18:51:25 +0800
From: Hou Tao <houtao@...weicloud.com>
To: Adam Sindelar <adam@...signal.io>, bpf@...r.kernel.org
Cc: Adam Sindelar <ats@...com>, David Vernet <void@...ifault.com>,
Brendan Jackman <jackmanb@...gle.com>,
KP Singh <kpsingh@...omium.org>, linux-kernel@...r.kernel.org,
Alexei Starovoitov <ast@...nel.org>,
Florent Revest <revest@...omium.org>
Subject: Re: [PATCH bpf-next v5] libbpf: Expose API to consume one ring at a
time
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@...signal.io>
Acked-by: Hou Tao <houtao1@...wei.com>
Powered by blists - more mailing lists