public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Daniel Golle <daniel@makrotopia.org>
To: "Sverdlin, Alexander" <alexander.sverdlin@siemens.com>
Cc: "hauke@hauke-m.de" <hauke@hauke-m.de>,
	"olteanv@gmail.com" <olteanv@gmail.com>,
	"davem@davemloft.net" <davem@davemloft.net>,
	"andrew@lunn.ch" <andrew@lunn.ch>,
	"linux@armlinux.org.uk" <linux@armlinux.org.uk>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"arkadis@mellanox.com" <arkadis@mellanox.com>,
	"kuba@kernel.org" <kuba@kernel.org>,
	"pabeni@redhat.com" <pabeni@redhat.com>,
	"edumazet@google.com" <edumazet@google.com>,
	"f.fainelli@gmail.com" <f.fainelli@gmail.com>,
	"horms@kernel.org" <horms@kernel.org>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"john@phrozen.org" <john@phrozen.org>,
	"Stockmann, Lukas" <lukas.stockmann@siemens.com>,
	"yweng@maxlinear.com" <yweng@maxlinear.com>,
	"fchan@maxlinear.com" <fchan@maxlinear.com>,
	"lxu@maxlinear.com" <lxu@maxlinear.com>,
	"jpovazanec@maxlinear.com" <jpovazanec@maxlinear.com>,
	"Schirm, Andreas" <andreas.schirm@siemens.com>,
	"Christen, Peter" <peter.christen@siemens.com>,
	"ajayaraman@maxlinear.com" <ajayaraman@maxlinear.com>,
	"bxu@maxlinear.com" <bxu@maxlinear.com>,
	"lrosu@maxlinear.com" <lrosu@maxlinear.com>
Subject: Re: [PATCH RFC net-next 20/23] net: dsa: lantiq_gswip: add registers specific for MaxLinear GSW1xx
Date: Thu, 21 Aug 2025 19:37:02 +0100	[thread overview]
Message-ID: <aKdnTk7bjWEyty5H@pidgin.makrotopia.org> (raw)
In-Reply-To: <d867cfec3cc144f1404420ab868aefc0779cbcd9.camel@siemens.com>

Hi Alenxander,

thank you for the thorough review of the RFC series!

On Thu, Aug 21, 2025 at 06:11:36PM +0000, Sverdlin, Alexander wrote:
> On Sat, 2025-08-16 at 20:56 +0100, Daniel Golle wrote:
> > [...]
> > +#define GSW1XX_PORTS				6
>  
> a tricky questions for you ;-)
> 
> There are scarce references to Port 6 across GSW145 datasheet, the 7th port.
> One could also enable/disable it (bit P6) in GSWIP_CFG (0xF400).
> 
> Yes, it's sold as 6-port switch, but the question is, shall the port 6 be
> disabled to save power and avoid unnecessary EMI?

I understood that port 6 can be used for packet injection or monitoring
over the management interface (MDIO or SPI). For a moment I thought it'd
be cool to implement a (very slow) Ethernet netdev allowing to use that
feature in Linux -- but it would be very very slow and also useless on
systems which anyway got either port 4 or 5 connected to the host as CPU
port. I guess it is intended for basic managed switches which come with
a simple microcontroller connected to the GSW1xx chip: ~1 MBit/s
"Ethernet-over-MDIO" or (slightly faster due to duplex)
"Ethernet-over-SPI" can be fast enough to serve a simple Web UI, Telnet,
SSH, or respond to SNMP or LLDP, for example.
I wonder if that port also supports the DSA special tag (insertion and
egress)...

Anyway, fantasies aside, at least for now it does make sense to disable
it, though I wouldn't expect significant power saving or reduced EMI
from that (but you never know...)


      reply	other threads:[~2025-08-21 18:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-16 19:56 [PATCH RFC net-next 20/23] net: dsa: lantiq_gswip: add registers specific for MaxLinear GSW1xx Daniel Golle
2025-08-21 18:11 ` Sverdlin, Alexander
2025-08-21 18:37   ` Daniel Golle [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aKdnTk7bjWEyty5H@pidgin.makrotopia.org \
    --to=daniel@makrotopia.org \
    --cc=ajayaraman@maxlinear.com \
    --cc=alexander.sverdlin@siemens.com \
    --cc=andreas.schirm@siemens.com \
    --cc=andrew@lunn.ch \
    --cc=arkadis@mellanox.com \
    --cc=bxu@maxlinear.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=f.fainelli@gmail.com \
    --cc=fchan@maxlinear.com \
    --cc=hauke@hauke-m.de \
    --cc=horms@kernel.org \
    --cc=john@phrozen.org \
    --cc=jpovazanec@maxlinear.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=lrosu@maxlinear.com \
    --cc=lukas.stockmann@siemens.com \
    --cc=lxu@maxlinear.com \
    --cc=netdev@vger.kernel.org \
    --cc=olteanv@gmail.com \
    --cc=pabeni@redhat.com \
    --cc=peter.christen@siemens.com \
    --cc=yweng@maxlinear.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox