mbox series

[net-next,00/11] SFP/phylink updates

Message ID 20171201102306.GA18792@n2100.armlinux.org.uk
Headers show
Series SFP/phylink updates | expand

Message

Russell King (Oracle) Dec. 1, 2017, 10:23 a.m. UTC
Hi,

This series, which follows on from the fixes posted earlier, improves
the phylink/sfp support.  Changes included here are:

- Merge 802.3z and SGMII modes into one "in-band" mode, using the
  PHY_INTERFACE_MODE_xxx definition to determine which should be used.
  This allows more flexibility as more interface modes become
  available.

- Allow 2500base-X and 10GBASE-KR to be requested from SFP.

- Remove unused and unnecessary phylink_init_eee()

- Restart 802.3z autonegotiation when starting the network device to
  ensure that the negotiated parameters are always correct.  It has
  been observed on mvneta that this is not always the case without
  this change.

- Add kerneldoc documentation for phylink and sfp upstream facing APIs
  and link it in to the networking documentation.

- Resolve a sparse warning in sfp-bus.c

- Convert phylink/sfp to use fwnode rather than DT so that other firmware
  systems can take advantage of this - I have received a request for it
  to be usable with ACPI.  The exception to this is our interactions with
  phylib, as phylib itself does not yet support fwnode.

 Documentation/networking/kapi.rst |  24 +++
 drivers/net/phy/phylink.c         | 341 +++++++++++++++++++++++++++++---------
 drivers/net/phy/sfp-bus.c         | 120 +++++++++++++-
 include/linux/phy.h               |  14 ++
 include/linux/phylink.h           | 196 +++++++++++++++-------
 include/linux/sfp.h               |  57 +++++--
 6 files changed, 591 insertions(+), 161 deletions(-)

Comments

Russell King (Oracle) Dec. 1, 2017, 10:29 a.m. UTC | #1
On Fri, Dec 01, 2017 at 10:23:07AM +0000, Russell King - ARM Linux wrote:
> Hi,
> 
> This series, which follows on from the fixes posted earlier, improves
> the phylink/sfp support.  Changes included here are:

Sorry, just realised I sent the patches without the net-next annotation
after the [PATCH in their subject line.
David Miller Dec. 3, 2017, 2:55 p.m. UTC | #2
From: Russell King - ARM Linux <linux@armlinux.org.uk>
Date: Fri, 1 Dec 2017 10:23:07 +0000

> This series, which follows on from the fixes posted earlier, improves
> the phylink/sfp support.  Changes included here are:

Ok, I'll merge this in the next time I get 'net' into 'net-next'.
David Miller Dec. 5, 2017, 4:16 p.m. UTC | #3
From: Russell King - ARM Linux <linux@armlinux.org.uk>
Date: Fri, 1 Dec 2017 10:23:07 +0000

> This series, which follows on from the fixes posted earlier, improves
> the phylink/sfp support.  Changes included here are:
 ...

Series applied, thanks!