Thread (23 messages) flat view 23 messages, 3 authors, 2026-03-27

Re: [PATCH v2 1/5] bpf: name the enum for BPF_FUNC_skb_adjust_room flags

From: Martin KaFai Lau <martin.lau@linux.dev>
Date: 2026-03-24 17:34:37
Also in: bpf, lkml

On 3/18/26 6:42 AM, Nick Hudson wrote:
The existing anonymous enum for BPF_FUNC_skb_adjust_room flags is
named to enum bpf_adj_room_flags to enable CO-RE (Compile Once -
Run Everywhere) lookups in BPF programs.
It would be useful to demonstrate the intended CO-RE usage in a 
selftest. I suspect it is bpf_core_enum_value_exists().

There are existing tests in test_tc_tunnel.c for the earlier 
BPF_F_ADJ_ROOM_* flag additions. Please add similar tests for the new 
flags introduced in this series.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help