Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [bpf-next v1 0/5] selftests/bpf: networking test cleanups and build fix
@ 2025-11-15 22:55 Hoyeon Lee
  2025-11-15 22:55 ` [bpf-next v1 5/5] selftests/bpf: propagate LLVM toolchain to runqslower build Hoyeon Lee
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Hoyeon Lee @ 2025-11-15 22:55 UTC (permalink / raw)
  To: bpf
  Cc: Hoyeon Lee, Nathan Chancellor, Nick Desaulniers, Bill Wendling,
	Justin Stitt, llvm

This series refactors several networking-related BPF selftests and fixes
a toolchain propagation issue in runqslower.

The first four patches simplify networking selftests by removing custom
IPv4/IPv6 address wrappers, migrating to sockaddr_storage, dropping
duplicated TCP helpers, and replacing open-coded congestion-control
string checks with bpf_strncmp(). These changes reduce duplication and
improve consistency without altering test behavior.

The final patch fixes a build issue where the runqslower sub-make does
not inherit the LLVM toolchain selected for the main selftests build.
By forwarding CLANG and LLVM_STRIP, the intended toolchain will be used
for the nested build.

Hoyeon Lee (5):
  selftests/bpf: use sockaddr_storage instead of addr_port in
    cls_redirect test
  selftests/bpf: use sockaddr_storage instead of sa46 in
    select_reuseport test
  selftests/bpf: move common TCP helpers into bpf_tracing_net.h
  selftests/bpf: replace TCP CC string comparisons with bpf_strncmp
  selftests/bpf: propagate LLVM toolchain to runqslower build

 tools/testing/selftests/bpf/Makefile          |  1 +
 .../selftests/bpf/prog_tests/cls_redirect.c   | 95 ++++++-------------
 .../bpf/prog_tests/select_reuseport.c         | 67 ++++++-------
 .../selftests/bpf/progs/bpf_cc_cubic.c        |  9 --
 tools/testing/selftests/bpf/progs/bpf_cubic.c |  7 --
 tools/testing/selftests/bpf/progs/bpf_dctcp.c |  6 --
 .../selftests/bpf/progs/bpf_iter_setsockopt.c | 17 +---
 .../selftests/bpf/progs/bpf_tracing_net.h     | 11 +++
 .../selftests/bpf/progs/connect4_prog.c       | 21 ++--
 .../bpf/progs/tcp_ca_write_sk_pacing.c        |  2 -
 tools/testing/selftests/lib.mk                |  1 +
 11 files changed, 87 insertions(+), 150 deletions(-)

-- 
2.51.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bpf-next v1 5/5] selftests/bpf: propagate LLVM toolchain to runqslower build
  2025-11-15 22:55 [bpf-next v1 0/5] selftests/bpf: networking test cleanups and build fix Hoyeon Lee
@ 2025-11-15 22:55 ` Hoyeon Lee
  2025-11-17  6:04   ` Yonghong Song
  2025-11-17 23:16 ` [bpf-next v1 0/5] selftests/bpf: networking test cleanups and build fix Amery Hung
  2025-11-18 23:10 ` patchwork-bot+netdevbpf
  2 siblings, 1 reply; 6+ messages in thread
From: Hoyeon Lee @ 2025-11-15 22:55 UTC (permalink / raw)
  To: bpf
  Cc: Hoyeon Lee, Andrii Nakryiko, Eduard Zingerman, Alexei Starovoitov,
	Daniel Borkmann, Martin KaFai Lau, Song Liu, Yonghong Song,
	John Fastabend, KP Singh, Stanislav Fomichev, Hao Luo, Jiri Olsa,
	Shuah Khan, Nathan Chancellor, Nick Desaulniers, Bill Wendling,
	Justin Stitt, linux-kselftest, linux-kernel, llvm

The selftests/bpf invokes a nested make when building runqslower, but
LLVM toolchain version (clang/llvm-strip) is not propagated. As a
result, runqslower is built with system default clang, not respecting
specified LLVM version.

    # LLVM=-21 make -C tools/testing/selftests/bpf
    ...
    make feature_display=0 -C /bpf/tools/bpf/runqslower                        \
        OUTPUT=/bpf/tools/testing/selftests/bpf/tools/build/runqslower/        \
        BPFOBJ_OUTPUT=/bpf/tools/testing/selftests/bpf/tools/build/libbpf/     \
        BPFOBJ=/bpf/tools/testing/selftests/bpf/tools/build/libbpf/libbpf.a    \
        BPF_INCLUDE=/bpf/tools/testing/selftests/bpf/tools/include             \
        BPFTOOL_OUTPUT=/bpf/tools/testing/selftests/bpf/tools/build/bpftool/   \
        VMLINUX_BTF=/sys/kernel/btf/vmlinux BPF_TARGET_ENDIAN=--target=bpfel   \
        EXTRA_CFLAGS='-g -O0  ' EXTRA_LDFLAGS=' ' &&                           \
        cp  /bpf/tools/testing/selftests/bpf/tools/build/runqslower/runqslower \
            /bpf/tools/testing/selftests/bpf/runqslower
    clang -g -O2 --target=bpfel -I/bpf/tools/testing/selftests/bpf/tools/build/runqslower/ \
          -I/bpf/tools/testing/selftests/bpf/tools/include -I/bpf/tools/include/uapi       \
          -c runqslower.bpf.c -o /bpf/tools/testing/selftests/bpf/tools/build/runqslower/runqslower.bpf.o && \
          llvm-strip -g /bpf/tools/testing/selftests/bpf/tools/build/runqslower//runqslower.bpf.o
    /bin/sh: 1: clang: not found

Explicitly propagate CLANG and LLVM_STRIP to the runqslower sub-make so
that the LLVM toolchain selection from lib.mk is preserved.

Signed-off-by: Hoyeon Lee <hoyeon.lee@suse.com>
---
 tools/testing/selftests/bpf/Makefile | 1 +
 tools/testing/selftests/lib.mk       | 1 +
 2 files changed, 2 insertions(+)

diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests/bpf/Makefile
index 34ea23c63bd5..79ab69920dca 100644
--- a/tools/testing/selftests/bpf/Makefile
+++ b/tools/testing/selftests/bpf/Makefile
@@ -306,6 +306,7 @@ endif
 
 $(OUTPUT)/runqslower: $(BPFOBJ) | $(DEFAULT_BPFTOOL) $(RUNQSLOWER_OUTPUT)
 	$(Q)$(MAKE) $(submake_extras) -C $(TOOLSDIR)/bpf/runqslower	       \
+		    CLANG=$(CLANG) LLVM_STRIP=$(LLVM_STRIP)		       \
 		    OUTPUT=$(RUNQSLOWER_OUTPUT) VMLINUX_BTF=$(VMLINUX_BTF)     \
 		    BPFTOOL_OUTPUT=$(HOST_BUILD_DIR)/bpftool/		       \
 		    BPFOBJ_OUTPUT=$(BUILD_DIR)/libbpf/			       \
diff --git a/tools/testing/selftests/lib.mk b/tools/testing/selftests/lib.mk
index a448fae57831..f14255b2afbd 100644
--- a/tools/testing/selftests/lib.mk
+++ b/tools/testing/selftests/lib.mk
@@ -8,6 +8,7 @@ LLVM_SUFFIX := $(LLVM)
 endif
 
 CLANG := $(LLVM_PREFIX)clang$(LLVM_SUFFIX)
+LLVM_STRIP := $(LLVM_PREFIX)llvm-strip$(LLVM_SUFFIX)
 
 CLANG_TARGET_FLAGS_arm          := arm-linux-gnueabi
 CLANG_TARGET_FLAGS_arm64        := aarch64-linux-gnu
-- 
2.51.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [bpf-next v1 5/5] selftests/bpf: propagate LLVM toolchain to runqslower build
  2025-11-15 22:55 ` [bpf-next v1 5/5] selftests/bpf: propagate LLVM toolchain to runqslower build Hoyeon Lee
