From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5EBA770810 for ; Thu, 23 Oct 2025 10:38:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761215897; cv=none; b=RthKuqhvpXE3s9SMK1BVbJaxnKhQBM5K3D5z0ip9/UDlO8qAQl4+shYQKQhSlclrEFf71xfu8ntoNV24gV7rg0AzluT4ulg7TrDQQO5AbNqh+9XtwNLKGFZcad97YnlPyXvYHG7P2YF805xG/cWdUHk2iyFQ6ac3LvsvSFOz9g0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761215897; c=relaxed/simple; bh=ccdCev9OwccTpNYLoGiC1pNhqFL2qTVhyY6JIskzqAw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=jl2sHKCDJZuGMdOYzY6iLNWr8jC1OYm2JgAyW/t1pbSKINAHNLPgcNDun8HcCj5DaInp15MpODQQLPjDfefPMDzpkbLTyUX68y0pzzvQdp8jzSlEQncXTJncH3LIYGnnMfSkjlGTdZ8YN35GF9mrhmn140WDdJ1xqejAYE+p1Bw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=cloudflare.com; spf=pass smtp.mailfrom=cloudflare.com; dkim=pass (2048-bit key) header.d=cloudflare.com header.i=@cloudflare.com header.b=VuJOZN5I; arc=none smtp.client-ip=209.85.218.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=cloudflare.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cloudflare.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cloudflare.com header.i=@cloudflare.com header.b="VuJOZN5I" Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-b463f986f80so154227366b.2 for ; Thu, 23 Oct 2025 03:38:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudflare.com; s=google09082023; t=1761215894; x=1761820694; darn=vger.kernel.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=RylQUWzAmqfhDIejJ1iRcquHT8WCtD5O6366ofaSbxs=; b=VuJOZN5Iqy7V1ApYMPTPpbzykCFm0DZRWV02blFa7kcPYlfnwnJPvTMpRNRXXp7aI0 xxi1mxaFD/MEDA8VdOJ8nyN8HoxLklqI7RI9ReyjXnfv/cxfWQ6liw2KBNmJx6JvJPLI 9XxoEcRF4aeSl2L/zPmaz5edN1pHrjwPnjBaGqz9Pm2FUVxCtXe4uUxmc6sMfJuaRUlF YrybBkyf/1QbxRhxiXIa9SBVgDstp9XWTQk09yN6n0FQn9AQz2LCt/m6j5Tnr/zIVym4 GS3lt3grZPdOCL4OBa2CwHeHEbnsMP/8TiS1kZA4Mk5LlKQajopttUfy2iiNooml1CCP /Ptg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761215894; x=1761820694; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=RylQUWzAmqfhDIejJ1iRcquHT8WCtD5O6366ofaSbxs=; b=A6tusFIP+eu5dC4/LmY9cCnYbqIGfyxB3E7TqJMOKAOaLeMebFkWVjDPKAqtyuezi1 krkE+z1s/tHSv/t/Xbh6BOMuyPdGwfannXUGs6safppWAFT/kcJLQNiVrtpAaA2DfrEd DocdNQn8zN/K01jQZcPvVD+ZRqzy7HC8c+RhYbVX5bpGV9WDgJber1bjdCh19H80MCBx Iyjybyvnb/5tRXB0hR03hk9XVjbfgEyuIiFvr3HEQZFBXJ+w67QWlBQe6IKcIiAj4fMa XZyhPEPh6j0dWlq2LmsvOjfJUw1AqobrQakFK5ZCwgEaph0bMqeqhGKowJQ4rTW60oEP mXHg== X-Forwarded-Encrypted: i=1; AJvYcCXDl20EQKSpcjixSrqps7/9S+knvMC06FERWYeDccSZnPEsdbvkBIc1ihyQUBw9wB0kqjM028E=@vger.kernel.org X-Gm-Message-State: AOJu0YxBp8o0I4PeQsfvJy+BBbQEBXkPKSbkZ/B2Y8SjKplxDEeBN0sG ra+s1jmkxGGVQ0gubKLOMnbT4WFA7lyOjWVOFbQ51DwQ5bwSzxcEYg2uAjEwyUXO/AM= X-Gm-Gg: ASbGnct2CGLczXvFo1Rq2GiffSxf6sv1CAz/TpxtMoy6KxLehDyNMAO6fTH857H3u7/ TPAFjKTyCzPPg1FeYYsz41pfFra9ndX6kjzDOz5hn8NsWAfAfUIDmtLSwCU0ID9RhxazZfWNmRg PQLDIxMH4dYic2o3BuYBrsQ50QFfTtfKB5vS41aNB9iXikLX7QehHlkpLkZXF2Nd6PDuMPtX23F 7ZCV3sE+lSUFAyLQf43iSBjIFnz7uC4zsP4giui0JL8ZDvvKutYTHdRjKTUmwn01XrSQ7sNCYua g/ualIToNg+T/KX69L3wCYMnDctt+32HMU6L+NOB0Q65pRJfA+2V/e+02XafY6Xi9mikEGA8xAA Wo1JDkYt9SDqsKcuEp0CxiJ4dvr+9ht65pSkDKdBOgSc7VCoFupMvDNgU1Gb0kfrMSbZF X-Google-Smtp-Source: AGHT+IF428fk5zCyubVuxvZcr7q4Ofz9JQRJVsHMbH8NbdatQl5oxi0RuwvpRKUYA6Xr+4lyQ7bfjA== X-Received: by 2002:a17:907:7204:b0:b6d:505e:3d99 with SMTP id a640c23a62f3a-b6d51aefb81mr220073366b.12.1761215893431; Thu, 23 Oct 2025 03:38:13 -0700 (PDT) Received: from cloudflare.com ([2a09:bac5:5063:2387::38a:7f]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b6d511f7027sm191761066b.25.2025.10.23.03.38.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Oct 2025 03:38:13 -0700 (PDT) From: Jakub Sitnicki To: Martin KaFai Lau Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Daniel Borkmann , John Fastabend , Stanislav Fomichev , Alexei Starovoitov , Andrii Nakryiko , Eduard Zingerman , Song Liu , Yonghong Song , KP Singh , Hao Luo , Jiri Olsa , Arthur Fabre , bpf@vger.kernel.org, netdev@vger.kernel.org, kernel-team@cloudflare.com Subject: Re: [PATCH bpf-next v2 10/15] selftests/bpf: Dump skb metadata on verification failure In-Reply-To: <7956ac25-f0ba-4d29-a07f-d1eaafb84acc@linux.dev> (Martin KaFai Lau's message of "Wed, 22 Oct 2025 16:30:09 -0700") References: <20251019-skb-meta-rx-path-v2-0-f9a58f3eb6d6@cloudflare.com> <20251019-skb-meta-rx-path-v2-10-f9a58f3eb6d6@cloudflare.com> <7956ac25-f0ba-4d29-a07f-d1eaafb84acc@linux.dev> Date: Thu, 23 Oct 2025 12:38:12 +0200 Message-ID: <87qzutvr6z.fsf@cloudflare.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Wed, Oct 22, 2025 at 04:30 PM -07, Martin KaFai Lau wrote: > On 10/19/25 5:45 AM, Jakub Sitnicki wrote: >> 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.