Re: [PATCH bpf-next] bpf: add 'BPF_RB_MAY_WAKEUP' flag

From
Song Liu <hidden>
Date
2021-03-29 16:06:17
Also in
bpf, lkml, netdev
Reply to
Pedro Tammela, 2021-03-28
On Mar 28, 2021, at 9:10 AM, Pedro Tammela [off-list ref] wrote:

The current way to provide a no-op flag to 'bpf_ringbuf_submit()',
'bpf_ringbuf_discard()' and 'bpf_ringbuf_output()' is to provide a '0'
value.

A '0' value might notify the consumer if it already caught up in processing,
so let's provide a more descriptive notation for this value.

Signed-off-by: Pedro Tammela <redacted>
Acked-by: Song Liu <redacted>
Thread (13 messages) 13 messages, 3 authors, last reply 2021-04-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help