From: Russell King - ARM Linux admin <linux@armlinux.org.uk>
To: David Miller <davem@davemloft.net>
Cc: andrew@lunn.ch, linux-doc@vger.kernel.org,
thomas.petazzoni@bootlin.com, ioana.ciornei@nxp.com,
linux-stm32@st-md-mailman.stormreply.com, f.fainelli@gmail.com,
corbet@lwn.net, michal.simek@xilinx.com, joabreu@synopsys.com,
kuba@kernel.org, Mark-MC.Lee@mediatek.com,
sean.wang@mediatek.com, alexandre.torgue@st.com,
hauke@hauke-m.de, radhey.shyam.pandey@xilinx.com,
linux-mediatek@lists.infradead.org, john@phrozen.org,
matthias.bgg@gmail.com, peppe.cavallaro@st.com,
linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org,
vivien.didelot@gmail.com, mcoquelin.stm32@gmail.com,
nbd@nbd.name, olteanv@gmail.com, hkallweit1@gmail.com
Subject: Re: [PATCH net-next v2 0/8] rework phylink interface for split MAC/PCS support
Date: Thu, 27 Feb 2020 22:13:15 +0000 [thread overview]
Message-ID: <20200227221315.GS25745@shell.armlinux.org.uk> (raw)
In-Reply-To: <20200227.120254.241641132362203475.davem@davemloft.net>
On Thu, Feb 27, 2020 at 12:02:54PM -0800, David Miller wrote:
> From: Russell King - ARM Linux admin <linux@armlinux.org.uk>
> Date: Wed, 26 Feb 2020 10:23:12 +0000
>
> > The following series changes the phylink interface to allow us to
> > better support split MAC / MAC PCS setups. The fundamental change
> > required for this turns out to be quite simple.
> >
> > Today, mac_config() is used for everything to do with setting the
> > parameters for the MAC, and mac_link_up() is used to inform the
> > MAC driver that the link is now up (and so to allow packet flow.)
> > mac_config() also has had a few implementation issues, with folk
> > who believe that members such as "speed" and "duplex" are always
> > valid, where "link" gets used inappropriately, etc.
> >
> > With the proposed patches, all this changes subtly - but in a
> > backwards compatible way at this stage.
> >
> > We pass the the full resolved link state (speed, duplex, pause) to
> > mac_link_up(), and it is now guaranteed that these parameters to
> > this function will always be valid (no more SPEED_UNKNOWN or
> > DUPLEX_UNKNOWN here - unless phylink is fed with such things.)
> >
> > Drivers should convert over to using the state in mac_link_up()
> > rather than configuring the speed, duplex and pause in the
> > mac_config() method. The patch series includes a number of MAC
> > drivers which I've thought have been easy targets - I've left the
> > remainder as I think they need maintainer input. However, *all*
> > drivers will need conversion for future phylink development.
> >
> > v2: add ocelot/felix and qca/ar9331 DSA drivers to patch 2, add
> > received tested-by so far.
>
> In order to end the storm in a teacup, I've applied this series.
>
> :-)
>
> Thanks Russell.
Thanks David, I was getting concerned that the teacup might break! :p
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up
According to speedtest.net: 11.9Mbps down 500kbps up
WARNING: multiple messages have this Message-ID (diff)
From: Russell King - ARM Linux admin <linux@armlinux.org.uk>
To: David Miller <davem@davemloft.net>
Cc: andrew@lunn.ch, linux-doc@vger.kernel.org,
thomas.petazzoni@bootlin.com, ioana.ciornei@nxp.com,
linux-stm32@st-md-mailman.stormreply.com, f.fainelli@gmail.com,
corbet@lwn.net, michal.simek@xilinx.com, hkallweit1@gmail.com,
joabreu@synopsys.com, kuba@kernel.org, vivien.didelot@gmail.com,
sean.wang@mediatek.com, alexandre.torgue@st.com,
hauke@hauke-m.de, radhey.shyam.pandey@xilinx.com,
linux-mediatek@lists.infradead.org, john@phrozen.org,
matthias.bgg@gmail.com, peppe.cavallaro@st.com,
linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org,
Mark-MC.Lee@mediatek.com, mcoquelin.stm32@gmail.com,
olteanv@gmail.com, nbd@nbd.name
Subject: Re: [PATCH net-next v2 0/8] rework phylink interface for split MAC/PCS support
Date: Thu, 27 Feb 2020 22:13:15 +0000 [thread overview]
Message-ID: <20200227221315.GS25745@shell.armlinux.org.uk> (raw)
In-Reply-To: <20200227.120254.241641132362203475.davem@davemloft.net>
On Thu, Feb 27, 2020 at 12:02:54PM -0800, David Miller wrote:
> From: Russell King - ARM Linux admin <linux@armlinux.org.uk>
> Date: Wed, 26 Feb 2020 10:23:12 +0000
>
> > The following series changes the phylink interface to allow us to
> > better support split MAC / MAC PCS setups. The fundamental change
> > required for this turns out to be quite simple.
> >
> > Today, mac_config() is used for everything to do with setting the
> > parameters for the MAC, and mac_link_up() is used to inform the
> > MAC driver that the link is now up (and so to allow packet flow.)
> > mac_config() also has had a few implementation issues, with folk
> > who believe that members such as "speed" and "duplex" are always
> > valid, where "link" gets used inappropriately, etc.
> >
> > With the proposed patches, all this changes subtly - but in a
> > backwards compatible way at this stage.
> >
> > We pass the the full resolved link state (speed, duplex, pause) to
> > mac_link_up(), and it is now guaranteed that these parameters to
> > this function will always be valid (no more SPEED_UNKNOWN or
> > DUPLEX_UNKNOWN here - unless phylink is fed with such things.)
> >
> > Drivers should convert over to using the state in mac_link_up()
> > rather than configuring the speed, duplex and pause in the
> > mac_config() method. The patch series includes a number of MAC
> > drivers which I've thought have been easy targets - I've left the
> > remainder as I think they need maintainer input. However, *all*
> > drivers will need conversion for future phylink development.
> >
> > v2: add ocelot/felix and qca/ar9331 DSA drivers to patch 2, add
> > received tested-by so far.
>
> In order to end the storm in a teacup, I've applied this series.
>
> :-)
>
> Thanks Russell.
Thanks David, I was getting concerned that the teacup might break! :p
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up
According to speedtest.net: 11.9Mbps down 500kbps up
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
WARNING: multiple messages have this Message-ID (diff)
From: Russell King - ARM Linux admin <linux@armlinux.org.uk>
To: David Miller <davem@davemloft.net>
Cc: andrew@lunn.ch, linux-doc@vger.kernel.org,
thomas.petazzoni@bootlin.com, ioana.ciornei@nxp.com,
linux-stm32@st-md-mailman.stormreply.com, f.fainelli@gmail.com,
corbet@lwn.net, michal.simek@xilinx.com, hkallweit1@gmail.com,
joabreu@synopsys.com, kuba@kernel.org, vivien.didelot@gmail.com,
sean.wang@mediatek.com, alexandre.torgue@st.com,
hauke@hauke-m.de, radhey.shyam.pandey@xilinx.com,
linux-mediatek@lists.infradead.org, john@phrozen.org,
matthias.bgg@gmail.com, peppe.cavallaro@st.com,
linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org,
Mark-MC.Lee@mediatek.com, mcoquelin.stm32@gmail.com,
olteanv@gmail.com, nbd@nbd.name
Subject: Re: [PATCH net-next v2 0/8] rework phylink interface for split MAC/PCS support
Date: Thu, 27 Feb 2020 22:13:15 +0000 [thread overview]
Message-ID: <20200227221315.GS25745@shell.armlinux.org.uk> (raw)
In-Reply-To: <20200227.120254.241641132362203475.davem@davemloft.net>
On Thu, Feb 27, 2020 at 12:02:54PM -0800, David Miller wrote:
> From: Russell King - ARM Linux admin <linux@armlinux.org.uk>
> Date: Wed, 26 Feb 2020 10:23:12 +0000
>
> > The following series changes the phylink interface to allow us to
> > better support split MAC / MAC PCS setups. The fundamental change
> > required for this turns out to be quite simple.
> >
> > Today, mac_config() is used for everything to do with setting the
> > parameters for the MAC, and mac_link_up() is used to inform the
> > MAC driver that the link is now up (and so to allow packet flow.)
> > mac_config() also has had a few implementation issues, with folk
> > who believe that members such as "speed" and "duplex" are always
> > valid, where "link" gets used inappropriately, etc.
> >
> > With the proposed patches, all this changes subtly - but in a
> > backwards compatible way at this stage.
> >
> > We pass the the full resolved link state (speed, duplex, pause) to
> > mac_link_up(), and it is now guaranteed that these parameters to
> > this function will always be valid (no more SPEED_UNKNOWN or
> > DUPLEX_UNKNOWN here - unless phylink is fed with such things.)
> >
> > Drivers should convert over to using the state in mac_link_up()
> > rather than configuring the speed, duplex and pause in the
> > mac_config() method. The patch series includes a number of MAC
> > drivers which I've thought have been easy targets - I've left the
> > remainder as I think they need maintainer input. However, *all*
> > drivers will need conversion for future phylink development.
> >
> > v2: add ocelot/felix and qca/ar9331 DSA drivers to patch 2, add
> > received tested-by so far.
>
> In order to end the storm in a teacup, I've applied this series.
>
> :-)
>
> Thanks Russell.
Thanks David, I was getting concerned that the teacup might break! :p
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up
According to speedtest.net: 11.9Mbps down 500kbps up
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-02-27 22:13 UTC|newest]
Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-26 10:23 [PATCH net-next v2 0/8] rework phylink interface for split MAC/PCS support Russell King - ARM Linux admin
2020-02-26 10:23 ` Russell King - ARM Linux admin
2020-02-26 10:23 ` Russell King - ARM Linux admin
2020-02-26 10:23 ` [PATCH net-next v2 1/8] net: phylink: propagate resolved link config via mac_link_up() Russell King
2020-02-26 10:23 ` Russell King
2020-02-26 10:23 ` Russell King
2020-02-26 11:06 ` Vladimir Oltean
2020-02-26 11:06 ` Vladimir Oltean
2020-02-26 11:06 ` Vladimir Oltean
2020-02-26 11:55 ` Russell King - ARM Linux admin
2020-02-26 11:55 ` Russell King - ARM Linux admin
2020-02-26 11:55 ` Russell King - ARM Linux admin
2020-02-26 13:00 ` Vladimir Oltean
2020-02-26 13:00 ` Vladimir Oltean
2020-02-26 13:00 ` Vladimir Oltean
2020-02-26 13:36 ` Russell King - ARM Linux admin
2020-02-26 13:36 ` Russell King - ARM Linux admin
2020-02-26 13:36 ` Russell King - ARM Linux admin
2020-02-26 18:21 ` Vladimir Oltean
2020-02-26 18:21 ` Vladimir Oltean
2020-02-26 18:21 ` Vladimir Oltean
2020-02-26 18:22 ` Vladimir Oltean
2020-02-26 18:22 ` Vladimir Oltean
2020-02-26 18:22 ` Vladimir Oltean
2020-02-26 18:25 ` Russell King - ARM Linux admin
2020-02-26 18:25 ` Russell King - ARM Linux admin
2020-02-26 18:25 ` Russell King - ARM Linux admin
2020-02-26 18:32 ` Ioana Ciornei
2020-02-26 18:32 ` Ioana Ciornei
2020-02-26 18:32 ` Ioana Ciornei
2020-02-26 19:11 ` Russell King - ARM Linux admin
2020-02-26 19:11 ` Russell King - ARM Linux admin
2020-02-26 19:11 ` Russell King - ARM Linux admin
2020-02-26 10:23 ` [PATCH net-next v2 2/8] net: dsa: " Russell King
2020-02-26 10:23 ` Russell King
2020-02-26 10:23 ` Russell King
2020-02-26 10:23 ` [PATCH net-next v2 3/8] net: mv88e6xxx: use resolved link config in mac_link_up() Russell King
2020-02-26 10:23 ` Russell King
2020-02-26 10:23 ` Russell King
2020-02-26 10:23 ` [PATCH net-next v2 4/8] net: axienet: " Russell King
2020-02-26 10:23 ` Russell King
2020-02-26 10:23 ` Russell King
2020-02-26 10:24 ` [PATCH net-next v2 5/8] net: dpaa2-mac: " Russell King
2020-02-26 10:24 ` Russell King
2020-02-26 10:24 ` Russell King
2020-02-26 10:24 ` [PATCH net-next v2 6/8] net: macb: " Russell King
2020-02-26 10:24 ` Russell King
2020-02-26 10:24 ` Russell King
2020-02-26 10:24 ` [PATCH net-next v2 7/8] net: mvneta: " Russell King
2020-02-26 10:24 ` Russell King
2020-02-26 10:24 ` Russell King
2020-02-26 10:24 ` [PATCH net-next v2 8/8] net: mvpp2: " Russell King
2020-02-26 10:24 ` Russell King
2020-02-26 10:24 ` Russell King
2020-02-27 20:02 ` [PATCH net-next v2 0/8] rework phylink interface for split MAC/PCS support David Miller
2020-02-27 20:02 ` David Miller
2020-02-27 20:02 ` David Miller
2020-02-27 22:13 ` Russell King - ARM Linux admin [this message]
2020-02-27 22:13 ` Russell King - ARM Linux admin
2020-02-27 22:13 ` Russell King - ARM Linux admin
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=20200227221315.GS25745@shell.armlinux.org.uk \
--to=linux@armlinux.org.uk \
--cc=Mark-MC.Lee@mediatek.com \
--cc=alexandre.torgue@st.com \
--cc=andrew@lunn.ch \
--cc=corbet@lwn.net \
--cc=davem@davemloft.net \
--cc=f.fainelli@gmail.com \
--cc=hauke@hauke-m.de \
--cc=hkallweit1@gmail.com \
--cc=ioana.ciornei@nxp.com \
--cc=joabreu@synopsys.com \
--cc=john@phrozen.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=matthias.bgg@gmail.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=michal.simek@xilinx.com \
--cc=nbd@nbd.name \
--cc=netdev@vger.kernel.org \
--cc=olteanv@gmail.com \
--cc=peppe.cavallaro@st.com \
--cc=radhey.shyam.pandey@xilinx.com \
--cc=sean.wang@mediatek.com \
--cc=thomas.petazzoni@bootlin.com \
--cc=vivien.didelot@gmail.com \
/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.