lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <VI1PR0402MB280019AE076EB26885021493E0610@VI1PR0402MB2800.eurprd04.prod.outlook.com>
Date:   Tue, 29 Oct 2019 09:33:36 +0000
From:   Ioana Ciornei <ioana.ciornei@....com>
To:     Andrew Lunn <andrew@...n.ch>
CC:     "davem@...emloft.net" <davem@...emloft.net>,
        "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
        Laurentiu Tudor <laurentiu.tudor@....com>,
        "f.fainelli@...il.com" <f.fainelli@...il.com>,
        "linux@...linux.org.uk" <linux@...linux.org.uk>
Subject: RE: [PATCH net-next v3 5/5] net: documentation: add docs for MAC/PHY
 support in DPAA2


> 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?

We do not connect DPMACs to other DPMAC. As you said, for direct offload communication
between software partitions we use DPNI-DPNI connections, without any DPMAC involvement.

> But can you connect a DPMAC to a switch?

Yes, you can connect a DPMAC to a switch port.
This is why I made this code generic, so that once I move the dpaa2-ethsw from
staging I can directly integrate it with the DPMAC support without duplicating code.

> 
> 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

Powered by Openwall GNU/*/Linux Powered by OpenVZ