🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #5370

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

#5370
From: bot+bpf-ci
Date: Tue, 20 Oct 2026 08:58
55 lines
10402 bytes
--===============0961616978328380911==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit

> tools/bpf: Remove legacy BPF tools

TL;DR: Nit only: the reworded filter.rst sentence says the instruction table
lists opcodes, but it only has mnemonics and descriptions, so the new wording
may mislead readers.

> diff --git a/Documentation/networking/filter.rst b/Documentation/networking/filter.rst
> index e0b9dc14a9bf..ee35cea6face 100644
> --- a/Documentation/networking/filter.rst
> +++ b/Documentation/networking/filter.rst

[ ... ]

> @@ -213,9 +210,8 @@ contains a miscellaneous argument that can be interpreted in different
>  ways depending on the given instruction in op.
>
>  The instruction set consists of load, store, branch, alu, miscellaneous
> -and return instructions that are also represented in bpf_asm syntax. This
> -table lists all bpf_asm instructions available resp. what their underlying
> -opcodes as defined in linux/filter.h stand for:
> +and return instructions. This table lists the assembly notation and
> +the corresponding opcodes defined in linux/filter.h:
>
>    ===========      ===================  =====================
>    Instruction      Addressing mode      Description

Does the table that follows actually list opcodes?

It only has three columns: Instruction (mnemonics such as ld, ldh, jeq, ret),
Addressing mode, and Description (prose such as "Load word into A").  There
are no opcode values like 0x28 and no BPF_* opcode macros from
linux/filter.h or linux/bpf_common.h in it.

The old text said the table showed what the underlying opcodes defined in
linux/filter.h "stand for", which matched the Description column.  The new
wording reads as if the opcodes themselves are listed, so a reader looking
for the encoding of an instruction will not find it there.

Would something like "This table lists the assembly notation and what the
corresponding opcodes defined in linux/filter.h do:" keep the original
meaning?


---
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/39395316270
--===============0961616978328380911==--
Technical Details
Message-ID: <a02301c0ff8593349602f81cdf0c21f1b38db0b60118f8eed3199a6a38330234@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-349125-linux-kernel-netdev=dewy.ru
References: <20261020083713.905006-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-349125-linux-kernel-netdev=dewy.ru
From: bot+bpf-ci@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH bpf-next v2] tools/bpf: Remove legacy BPF tools
Date: Tue, 20 Oct 2026 08:58:53 +0000 (UTC)
Organization: Usenet Network
Message-ID: <a02301c0ff8593349602f81cdf0c21f1b38db0b60118f8eed3199a6a38330234@mail.kernel.org>
References: <20261020083713.905006-1-yanxia@cmss.chinamobile.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0961616978328380911=="
Injection-Info: usenet.network;
	logging-data="3817450"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:kL8skvDoTAnhUTAsJsUKc9Pnsrw= sha256:rkrkKniKMhHUwHQBry9kdyQk4MSPAp/XldCva3hrUMs=
	sha1:uKrotVQjZ9B5MTPT/YiX8nGOSXA= sha256:swCJJHfZR7QK94VmW8s80k+4G9NIZgOxVhphUCZCZ80=
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 919FC110C50; Tue, 20 Oct 2026 12:06:34 +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 ZUvekI_-Xc2B;
	Tue, 20 Oct 2026 12:06:31 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-349125-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id D399E110C2F; Tue, 20 Oct 2026 12:06:22 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id BF4F730678; Tue, 20 Oct 2026 08:59:10 +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=1792486745;
	b=ieMkSON2JU0mwyKDchtVe/wNQeJWAKYXJf4XnACLqczDOJPNaGB+Ep3QetH1oRc24uoq
	 YeI4y4frkl86adDxO7suJC7YDmNbrZA0K5V27X+IQQ11wGk7kT1v9RJFLy65HScDilfvw
	 ivSDyxzhL+xTvoJIGkDId5fuVAQqfp1k99CU5KsxG0UyUHaENM+k7k6LOGxcEGuIJw3ln
	 1bkrleHxokj/U4c2fGbhKuXIrW3QgKaGepR3fwcVU4I6GQ51SuuEVibapye5eRH407+/v
	 KEr2uOxDdZv3YbVv7cxsHcg6b5GzFC1n0jTRiXgdaQKCgMzHIbh9jLL90FIUVYNrdtQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792486745;
	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=HlLZ9zGeNEup/rHEpny5JmMLv3fK5Tlr0wrd1y6qyXY=;
	b=JR1sVej7BuBf26Mk8ionP5ulShfI82tLTxSDDDxbWIVjKZp9yJ5qvDEp+6lrrjmouTG1
	 NlGWReMoRSGzPaFfoKWsoD2wc3327SO0agxnxq5zqIB0UQ4nDdJPwF5gY5SiGEvVr/SWT
	 KgS4GjlCq+5kXyio2k9mMPaUAxQb7a1uX5dNsqjtk0LkbTveqb+gQzZ1FuKuYvL6a3VRJ
	 9PAs3CzHRjaOOnMa7NuV+0c4lrAkmoMTrjQKGGBEr9ZEUeuHHsgg5Btm4w3NPsU31MJER
	 5b5/K50WMFjt9TSbo6n6JYQPRO8v3IUNeknyrV1dJziVz12kw6Bl3mGkWUTOmyyhJJA==
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=EwlNOE9A;
	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 AE836606A31F;
	Tue, 20 Oct 2026 08:59:05 +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=EwlNOE9A
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=1792486734;
	b=VBmKK3LlAhSBpqtq8RbpjCijsUAhhnnhS8Nm3TCiit2PCitiB6dAWxBIafevSqUgA9MJ
	 Lac9tQyTdLDHS/JYBrKadUkZ5brXdT5gc+dURjLnMLhNGcNRrUdBbMtB+Jv6PC5EQeC7K
	 zkYBg5nX+W2R3hq12uLC8u3SWRmNvb6ExvgHtI4IMopoW/ZnGY8d//GdupuMjTbc1tqq7
	 AlL6tLuXcQEIO3wD7xeeoQDoGAkqDoYjJQgUVrPaJNY/FJBWUavs7UIkmizcQ7L1a/81g
	 yJ4bBVe0cFx04zVn30Jea7Ndt0Z8++F1rd9eQ+50JKhEqSHRicO+LwzJNIAny14eSZg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792486734;
	h=Received:DKIM-Signature:Content-Type:MIME-Version:Message-Id:
	 In-Reply-To:References:Subject:From:To:Cc:Date;
	bh=HlLZ9zGeNEup/rHEpny5JmMLv3fK5Tlr0wrd1y6qyXY=;
	b=IyehdeazHh7byR9b+KkNcUk1oI0F9BQd4+6EE4e0bC68+aQClf3AB21Vv+KHZmHrlzKV
	 uzGg5Lky3C6qKoDkU1anjwTPM3L97ARLHaBvAsTLg9n4/oAfno0gEu2EFr1gspVZsWLKb
	 UY1S0Y9Eu5OF1dIKIf1ep/uJdktsCtP7shtA8THnZ6kvtFk4AvHLeMyIgogZI/bTIUzev
	 9eT69ICOP02J8d/cXDoidcFznhZqxLcjQc6vpAeu1il1n9JE0Sy0gf0NITNlnwYIn3vX4
	 S+P4pLPN+uLdY0rn6L4VQXEadRHwB3DBzMneJThZTGetMBUgOl17YknbE7jk6F5aoqw==
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=EwlNOE9A;
	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 8ABC9606A31A;
	Tue, 20 Oct 2026 08:58:54 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id A5C421F000C4;
	Tue, 20 Oct 2026 08:58:53 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1792486734;
	bh=HlLZ9zGeNEup/rHEpny5JmMLv3fK5Tlr0wrd1y6qyXY=;
	h=In-Reply-To:References:Subject:From:To:Cc:Date;
	b=EwlNOE9A6HClJkvde0kvUnzaqmRf601biMcVfJWjPPZAPytYo3tQ2sQspN5IdLrr8
	 j1LKmnLBwQ4VpNLE939lziDV64lDN1ppA9OjHtxyFTQorxqVCeeqqvOCfFJG7p8Egx
	 tn7AU4U63x6jl0VWqgQjuQbUS9YZsLXNhaLarB2KdlyJTu4oVzLwf45aPqOM5euA2P
	 9jQrzNi9IlM4mQS7knsGSVoJN6EHvMXzKQSveHO0qJdIlLJfLo4pPB7MU15S2LWNtj
	 3qnN98lfGiaC2xxxviQYyqR0znEe7mJN2E/F3jaWyI1VXLxrGWxhz1C6ns+teAQ8l3
	 MT8nrF3+l/xEg==
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: <20261020083713.905006-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