Thread (1 message) 1 message, 1 author, 2025-10-23

Re: [PATCH bpf-next v2 10/15] selftests/bpf: Dump skb metadata on verification failure

From: Jakub Sitnicki <jakub@cloudflare.com>
Date: 2025-10-23 10:38:15
Also in: bpf

On Wed, Oct 22, 2025 at 04:30 PM -07, Martin KaFai Lau wrote:
On 10/19/25 5:45 AM, Jakub Sitnicki wrote:
quoted
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
How did I miss that? Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help