🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #22746

Re: [PATCH RFC net-next 5/7] net: dsa: qca8k: select the four-byte format before port activation

#22746
From: Andrew Lunn
Date: Wed, 25 Nov 2026 21:13
14 lines
9510 bytes
On Wed, Nov 25, 2026 at 11:50:33PM +0300, Fil Dunsky via B4 Relay wrote:
> From: Fil Dunsky <filipp.dunsky@gmail.com>
> 
> Select the requested format from the CPU ports before DSA chooses its
> tagger. Stop packet actors and verify the switch header state before
> opening user ports. Use MDIO for management and preserve both conduit
> MTUs.

Confused. What has the QCA driver got to do with this?

I think it is time for a big picture architecture email.

  Andrew
Technical Details
Message-ID: <7feee622-0c4f-4c7c-a473-02e0bb5cbf10@lunn.ch>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371675-linux-kernel-netdev=dewy.ru
References: <20261125-almondplus-offload-rfc-v1-0-703175c6340c@gmail.com> <20261125-almondplus-offload-rfc-v1-5-703175c6340c@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371675-linux-kernel-netdev=dewy.ru
From: andrew@lunn.ch (Andrew Lunn)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH RFC net-next 5/7] net: dsa: qca8k: select the four-byte
 format before port activation
Date: Wed, 25 Nov 2026 22:13:03 +0100
Organization: Usenet Network
Message-ID: <7feee622-0c4f-4c7c-a473-02e0bb5cbf10@lunn.ch>
References: <20261125-almondplus-offload-rfc-v1-0-703175c6340c@gmail.com>
 <20261125-almondplus-offload-rfc-v1-5-703175c6340c@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="305497"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:4Ye/TcV4XzBaQqrH+MuwJ91ajJk= sha256:mO27h8caYq3t5kt8zsSW+D23XzHqrXJIveD/ozmsawI=
	sha1:bQW9FEF49BqtSO3bL9rO0VlXOlc= sha256:jNX/n3zRSrGaO71N/iTS3iTL7ONyIzTOc3+lvKkrmsE=
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 B6181125E9E; Thu, 26 Nov 2026 00:13:31 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.05
X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key)
	header.d=lunn.ch
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 vMzTGuREJImB;
	Thu, 26 Nov 2026 00:13:29 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-371675-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id B0214125C5E; Thu, 26 Nov 2026 00:13:20 +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 9EA0A3244E; Wed, 25 Nov 2026 21:13:19 +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=1795641199;
	b=F4yOfjYKiw/kI4fZkfxL7jU81VtN/7pIIpHbIzKHYhYmHS7kLYKIbxbQ6+qSYYjVCb50
	 2Q9lJR0cwagheUSwFrlDOwF9nA17AyIT0/EwXMr00zlvmoAB7YuOJh6RdzX5KGWt+fVlf
	 lgLIUdmNtZJo8UIWB9H5FRqQCSpra5S1QVDyoRiyvEr4XsO5zLFgoU0lMFK7SXkYNT5zi
	 Z2FG0jWvJQugFw5LilsnskAcpbpp660VzjA1UpvxyhZe4DPu97BNi9fJG2Cy+BOhbL7t6
	 YKo627DXl0Gjwm+71bs2/0ycx9BUomPSUol6u49HYRUxyQwS88OhLZ0Z2ZSBHl+Bavw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795641199;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received: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:In-Reply-To;
	bh=iGd5SoNcIdPRf+X5W5xhsxkWslmG4vdZNOWfyt5Bu4A=;
	b=FhGI8lT8W5vc5YyTYPk0h6366u8BRSQG5GiBKcT125aACc/7/q5Ac5UEpUyp2iVXhY/d
	 soD8br/hEVzmkTbyPzS3LMdBnZtgExfUb20BuevOG9sWjw4TmotK/eAerABYWtO2BlwXI
	 jr0F66k51czo+7GOIhrHDzli1TyzStMsyLJy18hDeqAYEeujqEinxUNna6N2hfHHtg3X0
	 z3vrdpskij4F67pbL4ywicIg+v1QWR1j0B4EbqySDh+c/TBqiCQc+F30AuZtQ/aEmdv5+
	 CR5+zJGjuLJoz+rR9Seo/a/AXseFfXG1+VgYfJ7lp/GKbwn0s+q4ZGQuMd3f5z8pqAw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=zAKRTYQ6;
	dmarc=pass header.from=lunn.ch;
	spf=pass smtp.mailfrom=lunn.ch;
	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 EA10D606A333;
	Wed, 25 Nov 2026 21:13:18 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=zAKRTYQ6
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1795641198;
	b=vfLDURH1rtZvXdQGQ+NCFs0emcdCRsemnzTBYwUyvvGZaE4yadqNQFNUi/y9r4nUYP1q
	 0/O8guKxoFJRarD7PK82QfqpVbcj1kwMWWzypFAaadtg0uc3ggnK34imDMGJpxMaqpapp
	 YytNx8YYMeunBKgSJfyLck/Eqh8u3PalO0HgGHPmmMa/fhDB5BhHpY45gHF8ixymcm+hh
	 5mX9DrcCk5iSJ5wfNC6hLKansu5hvk7/zYrNRHRCeyVE0pYIshrpUHKWXyQuSl0f28+K6
	 cX42RqdxCD5ajiGFLkPthqDh8X/oohcpQUOTazPdqcuFHDWC2BuiIZ97gjE7p5M750w==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795641198;
	h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject:
	 Message-ID:References:MIME-Version:Content-Type:Content-Disposition:
	 In-Reply-To;
	bh=iGd5SoNcIdPRf+X5W5xhsxkWslmG4vdZNOWfyt5Bu4A=;
	b=1rPvYk76AZgwSUmIYf4AFAIn1g7YOvs3TT5+QUeuandUUp5gnCFsXqm5zKZIQ8c/Lz58
	 ZKi6src9RuPy5+CYzcbGzhnOmR4AohX6RhKAk/Ad63FUJ9YSQfJ3kWnQ2gNQA00Xu2Fer
	 TQ+Ix8znDtKmcK8W3jopJ3FioFIZovsmASRMXkY6kLPTNa5Hgq5vd9S6QzjLqM8KzfyT+
	 mwql+T3lwQukiCQaCHYMf0h2t0cDnFN9B5OGQwuTsIxxABcUoXISN9U5fpNwTCAFg4QnU
	 TBoUwUBSqRmOpHQwrRwObvcFC6CpmoU2KGBpD23gfgoxS7ZzPAPxDgBTcnuFlIXY2xg==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=lunn.ch;
	spf=pass smtp.mailfrom=lunn.ch;
	dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=zAKRTYQ6;
	arc=none smtp.remote-ip=156.67.10.101
X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id C5AC9606A31E;
	Wed, 25 Nov 2026 21:13:17 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C5AC9606A31E
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch
X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch;
	s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version:
	References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject:
	Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:
	Content-ID:Content-Description:Content-Disposition:In-Reply-To:References;
	bh=iGd5SoNcIdPRf+X5W5xhsxkWslmG4vdZNOWfyt5Bu4A=; b=zAKRTYQ6dAHp1kq+pIly9jqUl+
	mEfRqkks+O56nq3eMEHQc4ydoYu24dc1XcS/SZPd/jR8qtTbDI6QbV3uZG5uOLwn/s6jT1+L7wL+6
	vp0TrImF9NpiAGtTpQggHoMn0A+hGncgB3/nn/bIcLDyIHQSX4Bkger/UkLN9+zvnAsQ=;
X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2)
	(envelope-from <andrew@lunn.ch>)
	id 1xWKIZ-001RBD-5P; Wed, 25 Nov 2026 22:13:03 +0100
X-Cc: Vladimir Oltean <olteanv@gmail.com>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Florian Fainelli <f.fainelli@gmail.com>,
	Simon Horman <horms@kernel.org>,
	Pablo Neira Ayuso <pablo@netfilter.org>,
	Florian Westphal <fw@strlen.de>, Phil Sutter <phil@nwl.cc>,
	Hans Ulli Kroll <ulli.kroll@googlemail.com>,
	Linus Walleij <linusw@kernel.org>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	Russell King <linux@armlinux.org.uk>,
	Christian Marangi <ansuelsmth@gmail.com>,
	Jonathan Corbet <corbet@lwn.net>,
	Shuah Khan <skhan@linuxfoundation.org>,
	Randy Dunlap <rdunlap@infradead.org>, netdev@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	netfilter-devel@vger.kernel.org, coreteam@netfilter.org,
	linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org
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: <20261125-almondplus-offload-rfc-v1-5-703175c6340c@gmail.com>