@ 2025-11-17  6:04   ` Yonghong Song
  2025-11-17  6:37     ` Hoyeon Lee
  0 siblings, 1 reply; 6+ messages in thread
From: Yonghong Song @ 2025-11-17  6:04 UTC (permalink / raw)
  To: Hoyeon Lee, bpf
  Cc: Andrii Nakryiko, Eduard Zingerman, Alexei Starovoitov,
	Daniel Borkmann, Martin KaFai Lau, Song Liu, John Fastabend,
	KP Singh, Stanislav Fomichev, Hao Luo, Jiri Olsa, Shuah Khan,
	Nathan Chancellor, Nick Desaulniers, Bill Wendling, Justin Stitt,
	linux-kselftest, linux-kernel, llvm



On 11/15/25 2:55 PM, Hoyeon Lee wrote:
> The selftests/bpf invokes a nested make when building runqslower, but
> LLVM toolchain version (clang/llvm-strip) is not propagated. As a
> result, runqslower is built with system default clang, not respecting
> specified LLVM version.
>
>      # LLVM=-21 make -C tools/testing/selftests/bpf
>      ...
>      make feature_display=0 -C /bpf/tools/bpf/runqslower                        \
>          OUTPUT=/bpf/tools/testing/selftests/bpf/tools/build/runqslower/        \
>          BPFOBJ_OUTPUT=/bpf/tools/testing/selftests/bpf/tools/build/libbpf/     \
>          BPFOBJ=/bpf/tools/testing/selftests/bpf/tools/build/libbpf/libbpf.a    \
>          BPF_INCLUDE=/bpf/tools/testing/selftests/bpf/tools/include             \
>          BPFTOOL_OUTPUT=/bpf/tools/testing/selftests/bpf/tools/build/bpftool/   \
>          VMLINUX_BTF=/sys/kernel/btf/vmlinux BPF_TARGET_ENDIAN=--target=bpfel   \
>          EXTRA_CFLAGS='-g -O0  ' EXTRA_LDFLAGS=' ' &&                           \
>          cp  /bpf/tools/testing/selftests/bpf/tools/build/runqslower/runqslower \
>              /bpf/tools/testing/selftests/bpf/runqslower
>      clang -g -O2 --target=bpfel -I/bpf/tools/testing/selftests/bpf/tools/build/runqslower/ \
>            -I/bpf/tools/testing/selftests/bpf/tools/include -I/bpf/tools/include/uapi       \
>            -c runqslower.bpf.c -o /bpf/tools/testing/selftests/bpf/tools/build/runqslower/runqslower.bpf.o && \
>            llvm-strip -g /bpf/tools/testing/selftests/bpf/tools/build/runqslower//runqslower.bpf.o
>      /bin/sh: 1: clang: not found

