🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #8206

Re: [PATCH v3 2/7] dt-bindings: net: dsa: mediatek,mt7530: add passthrough mode

#8206
From: Caleb James DeLisle
Date: Wed, 28 Oct 2026 11:27
53 lines
10934 bytes
On 28/10/2026 03:04, Andrew Lunn wrote:
> On Wed, Oct 28, 2026 at 01:13:12AM +0000, Caleb James DeLisle wrote:
>> MT7530 switches can be configured to blindly pass packets between their
>> CPU/upstream port and a downstream DSA port, in particular, without
>> altering the MediaTek DSA Tag on the packets. This mode is used in some
>> integrations where an SoC integrated switch exists, but a more capable
>> MCM switch is added to effectively replace it.
>>
>> Signed-off-by: Caleb James DeLisle <cjd@cjdns.fr>
>> Acked-by: Rob Herring (Arm) <robh@kernel.org>
>> ---
>>   .../devicetree/bindings/net/dsa/mediatek,mt7530.yaml       | 7 +++++++
>>   1 file changed, 7 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml
>> index 90b3582b7619..e29fb8693498 100644
>> --- a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml
>> +++ b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml
>> @@ -73,6 +73,13 @@ description: |
>>   
>>         Check out example 7.
>>   
>> +  The MT7530 and MT7531 switches are capable of being operated in "passthrough"
>> +  mode. In this mode, traffic is unconditionally passed between the CPU port
>> +  and the DSA port which links to a second switch. To use passthrough mode, the
>> +  upstream switch is configured with a DSA link to the downstream switch. In
>> +  passthrough mode the upstream switch is restricted, with no other ports or
>> +  switch configuration allowed.
>> +
>>   properties:
>>     compatible:
>>       oneOf:
> Looking at just what is here, all i see is a comment. There is no new
> property? Yet the subject is "add passthrough mode"?


Indeed, I used "add" to mean "add documentation of". Per my reply on 
patch 3, I think we really prefer to avoid special properties and let 
this constitute (very) limited support for a switch hierarchy.

If there's another verb you think makes a better commit line, I'd be 
happy to adjust.


Thanks,

Caleb


>
> 	Andrew
Technical Details
Message-ID: <521b930f-0bf9-4373-bfbf-3e2570661ec9@cjdns.fr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-352823-linux-kernel-netdev=dewy.ru
References: <20261028011317.1557238-1-cjd@cjdns.fr> <20261028011317.1557238-3-cjd@cjdns.fr> <a031f089-0b96-4fc0-b878-6af13414524f@lunn.ch>

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-352823-linux-kernel-netdev=dewy.ru
From: cjd@cjdns.fr (Caleb James DeLisle)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH v3 2/7] dt-bindings: net: dsa: mediatek,mt7530: add
 passthrough mode
Date: Wed, 28 Oct 2026 12:27:18 +0100
Organization: Usenet Network
Message-ID: <521b930f-0bf9-4373-bfbf-3e2570661ec9@cjdns.fr>
References: <20261028011317.1557238-1-cjd@cjdns.fr>
 <20261028011317.1557238-3-cjd@cjdns.fr>
 <a031f089-0b96-4fc0-b878-6af13414524f@lunn.ch>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="1758173"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:ztbAoiyREWeK/jq2FO/bkwuES6g= sha256:2kq4WZEpj7ewQJg8v6h0Ae7v2f8E6fkCp5yLLfPURLU=
	sha1:zoW5z3RpLm/bFwBeH1wSjxyi+YE= sha256:H+tqIvx9xBHFzkck4aW886zal9dZvaLGb7BBRZwaClU=
Content-Language: en-US
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 E9F90125C35; Wed, 28 Oct 2026 14:28:00 +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.25,
	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=cjdns.fr
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 x4O066PX924y;
	Wed, 28 Oct 2026 14:27:58 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-352823-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=cjdns.fr
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id E638C125C32; Wed, 28 Oct 2026 14:27:47 +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 711992711F; Wed, 28 Oct 2026 11:27:39 +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=1793186858;
	b=dLkthoP84qYuFS73T22Ye/UKKkN0PYDJqSrw7zEzkQWR0BZJYYJMPJC/VtLuYPxwidQF
	 z026eKxOozKO42AaOsZIWiTtPgEPGBQ3WRU4ZQK94CACl7o3QgDjalCEvZpF716zwhaJR
	 KmMporb6bsUhVqOiZ7MssvIq+rLaxq1IKBIXGJbOdKm6djsG6M44uS81eiMGiXRN3N8n1
	 464ZQq7UBbQS35oP3jVuDWPxATr6R+WmEr8Nz4DriO/QL/z+D20G7AT85u6HWt12yXs4t
	 rHgMu7yHFAfakLWem7LjIpaJdUk15qwLMYNTxhn1WoglPwe6wxnz2SOki/NAVzQWJ8w==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793186858;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
	 Message-ID:Date:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 User-Agent:Subject:To:Cc:References:Content-Language:From:In-Reply-To:
	 Content-Type:Content-Transfer-Encoding:X-Last-TLS-Session-Version;
	bh=CevGQp+s1w1J24KtaW8+NnlonqWYYMxxCOLZ2QIESgY=;
	b=sqVdweRMefQIYneWnvIwCNceRqYA6aCOt7ad2sESr5TohnuLCIwqka4a0h2i+NY/ilVq
	 R8yA5xN8Pcy6bgbZBVRGSHbIwSZEXRqcBxPqNnQ3lmuySnAQoceUwV0VglP6OXQS4asy+
	 pJY5C/vYXKJ6uVCCVWX2bG1jEokWPBUx4IVjB5Jnlii7YylpOlH289/OfayJY5TT6EKL8
	 qfUGH4xMXU7GJkfl5KYe/I7SxVgTasa59oCkG4Mne2UpqXrH4nA/EjN5hE8QykGy8tEXK
	 k1wuNWw69dFGQPUl0fMQKdLwgGVbsgRllG4zGirg2YoY7pGAxu63RTbgtDmgVubJ74w==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=cjdns.fr header.i=@cjdns.fr header.a=rsa-sha256 header.s=dkim header.b="Pl1km/oF";
	dmarc=pass header.from=cjdns.fr;
	spf=pass smtp.mailfrom=cjdns.fr;
	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 C00A4606A324;
	Wed, 28 Oct 2026 11:27:38 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=cjdns.fr header.i=@cjdns.fr header.a=rsa-sha256 header.s=dkim header.b=Pl1km/oF
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=5.135.140.105
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793186853;
	b=j1xQEbLXbmFHsjP683rwb59L/rtDe6wYBO0/nVrPxArjRC7niW1gDco1id9xZtv3nCmQ
	 FH3FR01f4J6XrRzqZOW/7s3S7JarKTkdtLe1L6yaYVr684A5n9G+ZpG7/3nGNN0xj4zKQ
	 TWe8XECeUherzP7kN15C5m3x9p+etWI3p2DhUwXhEFoMu8l3Xlcc1suyk2DNMwXMQGZgT
	 RFryvQKJMdfK0GZQv/DrwZoYHEBbD8OjSUKNg/rIGu15dqy/IH6LG17ILINtSUtTnveFq
	 nOo68xjQbuFjmLCiBOwiFWYFtT4f/D7sizCgT014tmp+sSpsUwsIgWUciRjFJAy7iug==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793186853;
	h=DMARC-Filter:Received:DKIM-Signature:Message-ID:Date:MIME-Version:
	 User-Agent:Subject:To:Cc:References:Content-Language:From:In-Reply-To:
	 Content-Type:Content-Transfer-Encoding:X-Last-TLS-Session-Version;
	bh=CevGQp+s1w1J24KtaW8+NnlonqWYYMxxCOLZ2QIESgY=;
	b=MmLuCSefeJ86U4toFi7PLf1F8KQmo0y6igbvsYafFIrznekM0RxKJsUbLdnbAogliq6N
	 xuvoo2Srffbi8DMUjhox/YhcbRK0O36LYZiEaoH71TFsSHq9S8CnjAlduysd32HfnPaKm
	 hrzz7jA9qR7f/IjSne/Nmc3+cBeutU0o5OjAoMTmP25rtYO3BXNdWUmgQ/2ZDRYXwPZcQ
	 E5xGvrrkal866xZVpcbzhkxvwQuWLM8mRnsRVgGYKAB4U5axBFAD2VF5A6AONLseeBWtP
	 m/Q4ZMPJ29IUVGViIZ7WMIptGEWYCTL1GOcVp3pIQ1w3dKXjHYfn4Ml7cGbbLBIv16w==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=cjdns.fr;
	spf=pass smtp.mailfrom=cjdns.fr;
	dkim=pass header.d=cjdns.fr header.i=@cjdns.fr header.a=rsa-sha256 header.s=dkim header.b="Pl1km/oF";
	arc=none smtp.remote-ip=5.135.140.105
X-Received: from mail.cjdns.fr (mail.cjdns.fr [5.135.140.105])
	(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 78C1A606A31A;
	Wed, 28 Oct 2026 11:27:32 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 78C1A606A31A
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=cjdns.fr
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cjdns.fr
X-Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id E16F415A508;
	Wed, 28 Oct 2026 12:27:19 +0100 (CET)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cjdns.fr; s=dkim;
	t=1793186847; h=from:subject:date:message-id:to:cc:mime-version:content-type:
	 content-transfer-encoding:content-language:in-reply-to:references;
	bh=CevGQp+s1w1J24KtaW8+NnlonqWYYMxxCOLZ2QIESgY=;
	b=Pl1km/oFujov7U9vn/7PmrQGLNFYnU/cP8SNsfDLDBHYvir/Jn3mahgOhSPuJ59sYmoqvX
	CfOXb/EfnQu1Fn8NE1WUxyynR5JsDereRbofEGGwlD/NFgF7DKvyr0ox4QXGIZ+gjncfiY
	47cetQ+qi5KEc/xrFTURm/7nbjl7vLJ28+DQPyJV9dM3nEMk+rY/tVEPklt+RYqb8xcdQ+
	Lcvi+/GQIN751WRGVRpruLaIEuzSfKbnhhlWI9YAODcHgFIQEChTpqO39jzPze0WX0BEdF
	m2RotoTUCr+dBL60t14SfOfG+ZNBN3sN6kzA8w57hxRpzSwmlSgSesO540Hcnw==
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-User-Agent: Mozilla Thunderbird Beta
X-Cc: netdev@vger.kernel.org, olteanv@gmail.com, davem@davemloft.net,
 edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh@kernel.org,
 krzk+dt@kernel.org, conor+dt@kernel.org, matthias.bgg@gmail.com,
 angelogioacchino.delregno@collabora.com, chester.a.unal@arinc9.com,
 daniel@makrotopia.org, linux@armlinux.org.uk, arinc.unal@arinc9.com,
 Landen.Chao@mediatek.com, dqfext@gmail.com, sean.wang@mediatek.com,
 devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
 linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org,
 naseefkm@gmail.com, b.larsson@gmx.com
X-In-Reply-To: <a031f089-0b96-4fc0-b878-6af13414524f@lunn.ch>
X-Last-TLS-Session-Version: TLSv1.3