Re: [PATCH net-next v13 01/13] rtase: Add pci table supported in this module
From: Andrew Lunn
Date: Sat Dec 02 2023 - 11:36:24 EST
On Fri, Dec 01, 2023 at 08:36:02PM -0800, Jakub Kicinski wrote:
> On Thu, 30 Nov 2023 19:43:15 +0800 Justin Lai wrote:
> > + * Below is a simplified block diagram of the chip and its relevant interfaces.
> > + *
> > + * *************************
> > + * * *
> > + * * CPU network device *
> > + * * *
> > + * * +-------------+ *
> > + * * | PCIE Host | *
> > + * ***********++************
> > + * ||
> > + * PCIE
> > + * ||
> > + * ********************++**********************
> > + * * | PCIE Endpoint | *
> > + * * +---------------+ *
> > + * * | GMAC | *
> > + * * +--++--+ Realtek *
> > + * * || RTL90xx Series *
> > + * * || *
> > + * * +-------------++----------------+ *
> > + * * | | MAC | | *
> > + * * | +-----+ | *
> > + * * | | *
> > + * * | Ethernet Switch Core | *
> > + * * | | *
> > + * * | +-----+ +-----+ | *
> > + * * | | MAC |...........| MAC | | *
> > + * * +---+-----+-----------+-----+---+ *
> > + * * | PHY |...........| PHY | *
> > + * * +--++-+ +--++-+ *
> > + * *************||****************||***********
> > + *
> > + * The block of the Realtek RTL90xx series is our entire chip architecture,
> > + * the GMAC is connected to the switch core, and there is no PHY in between.
> > + * In addition, this driver is mainly used to control GMAC, but does not
> > + * control the switch core, so it is not the same as DSA.
>
> Okay, but you seem to only register one netdev.
>
> Which MAC is it for?
The GMAC one. This is going to be a DSA system, and this driver is for
the conduit MAC the CPU uses. At some point, i hope there is a DSA
driver added, or the existing realtek driver is extended to support
this switch.
Andrew