All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Ioana Ciornei <ioana.ciornei@nxp.com>
Cc: davem@davemloft.net, netdev@vger.kernel.org,
	laurentiu.tudor@nxp.com, f.fainelli@gmail.com,
	linux@armlinux.org.uk
Subject: Re: [PATCH net-next v3 5/5] net: documentation: add docs for MAC/PHY support in DPAA2
Date: Tue, 29 Oct 2019 03:08:10 +0100	[thread overview]
Message-ID: <20191029020810.GJ15259@lunn.ch> (raw)
In-Reply-To: <1571998630-17108-6-git-send-email-ioana.ciornei@nxp.com>

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

  reply	other threads:[~2019-10-29  2:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-25 10:17 [PATCH net-next v3 0/5] dpaa2-eth: add MAC/PHY support through phylink Ioana Ciornei
2019-10-25 10:17 ` [PATCH net-next v3 1/5] bus: fsl-mc: export device types present on the bus Ioana Ciornei
2019-10-25 10:17 ` [PATCH net-next v3 2/5] bus: fsl-mc: add the fsl_mc_get_endpoint function Ioana Ciornei
2019-10-29  1:45   ` Andrew Lunn
2019-10-29  9:26     ` Ioana Ciornei
2019-10-30 21:59   ` David Miller
2019-10-30 22:26     ` Ioana Ciornei
2019-10-25 10:17 ` [PATCH net-next v3 3/5] dpaa2-eth: update the TX frame queues on DPNI_IRQ_EVENT_ENDPOINT_CHANGED Ioana Ciornei
2019-10-25 10:17 ` [PATCH net-next v3 4/5] dpaa2-eth: add MAC/PHY support through phylink Ioana Ciornei
2019-10-29  1:55   ` Andrew Lunn
2019-10-25 10:17 ` [PATCH net-next v3 5/5] net: documentation: add docs for MAC/PHY support in DPAA2 Ioana Ciornei
2019-10-29  2:08   ` Andrew Lunn [this message]
2019-10-29  9:33     ` Ioana Ciornei

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=20191029020810.GJ15259@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=f.fainelli@gmail.com \
    --cc=ioana.ciornei@nxp.com \
    --cc=laurentiu.tudor@nxp.com \
    --cc=linux@armlinux.org.uk \
    --cc=netdev@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.