[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200708164625.40180-1-f.fainelli@gmail.com>
Date: Wed, 8 Jul 2020 09:46:23 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: netdev@...r.kernel.org
Cc: Florian Fainelli <f.fainelli@...il.com>,
Andrew Lunn <andrew@...n.ch>,
Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Michal Kubecek <mkubecek@...e.cz>,
linux-kernel@...r.kernel.org (open list)
Subject: [PATCH net-next 0/2] net: phy: Uninline PHY ethtool statistics
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
Powered by blists - more mailing lists