Skip to contentSkip to conversation

Documentation: networking: Add missing PHY_GET command in the message list

PATCH Applied Kory Maincent 4 participants 5 messages Oct 28, 2024 – Oct 30, 2024

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Documentation: networking: Add missing PHY_GET command in the message list

ETHTOOL_MSG_PHY_GET/GET_REPLY/NTF is missing in the ethtool message list. Add it to the ethool netlink documentation.

---

Change in v2:
- Change PHY_NTF documentation

---
 Documentation/networking/ethtool-netlink.rst | 3 +++
 1 file changed, 3 insertions(+)
Documentation/networking/ethtool-netlink.rst +3 -0
index 295563e91082..b25926071ece 100644
@@ -236,6 +236,7 @@ Userspace to kernel:
   ``ETHTOOL_MSG_MM_GET``                get MAC merge layer state
   ``ETHTOOL_MSG_MM_SET``                set MAC merge layer parameters
   ``ETHTOOL_MSG_MODULE_FW_FLASH_ACT``   flash transceiver module firmware
+  ``ETHTOOL_MSG_PHY_GET``               get Ethernet PHY information
   ===================================== =================================
 
 Kernel to userspace:
@@ -283,6 +284,8 @@ Kernel to userspace:
   ``ETHTOOL_MSG_PLCA_NTF``                 PLCA RS parameters
   ``ETHTOOL_MSG_MM_GET_REPLY``             MAC merge layer status
   ``ETHTOOL_MSG_MODULE_FW_FLASH_NTF``      transceiver module flash updates
+  ``ETHTOOL_MSG_PHY_GET_REPLY``            Ethernet PHY information
+  ``ETHTOOL_MSG_PHY_NTF``                  Ethernet PHY information change
   ======================================== =================================
 
 ``GET`` requests are sent by userspace applications to retrieve device
Signature · 1 line
2.34.1
maintainer
#2 lore raw
In reply to Kory Maincent
Quoted 2 lines · On Mon, 28 Oct 2024 14:23:51 +0100 Kory Maincent wrote:

ETHTOOL_MSG_PHY_GET/GET_REPLY/NTF is missing in the ethtool message list. Add it to the ethool netlink documentation.

FTR ETHTOOL_MSG_PHY_NTF is not present in any _released_ kernel, AFAICT. So we could still delete it in net before 6.12 is cut.
But if there is a plan to use it soon we can as well leave it be.

#3 lore raw
Quoted 7 lines · On Tue, 29 Oct 2024 08:08:04 -0700 Jakub Kicinski <[email protected]> wrote:
Quoted 2 lines · On Mon, 28 Oct 2024 14:23:51 +0100 Kory Maincent wrote:

ETHTOOL_MSG_PHY_GET/GET_REPLY/NTF is missing in the ethtool message list. Add it to the ethool netlink documentation.

FTR ETHTOOL_MSG_PHY_NTF is not present in any _released_ kernel, AFAICT. So we could still delete it in net before 6.12 is cut.
But if there is a plan to use it soon we can as well leave it be.

Ah true indeed... yes I have a few patches to actually implement that, I'll try to send that during this cycle.

Thanks,

Maxime

#4 lore raw
In reply to Kory Maincent
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 10 lines · On Mon, 28 Oct 2024 14:23:51 +0100 you wrote:

ETHTOOL_MSG_PHY_GET/GET_REPLY/NTF is missing in the ethtool message list. Add it to the ethool netlink documentation.

---

Change in v2:
- Change PHY_NTF documentation

[...]

Here is the summary with links:
- [net-next,v2] Documentation: networking: Add missing PHY_GET command in the message list

    https://git.kernel.org/netdev/net-next/c/2b1d193a5a57

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html