🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #8512

Re: [PATCH net] net: ethernet: mediatek: preserve sibling PPE bindings

#8512
From: Simon Horman
Date: Thu, 29 Oct 2026 09:59
31 lines
9123 bytes
On Tue, Oct 27, 2026 at 01:38:58AM +0000, netdev-bot+sashiko@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential
> issue(s) to consider.
> 
> Critical: 0 · High: 1 · Medium: 0 (3) · Low: 0
> 
> If you believe none of the issues are legitimate, please reply to each
> issue of Medium severity or higher and explain why the AI is wrong.
> If any of them are legitimate and you plan to respin, please let patchwork
> know by including "pw-bot: cr" as a separate line at the end of your reply
> (one such reply per series is enough).
> 
> - [High] The fix is incomplete: the L2_SUBFLOW branch of
>   __mtk_ppe_check_skb()…

Hi Alexander,

The issue above does seem to be of concern.
Could you please respond to it?

> 
> Pre-existing issues:
> - [Medium] This problem wasn't introduced by this patch, but L2 (bridge)
>   flows never get the 0xffff 'unbound' sentinel in entry->hash.
> - [Medium] This problem wasn't introduced by this patch, but
>   mtk_flow_offload_stats() reads entry->hash without ppe_lock: once for…
> - [Medium] This problem wasn't introduced by this patch, but the MIB read
>   sequence in mtk_mib_entry_read() is not serialized.

...
Technical Details
Message-ID: <20261029095954.GD257209@horms.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-353228-linux-kernel-netdev=dewy.ru
References: <20261023012529.5994-1-alex@goodkind.io> <179306513862.3134.14236907013127690482@kernel.org>

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-353228-linux-kernel-netdev=dewy.ru
From: horms@kernel.org (Simon Horman)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] net: ethernet: mediatek: preserve sibling PPE
 bindings
Date: Thu, 29 Oct 2026 09:59:54 +0000
Organization: Usenet Network
Message-ID: <20261029095954.GD257209@horms.kernel.org>
References: <20261023012529.5994-1-alex@goodkind.io>
 <179306513862.3134.14236907013127690482@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1979879"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:z/X+ZixfZ7X8IhE56TqwOxehc+k= sha256:rvkU+sxm/FbTwEcsjyF5W19hacR4p3ZXQOoK0byD7uU=
	sha1:Vi2Grn9vzHkV63OrI8dIzC+SHuI= sha256:V/otldDcT2LmdhHHRv6dAK0//bwberknu0OmGjrpnTU=
Content-Disposition: inline
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 5ECAA125C60; Thu, 29 Oct 2026 13:04:36 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.501
X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31
	tests=[DKIMWL_WL_HIGH=-0.001, 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 Rs5jjj8vNOoS;
	Thu, 29 Oct 2026 13:04:34 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-353228-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id 47979125C5C; Thu, 29 Oct 2026 13:04:26 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id 3A64B604CCD; Thu, 29 Oct 2026 10:00:05 +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=1793268001;
	b=COZNtTgYX1owXcQLkpS72q6+OWrgkB3d+/RvQn9qCHNty74dcUvXR6L77bqS5HpcSKiv
	 Y3xbZSGA51OuomkGESuqMiZ0P9VI8v9pG4i/TlbQeRqphKHmqYgcbJTGqL8XN+cV/L2Bm
	 ZDgGqhUH4tmBHAm0R9bELGgvdyq0swE0sv+TmsSDCT/H2JIRWxb1ipwhsbjuU8hqeyGkT
	 hoBYP3sUIkCaIjjYuCTKCDnQko3B1vZgj5/P5yD2xCWOE2tyunv2RADU9d4mBkx5OWqOu
	 g4jLePcP2JZhrHbY45L/HolVW1XNRzRMqr2ggC9r69QZ1hqGK69Oqj0NiWPgs/80TqA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793268001;
	h=X-Original-To:Received:Received:DKIM-Signature:Date:From:To:Cc:
	 Subject:Message-ID:References:X-Mailing-List:List-Id:List-Post:
	 List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
	 MIME-Version:Content-Type:Content-Disposition:
	 Content-Transfer-Encoding:In-Reply-To;
	bh=R5j+yiYhCHq58JPEG4iD9M+YB5PgArKotbfDfonHirY=;
	b=CjwD9ab24/SR+LK7MpIrO+ZvmWJLBhjBulifK19ikZT/XLbCUlXPUtnN+C/HJH/uMNm5
	 TFWJHND2Vg7cTYwv8d5dPS2MXeOzZfr8waLNUKIzSSUaNaaZftLMKOL1cVJKf1LGEz8kO
	 YUF9DGcC8eYCMm9mUm+plfqjsuFZAzMxtUs1jMCEz7+FUDuXB19+oK7cM9H2n74GrqUHg
	 HiILsPQgk5NleGWQ0rAC5at1vEDCDwJbZ3cJ9PFgIzHNO/DLucDKRXkKi6nFE0ZSfluv5
	 a8ewH/c7E05NA7H1LJG5bQkDAZRA+YvvBu0qNTyaX658ue7NJxZ0R6CU/ifSxXlnrZw==
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=O73oQffq;
	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 3EF6C606A33F;
	Thu, 29 Oct 2026 10:00:01 +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=O73oQffq
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=1793268000;
	b=vvlOe9DrM55kOTYsFB4XysIgPh5L6vi2ybp938vV+QITbXdSOTJfJtWaQabzEGsm7znE
	 9+WhF2aXzaX+0+KwKiwjpk+xwuE3taoj1VpsG86pQYJO6QnZvjOkvIwv9fgEn7PoGSiYy
	 IsY6u8yJHuCGKdhajWTSslCiudLTdDbE6OSMIfU472ZSkCr1KDU1EDbwPJ4pzfEDXX34i
	 5a2nqSLMsb2+EEZzYTigd8lBDIkIO6+5gzrZJxLteIR+uWcuYzSqF7dZ1sxkHhkGZv3O3
	 zBYOUFKEI138lmnFFdc9uuiCU1mxYhYMai0L3a8R+ujE0Jx0P/hMuf8Fr6h4/vTzTQw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793268000;
	h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID:
	 References:MIME-Version:Content-Type:Content-Disposition:
	 Content-Transfer-Encoding:In-Reply-To;
	bh=R5j+yiYhCHq58JPEG4iD9M+YB5PgArKotbfDfonHirY=;
	b=uqHTxytS89YsiKifpsCXBt5EDfqCbgPdbCnmSYb0gt5ikjwMZA1gKoClp6Wn+7pyzXOy
	 l0cH0CDCV3BeY3LzqxGq/MJIvstHgV4GmrbtCWUFcCoGl8+Rq7XRiGa6+Z9/0IDhe/vQ9
	 tSp5v75AhKx4LI0yQ7NvhgxhO4AyEDP8Q/M9gSc+N8+1lqDoCzLrQ8JGYvfxn0d+o4oSI
	 qStvWW6HEzAX2ohZnAiEFA/St0r5UQ5yugxZJQm3y2PaumO5+uuzoo1Cik7d50xK6a4O/
	 sfcK2d9kdf26OyW600QBq/OjMGO6ud+EAZPRXl7jdRj+urcp4BxyZTql/zL3Y99NaOA==
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=O73oQffq;
	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 24794606A31F;
	Thu, 29 Oct 2026 10:00:00 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 27DE31F01825;
	Thu, 29 Oct 2026 09:59:57 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793267999;
	bh=R5j+yiYhCHq58JPEG4iD9M+YB5PgArKotbfDfonHirY=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To;
	b=O73oQffqeqikGDOuGDIY+NW2h/CpmNU5TKIWGZcmDMP/nIgRRBHUlxQ/rByvmxysZ
	 2DibCtTty4S0qQ9JYLUNQ2dkoJIfYb8Wg3hbow/0qw3zC5PBMT7ZxMHVn7cTHo7P2Q
	 eHigrpfHtmmgho+MFCgSY57Bf3fA0P7yUHFhFVvfcWiY3qyFqifrEJNJT3kb10q7fr
	 glHPWTJcD+Lxk+9D43PGxMBgpyc1vLVzeGu/TPAkP2mu3xRvW6L77MXJ9JtBs+0ddf
	 BwJsHcek9yBt2zul90gA9wabFYrnGM5WS2elzRf2uumNpf+KWH+n9eTsTQmHKx/8s9
	 GLzP+X0yXxHbg==
X-Cc: alex@goodkind.io, nbd@nbd.name, lorenzo@kernel.org,
	andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
	kuba@kernel.org, pabeni@redhat.com, matthias.bgg@gmail.com,
	angelogioacchino.delregno@collabora.com, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org, tarick@bedeir.com
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: <179306513862.3134.14236907013127690482@kernel.org>