Thread (25 messages) 25 messages, 2 authors, 2026-02-09

Re: [PATCH net-next v3 10/11] netlink: specs: Add ethernet port listing with ethtool

From: Maxime Chevallier <maxime.chevallier@bootlin.com>
Date: 2026-02-03 18:14:41
Also in: lkml

Hi Simon,

On 03/02/2026 18:55, Simon Horman wrote:
On Sun, Feb 01, 2026 at 04:12:47PM +0100, Maxime Chevallier wrote:

...
quoted
diff --git a/Documentation/networking/ethtool-netlink.rst b/Documentation/networking/ethtool-netlink.rst
index af56c304cef4..3e673755800b 100644
--- a/Documentation/networking/ethtool-netlink.rst
+++ b/Documentation/networking/ethtool-netlink.rst
@@ -2522,6 +2522,40 @@ Within each channel nest, only the metrics supported by the PHY will be present.
 See ``struct phy_mse_snapshot`` kernel documentation in
 ``include/linux/phy.h``.
 
+PORT_GET
+========
+
+Retrieve information about the physical connection points of a network device,
+referred to as "ports". User needs to specify a PORT_ID for the DO operation,
+in which case the DO request returns information about that specific port.
+
+As there can be more than one port, the DUMP operation can be used to list the
+ports present on a given interface, by passing an interface index or name in
+the dump request.
+
+Request contents:
+
+====================================  ======  =================================
Hi Maxime,

make htmldocs complains that "Bottom/header table border does not match top
border.".
Ah indeed ! I'll address this in V5 then. Thank you for the report !

Maxime
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help