[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191029020810.GJ15259@lunn.ch>
Date: Tue, 29 Oct 2019 03:08:10 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Ioana Ciornei <ioana.ciornei@....com>
Cc: davem@...emloft.net, netdev@...r.kernel.org,
laurentiu.tudor@....com, f.fainelli@...il.com,
linux@...linux.org.uk
Subject: Re: [PATCH net-next v3 5/5] net: documentation: add docs for MAC/PHY
support in DPAA2
> +DPAA2 Software Architecture
> +---------------------------
> +
> +Among other DPAA2 objects, the fsl-mc bus exports DPNI objects (abstracting a
> +network interface) and DPMAC objects (abstracting a MAC). The dpaa2-eth driver
> +probes on the DPNI object and connects to and configures a DPMAC object with
> +the help of phylink.
Does a DPMAC object always connect to a PHY? Can a DPMAC connect to
another DPMAC? I guess you would not normally do that, you would
connect a DPNI to a DPNI? But can you connect a DPMAC to a switch?
I guess it actually does not matter. Phylib/Phylink has the concept of
a fixed-link, which is used when there is no PHY and you need to
emulate it in order to configure the MAC. That will work here.
Andrew
Powered by blists - more mailing lists