🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #5419

Re: [PATCH bpf-next v3] tools/bpf: Remove legacy BPF tools

#5419
From: bot+bpf-ci
Date: Tue, 20 Oct 2026 10:22
48 lines
10110 bytes
--===============8069249734330607249==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit

> tools/bpf: Remove legacy BPF tools

TL;DR: Commit message only: the changelog doesn't say why bpf_asm, bpf_dbg and
bpf_jit_disasm are removed or what replaces them. Not a bug.

>     tools/bpf: Remove legacy BPF tools
>
>     Remove bpf_asm, bpf_dbg and bpf_jit_disasm, along with the assembler's
>     lexer and parser, as suggested by Daniel.
>
>     Drop their build and install rules, feature checks and ignore entries.
>     Remove the tool-specific documentation and update the PTP classifier and
>     packet socket test comments. Keep the classic BPF instruction descriptions
>     and assembly examples.
>
>     Keep the bpftool and resolve_btfids build and clean targets, and the
>     bpftool install target.
>
>     Suggested-by: Daniel Borkmann <daniel@iogearbox.net>
>     Link: https://lore.kernel.org/bpf/61f7315e-c835-425e-a99b-d2470ba9a875@iogearbox.net/
>     Signed-off-by: Xia Yan <yanxia@cmss.chinamobile.com>

This isn't a bug, but could the changelog say briefly why these tools are
being removed and what users should use instead?

The body lists what is removed (build and install rules, feature checks,
ignore entries, documentation, comments), but the only stated reason is "as
suggested by Daniel" plus the Link: tag.

The documentation hunks also drop the in-tree explanation of how to produce
xt_bpf/cls_bpf bytecode and how to disassemble a JIT image dump from the
kernel log.  A short pointer to the replacements, for example tcpdump -ddd
for the bytecode or bpftool for JIT dumps, would let the commit stand on its
own without relying on the Link:.


---
AI reviewed your patch. Please fix the bug or email reply why it's not a bug.
See: https://github.com/kernel-patches/vmtest/blob/master/ci/claude/README.md

CI run summary: https://github.com/kernel-patches/bpf/actions/runs/39405560147
--===============8069249734330607249==--
Technical Details
Message-ID: <42d40286dc3a75179629023befe798cbabc88e8c5d890f2dac1211477cc6ef7e@mail.kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-349198-linux-kernel-netdev=dewy.ru
References: <20261020095124.928021-1-yanxia@cmss.chinamobile.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-349198-linux-kernel-netdev=dewy.ru
From: bot+bpf-ci@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH bpf-next v3] tools/bpf: Remove legacy BPF tools
Date: Tue, 20 Oct 2026 10:22:45 +0000 (UTC)
Organization: Usenet Network
Message-ID: <42d40286dc3a75179629023befe798cbabc88e8c5d890f2dac1211477cc6ef7e@mail.kernel.org>
References: <20261020095124.928021-1-yanxia@cmss.chinamobile.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============8069249734330607249=="
Injection-Info: usenet.network;
	logging-data="3830862"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:GEZRkbvVmAqCNaF50s3v154AeXA= sha256:Lls5zqzA4piXIlZA9V56c9Dl/UBV8gX9HGxqu1zfWW4=
	sha1:kF/6R+QddqbIrIks74TL/2tXK1g= sha256:bzlRKDm6HkkHDkC/P3/mRmAtLAPLv3ze+i8Z53/CxM4=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 1B5DA110C91; Tue, 20 Oct 2026 13:28:31 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.729
