Thread View: linux.kernel.netdev
2 messages
2 total messages
Started by James Hilliard
Sun, 15 Nov 2026 07:45
[PATCH net-next v5 1/3] docs: networking: correct the PHY statistics group name
Author: James Hilliard
Date: Sun, 15 Nov 2026 07:45
Date: Sun, 15 Nov 2026 07:45
27 lines
12425 bytes
12425 bytes
The ETHTOOL_STATS_PHY group is exported as phydev by stats_std_names[], but the ethtool netlink documentation lists it as phy. Use the exported name so the documented group matches the statistics string set returned to userspace. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> --- Documentation/networking/ethtool-netlink.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/networking/ethtool-netlink.rst b/Documentation/networking/ethtool-netlink.rst index eba226c79ec3..8659761ebc69 100644 --- a/Documentation/networking/ethtool-netlink.rst +++ b/Documentation/networking/ethtool-netlink.rst @@ -1665,7 +1665,7 @@ the ``ETHTOOL_A_STATS_GROUPS`` bitset. Currently defined values are: ETHTOOL_STATS_ETH_PHY eth-phy Basic IEEE 802.3 PHY statistics (30.3.2.1.*) ETHTOOL_STATS_ETH_CTRL eth-ctrl Basic IEEE 802.3 MAC Ctrl statistics (30.3.3.*) ETHTOOL_STATS_RMON rmon RMON (RFC 2819) statistics - ETHTOOL_STATS_PHY phy Additional PHY statistics, not defined by IEEE + ETHTOOL_STATS_PHY phydev Additional PHY statistics, not defined by IEEE ====================== ======== =============================================== Each group should have a corresponding ``ETHTOOL_A_STATS_GRP`` in the reply. -- 2.53.0
Re: [PATCH net-next v5 1/3] docs: networking: correct the PHY statistics group name
Author: Andrew Lunn
Date: Sun, 15 Nov 2026 15:01
Date: Sun, 15 Nov 2026 15:01
14 lines
8965 bytes
8965 bytes
On Sun, Nov 15, 2026 at 12:45:45AM -0700, James Hilliard wrote:
> The ETHTOOL_STATS_PHY group is exported as phydev by stats_std_names[],
> but the ethtool netlink documentation lists it as phy. Use the exported
> name so the documented group matches the statistics string set returned
> to userspace.
>
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Thanks
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads