From: "Sverdlin, Alexander" <alexander.sverdlin@siemens.com>
To: "daniel@makrotopia.org" <daniel@makrotopia.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Cc: "andrew@lunn.ch" <andrew@lunn.ch>,
"olteanv@gmail.com" <olteanv@gmail.com>,
"robh@kernel.org" <robh@kernel.org>,
"lxu@maxlinear.com" <lxu@maxlinear.com>,
"john@phrozen.org" <john@phrozen.org>,
"davem@davemloft.net" <davem@davemloft.net>,
"yweng@maxlinear.com" <yweng@maxlinear.com>,
"bxu@maxlinear.com" <bxu@maxlinear.com>,
"edumazet@google.com" <edumazet@google.com>,
"pabeni@redhat.com" <pabeni@redhat.com>,
"conor+dt@kernel.org" <conor+dt@kernel.org>,
"fchan@maxlinear.com" <fchan@maxlinear.com>,
"ajayaraman@maxlinear.com" <ajayaraman@maxlinear.com>,
"krzk+dt@kernel.org" <krzk+dt@kernel.org>,
"hauke@hauke-m.de" <hauke@hauke-m.de>,
"horms@kernel.org" <horms@kernel.org>,
"kuba@kernel.org" <kuba@kernel.org>,
"jpovazanec@maxlinear.com" <jpovazanec@maxlinear.com>,
"linux@armlinux.org.uk" <linux@armlinux.org.uk>
Subject: Re: [PATCH net-next v7 12/12] net: dsa: add driver for MaxLinear GSW1xx switch family
Date: Tue, 4 Nov 2025 08:03:07 +0000 [thread overview]
Message-ID: <8f36e6218221bb9dad6aabe4989ee4fc279581ce.camel@siemens.com> (raw)
In-Reply-To: <b567ec1b4beb08fd37abf18b280c56d5d8253c26.1762170107.git.daniel@makrotopia.org>
Hi Daniel,
On Mon, 2025-11-03 at 12:20 +0000, Daniel Golle wrote:
> Add driver for the MaxLinear GSW1xx family of Ethernet switch ICs which
> are based on the same IP as the Lantiq/Intel GSWIP found in the Lantiq VR9
> and Intel GRX MIPS router SoCs. The main difference is that instead of
> using memory-mapped I/O to communicate with the host CPU these ICs are
> connected via MDIO (or SPI, which isn't supported by this driver).
> Implement the regmap API to access the switch registers over MDIO to allow
> reusing lantiq_gswip_common for all core functionality.
>
> The GSW1xx also comes with a SerDes port capable of 1000Base-X, SGMII and
> 2500Base-X, which can either be used to connect an external PHY or SFP
> cage, or as the CPU port. Support for the SerDes interface is implemented
> in this driver using the phylink_pcs interface.
>
> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
thank you for the patch!
Finally I was able to run selftest/drivers/net/dsa/local_termination.sh
with only 2 unexpected failures on a GSW145 hardware (with TI AM62
host CPU and its CPSW (not in switchdev mode) as CPU interface).
The problems I had in the past were neither related to the GSW145 code,
nor to am65-cpsw-nuss, but to the test itself:
https://lore.kernel.org/all/20251104061723.483301-1-alexander.sverdlin@siemens.com/
The remaining failing test cases are:
TEST: VLAN over vlan_filtering=1 bridged port: Unicast IPv4 to unknown MAC address [FAIL]
reception succeeded, but should have failed
TEST: VLAN over vlan_filtering=1 bridged port: Unicast IPv4 to unknown MAC address, allmulti [FAIL]
reception succeeded, but should have failed
So far I didn't notice any problems with untagged read-word IP traffic over
GSW145 ports.
Do you have a suggestion what could I check further regarding the failing
test cases? As I understood, all of them pass on your side?
> ---
> v7: no changes
>
> v6: no changes
>
> v5: no changes
>
> v4:
> * break out PCS reset into dedicated function
> * drop hacky support for reverse-SGMII
> * remove again the custom properties for TX and RX inverted SerDes
> PCS in favor of waiting for generic properties to land
>
> v3:
> * avoid disrupting link when calling .pcs_config()
> * sort functions and phylink_pcs_ops instance in same order as
> struct definition
> * always set bootstrap override bits and add explanatory comment
> * move definitions to separate header file
> * add custom properties for TX and RX inverted data on the SerDes
> interface
>
> v2: remove left-overs of 4k VLAN support (will be added in future)
>
> since RFC: no changes
>
> drivers/net/dsa/lantiq/Kconfig | 12 +
> drivers/net/dsa/lantiq/Makefile | 1 +
> drivers/net/dsa/lantiq/lantiq_gswip.h | 1 +
> drivers/net/dsa/lantiq/mxl-gsw1xx.c | 733 ++++++++++++++++++++++++
> drivers/net/dsa/lantiq/mxl-gsw1xx.h | 126 ++++
> drivers/net/dsa/lantiq/mxl-gsw1xx_pce.h | 154 +++++
> 6 files changed, 1027 insertions(+)
> create mode 100644 drivers/net/dsa/lantiq/mxl-gsw1xx.c
> create mode 100644 drivers/net/dsa/lantiq/mxl-gsw1xx.h
> create mode 100644 drivers/net/dsa/lantiq/mxl-gsw1xx_pce.h
--
Alexander Sverdlin
Siemens AG
www.siemens.com
next prev parent reply other threads:[~2025-11-04 8:03 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-03 12:16 [PATCH net-next v7 00/12] net: dsa: lantiq_gswip: Add support " Daniel Golle
2025-11-03 12:18 ` [PATCH net-next v7 01/12] net: dsa: lantiq_gswip: split into common and MMIO parts Daniel Golle
2025-11-03 12:18 ` [PATCH net-next v7 02/12] net: dsa: lantiq_gswip: support enable/disable learning Daniel Golle
2025-11-03 12:19 ` [PATCH net-next v7 03/12] net: dsa: lantiq_gswip: support Energy Efficient Ethernet Daniel Golle
2025-11-03 12:19 ` [PATCH net-next v7 04/12] net: dsa: lantiq_gswip: set link parameters also for CPU port Daniel Golle
2025-11-03 12:19 ` [PATCH net-next v7 05/12] net: dsa: lantiq_gswip: define and use GSWIP_TABLE_MAC_BRIDGE_VAL1_VALID Daniel Golle
2025-11-03 12:19 ` [PATCH net-next v7 06/12] dt-bindings: net: dsa: lantiq,gswip: add MaxLinear RMII refclk output property Daniel Golle
2025-11-04 7:47 ` Krzysztof Kozlowski
2025-11-03 12:19 ` [PATCH net-next v7 07/12] net: dsa: lantiq_gswip: add vendor property to setup MII refclk output Daniel Golle
2025-11-03 12:19 ` [PATCH net-next v7 08/12] dt-bindings: net: dsa: lantiq,gswip: add support for MII delay properties Daniel Golle
2025-11-03 12:20 ` [PATCH net-next v7 09/12] net: dsa: lantiq_gswip: allow adjusting MII delays Daniel Golle
2025-11-03 12:20 ` [PATCH net-next v7 10/12] dt-bindings: net: dsa: lantiq,gswip: add support for MaxLinear GSW1xx switches Daniel Golle
2025-11-04 7:48 ` Krzysztof Kozlowski
2025-11-03 12:20 ` [PATCH net-next v7 11/12] net: dsa: add tagging driver for MaxLinear GSW1xx switch family Daniel Golle
2025-11-03 12:20 ` [PATCH net-next v7 12/12] net: dsa: add " Daniel Golle
2025-11-04 8:03 ` Sverdlin, Alexander [this message]
2025-11-06 14:38 ` Paolo Abeni
2025-11-06 15:26 ` Sverdlin, Alexander
2025-11-06 15:30 ` Vladimir Oltean
2025-11-06 15:27 ` Vladimir Oltean
2025-11-06 16:26 ` Sverdlin, Alexander
2025-11-06 16:36 ` Sverdlin, Alexander
2025-11-06 17:29 ` Vladimir Oltean
2025-11-06 17:36 ` Sverdlin, Alexander
2025-11-06 22:50 ` [PATCH net-next v7 00/12] net: dsa: lantiq_gswip: Add support " patchwork-bot+netdevbpf
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=8f36e6218221bb9dad6aabe4989ee4fc279581ce.camel@siemens.com \
--to=alexander.sverdlin@siemens.com \
--cc=ajayaraman@maxlinear.com \
--cc=andrew@lunn.ch \
--cc=bxu@maxlinear.com \
--cc=conor+dt@kernel.org \
--cc=daniel@makrotopia.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=fchan@maxlinear.com \
--cc=hauke@hauke-m.de \
--cc=horms@kernel.org \
--cc=john@phrozen.org \
--cc=jpovazanec@maxlinear.com \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=lxu@maxlinear.com \
--cc=netdev@vger.kernel.org \
--cc=olteanv@gmail.com \
--cc=pabeni@redhat.com \
--cc=robh@kernel.org \
--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
all inboxes | Powered by JetHome®