I tried with LLVM=-20 make -C tools/testing/selftests/bpf in my system and
there is no build error.

Also could you try with command line
    make -C tools/testing/selftests/bpf LLVM=1
for clang build kernel or selftests, LLVM=1 is recommended as it
encodes a bunch of clang command lines:
   CC              = $(LLVM_PREFIX)clang$(LLVM_SUFFIX)
   LD              = $(LLVM_PREFIX)ld.lld$(LLVM_SUFFIX)
   AR              = $(LLVM_PREFIX)llvm-ar$(LLVM_SUFFIX)
   NM              = $(LLVM_PREFIX)llvm-nm$(LLVM_SUFFIX)
   OBJCOPY         = $(LLVM_PREFIX)llvm-objcopy$(LLVM_SUFFIX)
   OBJDUMP         = $(LLVM_PREFIX)llvm-objdump$(LLVM_SUFFIX)
   READELF         = $(LLVM_PREFIX)llvm-readelf$(LLVM_SUFFIX)
   STRIP           = $(LLVM_PREFIX)llvm-strip$(LLVM_SUFFIX)




>
> Explicitly propagate CLANG and LLVM_STRIP to the runqslower sub-make so
> that the LLVM toolchain selection from lib.mk is preserved.
>
> Signed-off-by: Hoyeon Lee <hoyeon.lee@suse.com>
> ---
>   tools/testing/selftests/bpf/Makefile | 1 +
>   tools/testing/selftests/lib.mk       | 1 +
>   2 files changed, 2 insertions(+)
>
> diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests/bpf/Makefile
> index 34ea23c63bd5..79ab69920dca 100644
> --- a/tools/testing/selftests/bpf/Makefile
> +++ b/tools/testing/selftests/bpf/Makefile
> @@ -306,6 +306,7 @@ endif
>   
>   $(OUTPUT)/runqslower: $(BPFOBJ) | $(DEFAULT_BPFTOOL) $(RUNQSLOWER_OUTPUT)
>   	$(Q)$(MAKE) $(submake_extras) -C $(TOOLSDIR)/bpf/runqslower	       \
> +		    CLANG=$(CLANG) LLVM_STRIP=$(LLVM_STRIP)		       \
>   		    OUTPUT=$(RUNQSLOWER_OUTPUT) VMLINUX_BTF=$(VMLINUX_BTF)     \
>   		    BPFTOOL_OUTPUT=$(HOST_BUILD_DIR)/bpftool/		       \
>   		    BPFOBJ_OUTPUT=$(BUILD_DIR)/libbpf/			       \
> diff --git a/tools/testing/selftests/lib.mk b/tools/testing/selftests/lib.mk
> index a448fae57831..f14255b2afbd 100644
> --- a/tools/testing/selftests/lib.mk
> +++ b/tools/testing/selftests/lib.mk
> @@ -8,6 +8,7 @@ LLVM_SUFFIX := $(LLVM)
>   endif
>   
>   CLANG := $(LLVM_PREFIX)clang$(LLVM_SUFFIX)
> +LLVM_STRIP := $(LLVM_PREFIX)llvm-strip$(LLVM_SUFFIX)
>   
>   CLANG_TARGET_FLAGS_arm          := arm-linux-gnueabi
>   CLANG_TARGET_FLAGS_arm64        := aarch64-linux-gnu


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [bpf-next v1 5/5] selftests/bpf: propagate LLVM toolchain to runqslower build
  2025-11-17  6:04   ` Yonghong Song
@ 2025-11-17  6:37     ` Hoyeon Lee
  0 siblings, 0 replies; 6+ messages in thread
From: Hoyeon Lee @ 2025-11-17  6:37 UTC (permalink / raw)
  To: Yonghong Song
  Cc: bpf, Andrii Nakryiko, Eduard Zingerman, Alexei Starovoitov,
	Daniel Borkmann, Martin KaFai Lau, Song Liu, John Fastabend,
	KP Singh, Stanislav Fomichev, Hao Luo, Jiri Olsa, Shuah Khan,
	Nathan Chancellor, Nick Desaulniers, Bill Wendling, Justin Stitt,
	linux-kselftest, linux-kernel, llvm

On Mon, Nov 17, 2025 at 3:04 PM Yonghong Song <yonghong.song@linux.dev> wrote:
>
>
>
> On 11/15/25 2:55 PM, Hoyeon Lee wrote:
> > The selftests/bpf invokes a nested make when building runqslower, but
> > LLVM toolchain version (clang/llvm-strip) is not propagated. As a
> > result, runqslower is built with system default clang, not respecting
> > specified LLVM version.
> >
> >      # LLVM=-21 make -C tools/testing/selftests/bpf
> >      ...
> >      make feature_display=0 -C /bpf/tools/bpf/runqslower                        \
> >          OUTPUT=/bpf/tools/testing/selftests/bpf/tools/build/runqslower/        \
> >          BPFOBJ_OUTPUT=/bpf/tools/testing/selftests/bpf/tools/build/libbpf/     \
> >          BPFOBJ=/bpf/tools/testing/selftests/bpf/tools/build/libbpf/libbpf.a    \
> >          BPF_INCLUDE=/bpf/tools/testing/selftests/bpf/tools/include             \
> >          BPFTOOL_OUTPUT=/bpf/tools/testing/selftests/bpf/tools/build/bpftool/   \
> >          VMLINUX_BTF=/sys/kernel/btf/vmlinux BPF_TARGET_ENDIAN=--target=bpfel   \
> >          EXTRA_CFLAGS='-g -O0  ' EXTRA_LDFLAGS=' ' &&                           \
> >          cp  /bpf/tools/testing/selftests/bpf/tools/build/runqslower/runqslower \
> >              /bpf/tools/testing/selftests/bpf/runqslower
> >      clang -g -O2 --target=bpfel -I/bpf/tools/testing/selftests/bpf/tools/build/runqslower/ \
> >            -I/bpf/tools/testing/selftests/bpf/tools/include -I/bpf/tools/include/uapi       \
> >            -c runqslower.bpf.c -o /bpf/tools/testing/selftests/bpf/tools/build/runqslower/runqslower.bpf.o && \
> >            llvm-strip -g /bpf/tools/testing/selftests/bpf/tools/build/runqslower//runqslower.bpf.o
> >      /bin/sh: 1: clang: not found
>
> I tried with LLVM=-20 make -C tools/testing/selftests/bpf in my system and
> there is no build error.
>
> Also could you try with command line
>     make -C tools/testing/selftests/bpf LLVM=1
> for clang build kernel or selftests, LLVM=1 is recommended as it
> encodes a bunch of clang command lines:
>    CC              = $(LLVM_PREFIX)clang$(LLVM_SUFFIX)
>    LD              = $(LLVM_PREFIX)ld.lld$(LLVM_SUFFIX)
>    AR              = $(LLVM_PREFIX)llvm-ar$(LLVM_SUFFIX)
>    NM              = $(LLVM_PREFIX)llvm-nm$(LLVM_SUFFIX)
>    OBJCOPY         = $(LLVM_PREFIX)llvm-objcopy$(LLVM_SUFFIX)
>    OBJDUMP         = $(LLVM_PREFIX)llvm-objdump$(LLVM_SUFFIX)
>    READELF         = $(LLVM_PREFIX)llvm-readelf$(LLVM_SUFFIX)
>    STRIP           = $(LLVM_PREFIX)llvm-strip$(LLVM_SUFFIX)
>
>
Thanks for the review.

Just to clarify, the issue is not the build failure itself. The error
"clang: not found" only appeared because I intentionally did not set
update-alternatives to avoid falling back to the system default compiler.

The real issue is that the runqslower sub-make invokes "clang" instead
of "clang-21" when LLVM=-21 is specified. This shows that the selected
LLVM toolchain version is not being propagated into the nested build.

LLVM=1 works well for general builds, but in this case the intention is
to verify that a specific LLVM version is consistently applied across
all sub-makes. That propagation does not currently happen, and the patch
addresses exactly that.

Thanks again for taking a look.
>
>
> >
> > Explicitly propagate CLANG and LLVM_STRIP to the runqslower sub-make so
> > that the LLVM toolchain selection from lib.mk is preserved.
> >
> > Signed-off-by: Hoyeon Lee <hoyeon.lee@suse.com>
> > ---
> >   tools/testing/selftests/bpf/Makefile | 1 +
> >   tools/testing/selftests/lib.mk       | 1 +
> >   2 files changed, 2 insertions(+)
> >
> > diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests/bpf/Makefile
> > index 34ea23c63bd5..79ab69920dca 100644
> > --- a/tools/testing/selftests/bpf/Makefile
> > +++ b/tools/testing/selftests/bpf/Makefile
> > @@ -306,6 +306,7 @@ endif
> >
> >   $(OUTPUT)/runqslower: $(BPFOBJ) | $(DEFAULT_BPFTOOL) $(RUNQSLOWER_OUTPUT)
> >       $(Q)$(MAKE) $(submake_extras) -C $(TOOLSDIR)/bpf/runqslower            \
> > +                 CLANG=$(CLANG) LLVM_STRIP=$(LLVM_STRIP)                    \
> >                   OUTPUT=$(RUNQSLOWER_OUTPUT) VMLINUX_BTF=$(VMLINUX_BTF)     \
> >                   BPFTOOL_OUTPUT=$(HOST_BUILD_DIR)/bpftool/                  \
> >                   BPFOBJ_OUTPUT=$(BUILD_DIR)/libbpf/                         \
> > diff --git a/tools/testing/selftests/lib.mk b/tools/testing/selftests/lib.mk
> > index a448fae57831..f14255b2afbd 100644
> > --- a/tools/testing/selftests/lib.mk
> > +++ b/tools/testing/selftests/lib.mk
> > @@ -8,6 +8,7 @@ LLVM_SUFFIX := $(LLVM)
> >   endif
> >
> >   CLANG := $(LLVM_PREFIX)clang$(LLVM_SUFFIX)
> > +LLVM_STRIP := $(LLVM_PREFIX)llvm-strip$(LLVM_SUFFIX)
> >
> >   CLANG_TARGET_FLAGS_arm          := arm-linux-gnueabi
> >   CLANG_TARGET_FLAGS_arm64        := aarch64-linux-gnu
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [bpf-next v1 0/5] selftests/bpf: networking test cleanups and build fix
  2025-11-15 22:55 [bpf-next v1 0/5] selftests/bpf: networking test cleanups and build fix Hoyeon Lee
  2025-11-15 22:55 ` [bpf-next v1 5/5] selftests/bpf: propagate LLVM toolchain to runqslower build Hoyeon Lee
@ 2025-11-17 23:16 ` Amery Hung
  2025-11-18 23:10 ` patchwork-bot+netdevbpf
  2 siblings, 0 replies; 6+ messages in thread
From: Amery Hung @ 2025-11-17 23:16 UTC (permalink / raw)
  To: Hoyeon Lee
  Cc: bpf, Nathan Chancellor, Nick Desaulniers, Bill Wendling,
	Justin Stitt, llvm

On Sat, Nov 15, 2025 at 2:56 PM Hoyeon Lee <hoyeon.lee@suse.com> wrote:
>
> This series refactors several networking-related BPF selftests and fixes
> a toolchain propagation issue in runqslower.
>
> The first four patches simplify networking selftests by removing custom
> IPv4/IPv6 address wrappers, migrating to sockaddr_storage, dropping
> duplicated TCP helpers, and replacing open-coded congestion-control
> string checks with bpf_strncmp(). These changes reduce duplication and
> improve consistency without altering test behavior.

Patch 1-4 look good to me. All selftests changed also passed on my test VM.

Reviewed-by: Amery Hung <ameryhung@gmail.com>

>
> The final patch fixes a build issue where the runqslower sub-make does
> not inherit the LLVM toolchain selected for the main selftests build.
> By forwarding CLANG and LLVM_STRIP, the intended toolchain will be used
> for the nested build.
>
> Hoyeon Lee (5):
>   selftests/bpf: use sockaddr_storage instead of addr_port in
>     cls_redirect test
>   selftests/bpf: use sockaddr_storage instead of sa46 in
>     select_reuseport test
>   selftests/bpf: move common TCP helpers into bpf_tracing_net.h
>   selftests/bpf: replace TCP CC string comparisons with bpf_strncmp
>   selftests/bpf: propagate LLVM toolchain to runqslower build
>
>  tools/testing/selftests/bpf/Makefile          |  1 +
>  .../selftests/bpf/prog_tests/cls_redirect.c   | 95 ++++++-------------
>  .../bpf/prog_tests/select_reuseport.c         | 67 ++++++-------
>  .../selftests/bpf/progs/bpf_cc_cubic.c        |  9 --
>  tools/testing/selftests/bpf/progs/bpf_cubic.c |  7 --
>  tools/testing/selftests/bpf/progs/bpf_dctcp.c |  6 --
>  .../selftests/bpf/progs/bpf_iter_setsockopt.c | 17 +---
>  .../selftests/bpf/progs/bpf_tracing_net.h     | 11 +++
>  .../selftests/bpf/progs/connect4_prog.c       | 21 ++--
>  .../bpf/progs/tcp_ca_write_sk_pacing.c        |  2 -
>  tools/testing/selftests/lib.mk                |  1 +
>  11 files changed, 87 insertions(+), 150 deletions(-)
>
> --
> 2.51.1
>
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [bpf-next v1 0/5] selftests/bpf: networking test cleanups and build fix
  2025-11-15 22:55 [bpf-next v1 0/5] selftests/bpf: networking test cleanups and build fix Hoyeon Lee
  2025-11-15 22:55 ` [bpf-next v1 5/5] selftests/bpf: propagate LLVM toolchain to runqslower build Hoyeon Lee
  2025-11-17 23:16 ` [bpf-next v1 0/5] selftests/bpf: networking test cleanups and build fix Amery Hung
@ 2025-11-18 23:10 ` patchwork-bot+netdevbpf
  2 siblings, 0 replies; 6+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-11-18 23:10 UTC (permalink / raw)
  To: Hoyeon Lee; +Cc: bpf, nathan, nick.desaulniers+lkml, morbo, justinstitt, llvm

Hello:

This series was applied to bpf/bpf-next.git (master)
by Martin KaFai Lau <martin.lau@kernel.org>:

On Sun, 16 Nov 2025 07:55:35 +0900 you wrote:
> This series refactors several networking-related BPF selftests and fixes
> a toolchain propagation issue in runqslower.
> 
> The first four patches simplify networking selftests by removing custom
> IPv4/IPv6 address wrappers, migrating to sockaddr_storage, dropping
> duplicated TCP helpers, and replacing open-coded congestion-control
> string checks with bpf_strncmp(). These changes reduce duplication and
> improve consistency without altering test behavior.
> 
> [...]

Here is the summary with links:
  - [bpf-next,v1,1/5] selftests/bpf: use sockaddr_storage instead of addr_port in cls_redirect test
    (no matching commit)
  - [bpf-next,v1,2/5] selftests/bpf: use sockaddr_storage instead of sa46 in select_reuseport test
    (no matching commit)
  - [bpf-next,v1,3/5] selftests/bpf: move common TCP helpers into bpf_tracing_net.h
    https://git.kernel.org/bpf/bpf-next/c/f700b37314d9
  - [bpf-next,v1,4/5] selftests/bpf: replace TCP CC string comparisons with bpf_strncmp
    https://git.kernel.org/bpf/bpf-next/c/ec12ab2cda66
  - [bpf-next,v1,5/5] selftests/bpf: propagate LLVM toolchain to runqslower build
    (no matching commit)

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-11-18 23:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-15 22:55 [bpf-next v1 0/5] selftests/bpf: networking test cleanups and build fix Hoyeon Lee
2025-11-15 22:55 ` [bpf-next v1 5/5] selftests/bpf: propagate LLVM toolchain to runqslower build Hoyeon Lee
2025-11-17  6:04   ` Yonghong Song
2025-11-17  6:37     ` Hoyeon Lee
2025-11-17 23:16 ` [bpf-next v1 0/5] selftests/bpf: networking test cleanups and build fix Amery Hung
2025-11-18 23:10 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox