netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC 0/6] DPAA2 MAC Driver
@ 2019-06-13 23:55 Ioana Ciornei
  2019-06-13 23:55 ` [PATCH RFC 1/6] net: phy: update the autoneg state in phylink_phy_change Ioana Ciornei
                   ` (6 more replies)
  0 siblings, 7 replies; 22+ messages in thread
From: Ioana Ciornei @ 2019-06-13 23:55 UTC (permalink / raw)
  To: linux, hkallweit1, f.fainelli, andrew, davem
  Cc: netdev, alexandru.marginean, ruxandra.radulescu, Ioana Ciornei

After today's discussion with Russell King about what phylink exposes in
.mac_config(): https://marc.info/?l=linux-netdev&m=156043794316709&w=2
I am submitting for initial review the dpaa2-mac driver model.

At the moment, pause frame support is missing so inherently all the USXGMII
modes that rely on backpressure applied by the PHY in rate adaptation between
network side and system side don't work properly.

As next steps, the driver will have to be integrated with the SFP bus so
commands such as 'ethtool --dump-module-eeprom' will have to work through the
current callpath through firmware. This poses somewhat of a problem, as
dpaa2-eth lacks any handle to the phy so it will probably need further
modification to the API that the firmware exposes (same applies to 'ethtool
--phy-statistics').

The documentation patch provides a more complete view of the software
architecture and the current implementation.

Ioana Ciornei (4):
  net: phy: update the autoneg state in phylink_phy_change
  dpaa2-mac: add MC API for the DPMAC object
  dpaa2-mac: add initial driver
  net: documentation: add MAC/PHY proxy driver documentation

Ioana Radulescu (2):
  dpaa2-eth: add support for new link state APIs
  dpaa2-eth: add autoneg support

 .../freescale/dpaa2/dpmac-driver.rst               | 159 ++++++
 .../device_drivers/freescale/dpaa2/index.rst       |   1 +
 MAINTAINERS                                        |   8 +
 drivers/net/ethernet/freescale/dpaa2/Kconfig       |  13 +
 drivers/net/ethernet/freescale/dpaa2/Makefile      |   2 +
 .../net/ethernet/freescale/dpaa2/dpaa2-ethtool.c   |  83 +++-
 drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c   | 541 +++++++++++++++++++++
 drivers/net/ethernet/freescale/dpaa2/dpmac-cmd.h   | 107 ++++
 drivers/net/ethernet/freescale/dpaa2/dpmac.c       | 369 ++++++++++++++
 drivers/net/ethernet/freescale/dpaa2/dpmac.h       | 210 ++++++++
 drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h    |  35 ++
 drivers/net/ethernet/freescale/dpaa2/dpni.c        |  70 +++
 drivers/net/ethernet/freescale/dpaa2/dpni.h        |  27 +
 drivers/net/phy/phylink.c                          |   1 +
 14 files changed, 1612 insertions(+), 14 deletions(-)
 create mode 100644 Documentation/networking/device_drivers/freescale/dpaa2/dpmac-driver.rst
 create mode 100644 drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c
 create mode 100644 drivers/net/ethernet/freescale/dpaa2/dpmac-cmd.h
 create mode 100644 drivers/net/ethernet/freescale/dpaa2/dpmac.c
 create mode 100644 drivers/net/ethernet/freescale/dpaa2/dpmac.h

-- 
1.9.1


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2019-06-17 14:46 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-13 23:55 [PATCH RFC 0/6] DPAA2 MAC Driver Ioana Ciornei
2019-06-13 23:55 ` [PATCH RFC 1/6] net: phy: update the autoneg state in phylink_phy_change Ioana Ciornei
2019-06-13 23:55 ` [PATCH RFC 2/6] dpaa2-eth: add support for new link state APIs Ioana Ciornei
2019-06-14  1:01   ` Andrew Lunn
2019-06-14 14:03     ` Ioana Ciornei
2019-06-13 23:55 ` [PATCH RFC 3/6] dpaa2-mac: add MC API for the DPMAC object Ioana Ciornei
2019-06-14  1:12   ` Andrew Lunn
2019-06-14 14:06     ` Ioana Ciornei
2019-06-17 14:28       ` Andrew Lunn
2019-06-13 23:55 ` [PATCH RFC 4/6] dpaa2-mac: add initial driver Ioana Ciornei
2019-06-14  1:42   ` Andrew Lunn
2019-06-14  9:50     ` Russell King - ARM Linux admin
2019-06-14 16:54       ` Ioana Ciornei
2019-06-14 17:03         ` Russell King - ARM Linux admin
2019-06-14 14:08     ` Ioana Ciornei
2019-06-14 10:20   ` Russell King - ARM Linux admin
2019-06-14 16:34     ` Ioana Ciornei
2019-06-13 23:55 ` [PATCH RFC 5/6] dpaa2-eth: add autoneg support Ioana Ciornei
2019-06-13 23:55 ` [PATCH RFC 6/6] net: documentation: add MAC/PHY proxy driver documentation Ioana Ciornei
2019-06-14  9:42 ` [PATCH RFC 0/6] DPAA2 MAC Driver Russell King - ARM Linux admin
2019-06-14 15:26   ` Ioana Ciornei
2019-06-17 14:46     ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).