Re: [PATCH net-next 2/2] net: dsa: microchip: add KSZ8 change_tag_protocol support
From: Pieter
Date: Mon Aug 19 2024 - 09:28:05 EST
Hi Andrew,
> > Previously I could not use DSA because of the macb driver limitation, now
> > fixed (max_mtu increase, submitted here). Once I got that working, I notice
> > that full DSA was not a compatible use case for my board because of
> > requiring the conduit interface to behave as a regular ethernet interface.
> > So it's really the unmanaged switch case, which I though I motivated well in
> > the patch description here (PHY library, ethtool and switch WoL management).
>
> If its an unmanaged switch, you don't need DSA, or anything at all
> other than MACB. Linux is just a plain host connected to a switch. It
> is a little unusual that the switch is integrated into the same box,
> rather than being a patch cable away, bit linux does not really see
> this difference compared to any other unmanaged switch.
That's true in theory but not in practice because without DSA I can't use
the ksz_spi.c driver which gives me access to the full register set. I need
this for the KSZ8794 I'm using to:
- apply the EEE link drop erratum from ksz8795.c
- active port WoL which is connected through its PME_N pin
- use iproute2 for PHY and connection debugging (link up/down,
packets statistics etc.)
If there's another way to accomplish the above without DSA, I'd be
happy to learn about it.
Cheers, Pieter