lkml.org 
[lkml]   [2020]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH net-next 0/2] net: phy: Uninline PHY ethtool statistics
Date
Hi all,

Now that we have introduced ethtool_phy_ops we can uninline those
operations and move them back into phy.c where they belong. Since those
functions are used by DSA, we need to continue exporting those symbols.

It might be possible to remove ndo_get_ethtool_phy_stats in a subsequent
patch since we could have DSA register its own ethtool_phy_ops instance
instead of overloading the ethtool_ops.

Florian Fainelli (2):
net: phy: Define PHY statistics ethtool_phy_ops
net: phy: Uninline PHY ethtool statistics operations

drivers/net/phy/phy.c | 48 +++++++++++++++++++++++++++++++++++
drivers/net/phy/phy_device.c | 3 +++
include/linux/ethtool.h | 7 ++++++
include/linux/phy.h | 49 +++---------------------------------
net/ethtool/ioctl.c | 23 +++++++++++------
net/ethtool/strset.c | 11 +++++---
6 files changed, 84 insertions(+), 57 deletions(-)

--
2.25.1

\
 
 \ /
  Last update: 2020-07-08 18:47    [W:0.091 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site