X-Spam-Status: No, score=-3.729 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.329, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Kg8XJEhZaZAk;
	Tue, 20 Oct 2026 13:28:28 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-349198-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id C2D44110C8C; Tue, 20 Oct 2026 13:28:19 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 908CC47805; Tue, 20 Oct 2026 10:23:09 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1792491777;
	b=U9ly0MOcVTdRm45trgmjeTdjUQPWY3QFZ2FGxTQxTcmdJ7jWt6Kgp4N+TpYMEZhauapc
	 hCe870XuuVI676bHi/KceJ2/ja2ChRvWmr2WnQpMRT7WB+l8tUI74u7YCgg0XwEy3Gt+F
	 H7f4InnBjQqmyKbDl5D8demaqXwWVE8X0dJlp4RwcVX92SUcZcWjQnYqdeZ3v5olg3KeP
	 O0AUOTjMz51mIZ8o08xNiFgIxB7LsXKjOsOyGH7err3XDBAn+TKR96l3b/MXjly/SV14a
	 OhG6C7NszH5CDxkMKyvefNtgYfneQS3DLeAxwuFz8vpkIZZfSuU2KDZoBEWyOk+ei+A==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792491777;
	h=X-Original-To:Received:Received:DKIM-Signature:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:Message-Id:
	 In-Reply-To:References:Subject:From:To:Cc:Date;
	bh=Wanx/Y3C+0SlSQC9sDYqWym0szuF/WkjMrFohRrApNo=;
	b=B2IXbwmURTE8dxdVLU/jKIC9xXQH1tdKc6k+6oC1gaHutaLPYaQqkESjOUAxo5wa8NSN
	 Yrbpumxy8ljOCh0TZFJxT+7oLuFlX41jiymUo9yW+7HQ5bjKpialNUjhLn18rfbywuhtf
	 Plz0rwCqrasq4oFQCu0D5DVBdDNAAMr78i1MNreNgkx2Q24JppauDmoLao4YGf7YP7gTI
	 cMEHvPul3CiYHfBOd3++J+lWnlXj5w8OipIj/HEc4tPSZPQH++YkjVnVwH1NIikTM1t3Q
	 abcoe2UAiXODBI/BuikqTSWOFOEIHDF7FeMwcJVerN51bgE9WqBUteL3L/+72kyPCcg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=T5Oa7TM3;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id AEF8A606A324;
	Tue, 20 Oct 2026 10:22:57 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=T5Oa7TM3
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1792491766;
	b=ELeSfoD8uISwvCUMnqdT0Ds1CFdCjk68EVJvY6UOp77sySTXu2tVxZ5N5WVXXHYOtvdu
	 eNDjfSbCCbqudbF9Zo7eIPK/mRiQsVfwfWVhK0lrxjyNP66h4oyVmJ+HAujK8Ux3sc50k
	 UlNFO4yWfOdXH1hkdrbzs7JhUeQh5WXrOM44ddRJgw3FcPY/mQp/r8mdMhUGnZINr9/81
	 2jy2leCcuQnKsxqENzDbkIInjpzgDMVW2YexWJUfbx9kaNZsSnC7MdRjwZIopu3ZIhweD
	 xiecP+orCYrzmv2Gy0QBNiJLRYYNHiHOa+QogmyDi2voF3IqXHc8ThXlpsMVNx76ebw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792491766;
	h=Received:DKIM-Signature:Content-Type:MIME-Version:Message-Id:
	 In-Reply-To:References:Subject:From:To:Cc:Date;
	bh=Wanx/Y3C+0SlSQC9sDYqWym0szuF/WkjMrFohRrApNo=;
	b=0Juw1wv2reys8Z6go/cjSkMdjouGbHGoEp4om6bLfwQaiVQ9Dtb2CntLsDTEUd7pIwJv
	 Cr5xp+1Of/aWiFU0YFXCVAa9Zb41voEYNnnZ4b91lqjJhvZ8IAeks64ixgNd41BjMyycG
	 tCzm90rCh+5ZpmYx5mr+jF+1alFaN/j0pBHSgl7rDNsK1V+uvlIRmNuHTeWiG9s/NYyOF
	 ywCUthudSe6djzgfMOrwbZRANwZVN2ejajfwjreJmxPFak50HkEJX74osmBN4apElVVUV
	 hvvOTuChb43hyeoLdIPLwwurF+EPAELnIAXu3LO8/5m78onrhsmBpNvXQ5GunpezPjA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=T5Oa7TM3;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8613B606A319;
	Tue, 20 Oct 2026 10:22:46 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id A896F1F000C4;
	Tue, 20 Oct 2026 10:22:45 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1792491766;
	bh=Wanx/Y3C+0SlSQC9sDYqWym0szuF/WkjMrFohRrApNo=;
	h=In-Reply-To:References:Subject:From:To:Cc:Date;
	b=T5Oa7TM3nby70HzARWjHBQQEUhvyDMnYSKnWODFB/qM7TAf4HWluzvCMoZuIgfgIy
	 w2nKBO4fzEoENZA4IWc+qN+yQAjr5zvfQ7dniIZd5i9fHU6VSXezpYkh4VxtJAfdAd
	 R/jPBncUlO/gYqZhBR9EoNd5L/i6DYwumiLVnFxU9f1zYERkCIjC4+I7irWQs1XCyE
	 AkzJ0zp7mWH1cJu4KqrxzXJ+EuPQ0CjP3QJ+0bf/j7bCL4iOzlNm3URN/4BF/fYMlr
	 KwILvV+MnSELolXwD0MjL6cIUlXuwVAvGaVQJEuYCGS7QfLxotp409zmw49clS+fpN
	 5R83GhZiZRMJA==
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261020095124.928021-1-yanxia@cmss.chinamobile.com>
X-Cc: yana06070@163.com,ast@kernel.org,andrii@kernel.org,eddyz87@gmail.com,memxor@gmail.com,martin.lau@linux.dev,song@kernel.org,yonghong.song@linux.dev,jolsa@kernel.org,emil@etsalapatis.com,ihor.solodrai@linux.dev,davem@davemloft.net,edumazet@kernel.org,kuba@kernel.org,pabeni@redhat.com,horms@kernel.org,corbet@lwn.net,skhan@linuxfoundation.org,rdunlap@infradead.org,richardcochran@gmail.com,netdev@vger.kernel.org,linux-doc@vger.kernel.org,linux-kernel@vger.kernel.org,linux-kselftest@vger.kernel.org,ast@kernel.org,andrii@kernel.org,daniel@iogearbox.net,martin.lau@kernel.org,eddyz87@gmail.com,yonghong.song@linux.dev,mason@kernel.org,ihor.solodrai@linux.dev