Skip to content

net: ethtool: Untangle PHYLIB dependency

Florian Fainelli lkml netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 7 repliesIn review
  2. v14 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: ethtool: Introduce ethtool_phy_opsinclude/linux/ethtool.h net/ethtool/common.c net/ethtool/common.h+38 -00 replies
2/3net: phy: Register ethtool PHY operationsdrivers/net/phy/phy_device.c+7 -00 replies
3/3net: ethtool: Remove PHYLIB direct dependencynet/Kconfig net/ethtool/cabletest.c+16 -35 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH net-next v2 0/3] net: ethtool: Untangle PHYLIB dependency

Hi all,

This patch series untangles the ethtool netlink dependency with PHYLIB which exists because the cable test feature calls directly into PHY library functions. The approach taken here is to introduce ethtool_phy_ops function pointers which can be dynamically registered when PHYLIB loads.

Florian Fainelli (3):
net: ethtool: Introduce ethtool_phy_ops
net: phy: Register ethtool PHY operations
net: ethtool: Remove PHYLIB direct dependency

 drivers/net/phy/phy_device.c |  7 +++++++
 include/linux/ethtool.h      | 25 +++++++++++++++++++++++++
 net/Kconfig                  |  1 -
 net/ethtool/cabletest.c      | 18 ++++++++++++++++--
 net/ethtool/common.c         | 11 +++++++++++
 net/ethtool/common.h         |  2 ++
 6 files changed, 61 insertions(+), 3 deletions(-)
Signature · 1 line
2.25.1