On 10/19/25 5:45 AM, Jakub Sitnicki wrote:
quoted hunk ↗ jump to hunk
diff --git a/tools/testing/selftests/bpf/prog_tests/xdp_context_test_run.c b/tools/testing/selftests/bpf/prog_tests/xdp_context_test_run.c
index 93a1fbe6a4fd..a3de37942fa4 100644
--- a/tools/testing/selftests/bpf/prog_tests/xdp_context_test_run.c
+++ b/tools/testing/selftests/bpf/prog_tests/xdp_context_test_run.c
@@ -171,6 +171,25 @@ static int write_test_packet(int tap_fd)
return 0;
}
+enum {
+ BPF_STDOUT = 1,
+ BPF_STDERR = 2,
There is BPF_STREAM_STDERR in uapi/bpf.h
quoted hunk ↗ jump to hunk
diff --git a/tools/testing/selftests/bpf/progs/test_xdp_meta.c b/tools/testing/selftests/bpf/progs/test_xdp_meta.c
index 11288b20f56c..33480bcb8ec1 100644
--- a/tools/testing/selftests/bpf/progs/test_xdp_meta.c
+++ b/tools/testing/selftests/bpf/progs/test_xdp_meta.c
@@ -18,6 +18,11 @@
* TC program then verifies if the passed metadata is correct.
*/
+enum {
+ BPF_STDOUT = 1,
+ BPF_STDERR = 2,
+};
+