linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/7] provide generic net selftest support
@ 2021-04-15 13:07 Oleksij Rempel
  2021-04-15 13:07 ` [PATCH v2 1/7] net: phy: genphy_loopback: add link speed configuration Oleksij Rempel
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Oleksij Rempel @ 2021-04-15 13:07 UTC (permalink / raw)
  To: Shawn Guo, Sascha Hauer, Andrew Lunn, Florian Fainelli,
	Heiner Kallweit, Fugang Duan
  Cc: Oleksij Rempel, kernel, netdev, linux-arm-kernel, linux-kernel,
	linux-imx, Fabio Estevam, David Jander, Russell King,
	Philippe Schenker

changes v2:
- make this tests available for all netowking devices.
- enable them on FEC, ag71xx and all DSA switches.
- add and test loopback support on more PHYs.

This patch set provides diagnostic capabilities for some iMX, ag71xx or
any DSA based devices. For proper functionality, PHY loopback support is
needed.
So far there is only initial infrastructure with basic tests. 

Oleksij Rempel (7):
  net: phy: genphy_loopback: add link speed configuration
  net: phy: micrel: KSZ8081 & KSZ9031: add loopback support
  net: phy: at803x: AR8085 & AR9331: add loopback support
  net: add generic selftest support
  net: fec: make use of generic NET_SELFTESTS library
  net: ag71xx: make use of generic NET_SELFTESTS library
  net: dsa: enable selftest support for all switches by default

 drivers/net/ethernet/atheros/Kconfig      |   1 +
 drivers/net/ethernet/atheros/ag71xx.c     |  20 +-
 drivers/net/ethernet/freescale/Kconfig    |   1 +
 drivers/net/ethernet/freescale/fec_main.c |   7 +
 drivers/net/phy/at803x.c                  |   2 +
 drivers/net/phy/micrel.c                  |   2 +
 drivers/net/phy/phy.c                     |   3 +-
 drivers/net/phy/phy_device.c              |  21 +-
 include/linux/phy.h                       |   1 +
 include/net/dsa.h                         |   2 +
 include/net/selftests.h                   |  12 +
 net/Kconfig                               |   4 +
 net/core/Makefile                         |   1 +
 net/core/selftests.c                      | 366 ++++++++++++++++++++++
 net/dsa/Kconfig                           |   1 +
 net/dsa/slave.c                           |  21 ++
 16 files changed, 458 insertions(+), 7 deletions(-)
 create mode 100644 include/net/selftests.h
 create mode 100644 net/core/selftests.c

-- 
2.29.2


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

end of thread, other threads:[~2021-04-15 20:06 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-15 13:07 [PATCH net-next v2 0/7] provide generic net selftest support Oleksij Rempel
2021-04-15 13:07 ` [PATCH v2 1/7] net: phy: genphy_loopback: add link speed configuration Oleksij Rempel
2021-04-15 13:07 ` [PATCH v2 2/7] net: phy: micrel: KSZ8081 & KSZ9031: add loopback support Oleksij Rempel
2021-04-15 19:58   ` Florian Fainelli
2021-04-15 13:07 ` [PATCH v2 3/7] net: phy: at803x: AR8085 & AR9331: " Oleksij Rempel
2021-04-15 13:07 ` [PATCH v2 4/7] net: add generic selftest support Oleksij Rempel
2021-04-15 20:06   ` Florian Fainelli
2021-04-15 13:07 ` [PATCH v2 5/7] net: fec: make use of generic NET_SELFTESTS library Oleksij Rempel
2021-04-15 16:58   ` Jakub Kicinski
2021-04-15 13:07 ` [PATCH v2 6/7] net: ag71xx: " Oleksij Rempel
2021-04-15 13:07 ` [PATCH v2 7/7] net: dsa: enable selftest support for all switches by default Oleksij Rempel

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