๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #19813

Re: [PATCH net-next] net: dsa: tag_rtl8_4: add support for RTL9607C tag variant

#19813
From: Andrew Lunn
Date: Fri, 20 Nov 2026 13:10
24 lines
9453 bytes
On Fri, Nov 20, 2026 at 01:09:42PM +0100, Alvin ล ipraga wrote:
> On Thu, Nov 19, 2026 at 09:50:51PM +0500, Rustam Adilov wrote:
> > The RTL9607C family of SoCs have an embdedded switch that utilizes
> > the same Realtek CPU Tag protocol 4 with 8 bytes in size but have
> > a bit different of a layout. And that layout is also different for
> > TX versus RX sides and introduces new fields not seen by RTL8_4.
> > 
> > Add basic necessities for this cpu tag variant to function.
> > 
> > Tested-by: Taiga Ogawa <zectaiga@gmail.com>
> > Signed-off-by: Rustam Adilov <adilov@disroot.org>
> > ---
> > Tested on OpenWrt with 6.18 kernel version [1].
> 
> Mainline doesn't have the requisite DSA driver to make use of this
> protocol. Andrew, is it normal to accept tag protocol drivers without
> the corresponding DSA driver?

At minimum, i would like to know the DSA driver is on the way. It
could be posted as an RFC. Best would be to make it a patch series,
the tag driver and a minimal DSA driver. That would be normal.

	Andrew
Technical Details
Message-ID: <e9964125-48a8-4a0a-aedf-1c22aed891c4@lunn.ch>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srv.newsdeef.eu!newsfeed.endofthelinebbs.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-367944-linux-kernel-netdev=dewy.ru
References: <20261119165129.26693-1-adilov@disroot.org> <awA2z07l0ZvzcWtc@analog.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srv.newsdeef.eu!newsfeed.endofthelinebbs.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-367944-linux-kernel-netdev=dewy.ru
From: andrew@lunn.ch (Andrew Lunn)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next] net: dsa: tag_rtl8_4: add support for RTL9607C
 tag variant
Date: Fri, 20 Nov 2026 14:10:41 +0100
Organization: Usenet Network
Message-ID: <e9964125-48a8-4a0a-aedf-1c22aed891c4@lunn.ch>
References: <20261119165129.26693-1-adilov@disroot.org>
 <awA2z07l0ZvzcWtc@analog.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3165809"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Z1pUWNz2XAzJVpzNu96yRGW3qCc= sha256:+YRr4jy8V1KD4E73AktbsTAxtZRwFb0zeTzcH+TUjrs=
	sha1:57P1veu2xtAlY5rylczKrjjbkLc= sha256:X5ZfbiEGDHSbKBTaOoCu8em+vflCmOqlFWs+UMT98Gg=
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 825981159A4; Fri, 20 Nov 2026 16:11:33 +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 RcMcY0ksbZor;
	Fri, 20 Nov 2026 16:11:29 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-367944-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id B9F9D115995; Fri, 20 Nov 2026 16:11:19 +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 283E429AB8; Fri, 20 Nov 2026 13:10:52 +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=1795180251;
	b=wgQnJCb2Y5cIrxMo45cSuw9POwHwp/rFmirpWI7TZUzcSxHvxXFTRldsGg9WHRinTbb7
	 xxBRLfuGBxPLYs3YpT7wrJCR5yGYMFUl4KuUofUPFarJCMs0pPVAC/cGR2R4QAabU6wvL
	 XbSsL1idAn8Ie42ZT9NoU/HG7tHklbtHTvd7bpxegGJqXHOjc4wPLH4rBbwoBUf0m739S
	 ntYRwvuusujswu9EnF4Gv4eiGTqLf/p8TIfdI0okkG57Yt4jjdQRbnVBuAR4TW6Yjwf+P
	 0iUmCGNTRbvwJuLBYM8AWATBWhBv7ozOJv9i5hZEXK8j+Xram2m87XubTsuw0AxleOQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795180251;
	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:
	 Content-Transfer-Encoding:In-Reply-To;
	bh=vjG9ZmNvZoaC5K/Y526JjO1OvZEaHYF3hX86jRUEixU=;
	b=za8gHk+fjcY8yJqbfgYe2Sc4ZNsF0mwXpDh6Js1NCVD2m46+yfxr7hLyPb8naAeEWdHE
	 5KmNflZ0OKo890xSpfXvq+5Bqi2vgZwFJJDsgXsap8Tbx3zkp1wvflDdnsJCes8Pi7XID
	 ok4iI6HGoUfgn+SWHFPUf9QFIpai+M2CHd2xYGfdYzYgSKNLQxno3Ydk5yUiVFljn6WH0
	 bkJBCgFZ0A3KSqpf5IcFrd2MDJ4aDypFtOvD4PeE6Vs8zgJMxtJIKp+4MTHjNU93kDAeE
	 gtDSagQ/SL2sshnTlHMvD6OJSnjb5N6qBiqaeJV+TqGxg6BaXAfUYqkNMAmJ3LabrbQ==
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=TfwImNmM;
	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 72A45606A335;
	Fri, 20 Nov 2026 13:10:51 +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=TfwImNmM
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=1795180250;
	b=WeEQ+sxYtShUkCehaHmjiRgVZ1JkuLRksZvKrtaCONJphv08N/79QmlAOydiXW9rx21R
	 pmgdGiDpoiaHCc/2VcxW2oYMkwmuvvei5+dZv6YitqMJCStvEq9+c1ZDo9oiRa/mBsPkS
	 JxZaZcas6sIr46ikxcjto8B1iLnPLZ0q0tJ5fLwcAwzmXqzUB18R6DWqkoON6ECxNG4dm
	 w1sGnPzfjF+jOOX4XTvHbQRm+26sMgr44owfxRrG6jFAPG+hsGnGYyg0/xQNbDYzWuPnY
	 HzWGAWFv6xKN/cb9sZg65Zgzlp7yyNmjvLERMQfQ+rdxcGPyoKuAnO+v60eTJCYT9Yg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795180250;
	h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject:
	 Message-ID:References:MIME-Version:Content-Type:Content-Disposition:
	 Content-Transfer-Encoding:In-Reply-To;
	bh=vjG9ZmNvZoaC5K/Y526JjO1OvZEaHYF3hX86jRUEixU=;
	b=uWYwRKL72+NWXIz45kjqURZOUOnIb63M7tjYjz8Dk5wfMP2MPCRvIY0oGjz9f6ZOEw/K
	 M+6c63Zv+Ix66a7XGgwAhzqd0SSgiS1bf6ki6t6jL6X1zrBJJMBYSTpW0bSOeXkBS8UgC
	 Dq2f5a/ZQivaKLIyg0Aa3ea9tXqblQWOtgVINIwf59nNODEaBEtbhB7RmdZ2y715IRiar
	 wUDPvgzOdCHIXeq8qLJ1l/SqNrChp9YUme9MdcI0OrHeC/CEr6DFFIkQgwEidmS/tGSJW
	 r6DKdGhEGydsbTWjINp7mZIJcLA51jHHKnMYUpI3ZglNruOVwGlmjACSFFooxot3MAw==
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=TfwImNmM;
	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 50580606A339;
	Fri, 20 Nov 2026 13:10:50 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 50580606A339
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-Transfer-Encoding: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=vjG9ZmNvZoaC5K/Y526JjO1OvZEaHYF3hX86jRUEixU=; b=Tf
	wImNmM2JCSYXU+nQeXN1DZMzfOHvN9ykh6/nd+SKnCH6PC9kiBGt1iy7I7FjUDGg8xlinIRrU6cF7
	pWJMkYdOBV6GgM2ZsuSHIiqlU6BaJOjK+WVY8ZEb43i+nOUFie45no2KcBVlbMdcyAY78qZXafCiR
	QVbrnqU1+vJS0Os=;
X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2)
	(envelope-from <andrew@lunn.ch>)
	id 1xUOO1-000ILG-QY; Fri, 20 Nov 2026 14:10:41 +0100
X-Cc: Rustam Adilov <adilov@disroot.org>, 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>,
	Simon Horman <horms@kernel.org>, Linus Walleij <linusw@kernel.org>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	Taiga Ogawa <zectaiga@gmail.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: <awA2z07l0ZvzcWtc@analog.com>