# \[PATCH net-next v18 06/13\] netlink: specs: add phy-index as a header parameter

- From: Maxime Chevallier \<maxime.chevallier@bootlin.com\>
- Date: 2024-08-21 15:10:26 
- List: netdev
- Page: https://ratatoskr.run/netdev/2024/08/2716546
- Thread: https://ratatoskr.run/netdev/2024/08/2716544/t.md

```text
Update the spec to take the newly introduced phy-index as a generic
request parameter.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Christophe Leroy <redacted>
Tested-by: Christophe Leroy <redacted>
---
 Documentation/netlink/specs/ethtool.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/netlink/specs/ethtool.yaml b/Documentation/netlink/specs/ethtool.yaml
index 1bbeaba5c644..7d6c3ace3fa2 100644
--- a/Documentation/netlink/specs/ethtool.yaml
+++ b/Documentation/netlink/specs/ethtool.yaml
@@ -54,6 +54,9 @@ attribute-sets:
         name: flags
         type: u32
         enum: header-flags
+      -
+        name: phy-index
+        type: u32
 
   -
     name: bitset-bit
-- 
2.45.2

```
