netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] net: phy: Uninline PHY ethtool statistics
@ 2020-07-08 16:46 Florian Fainelli
  2020-07-08 16:46 ` [PATCH net-next 1/2] net: phy: Define PHY statistics ethtool_phy_ops Florian Fainelli
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Florian Fainelli @ 2020-07-08 16:46 UTC (permalink / raw)
  To: netdev
  Cc: Florian Fainelli, Andrew Lunn, Heiner Kallweit, Russell King,
	David S. Miller, Jakub Kicinski, Michal Kubecek, open list

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


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

end of thread, other threads:[~2020-07-08 19:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-08 16:46 [PATCH net-next 0/2] net: phy: Uninline PHY ethtool statistics Florian Fainelli
2020-07-08 16:46 ` [PATCH net-next 1/2] net: phy: Define PHY statistics ethtool_phy_ops Florian Fainelli
2020-07-08 16:54   ` Andrew Lunn
2020-07-08 16:46 ` [PATCH net-next 2/2] net: phy: Uninline PHY ethtool statistics operations Florian Fainelli
2020-07-08 16:55   ` Andrew Lunn
2020-07-08 19:39 ` [PATCH net-next 0/2] net: phy: Uninline PHY ethtool statistics David Miller

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