lkml.org 
[lkml]   [2021]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH net-next v2 0/7] provide generic net selftest support
Date
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

\
 
 \ /
  Last update: 2021-04-15 15:11    [W:0.090 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site