Re: [PATCH net-next v2 03/12] ethtool: Add loopback netlink UAPI definitions
From: Maxime Chevallier
Date: Thu Mar 26 2026 - 04:17:35 EST
Hi Björn,
On 25/03/2026 15:50, Björn Töpel wrote:
> Add the netlink YAML spec and auto-generated UAPI header for a unified
> loopback interface covering MAC, PHY, and pluggable module components.
>
> Each loopback point is described by a nested entry attribute
Is the nest actually needed ? if everything is under the nest, you might
as well just drop it and return all the attributes directly ?
Maxime
> containing:
>
> - component where in the path (MAC, PHY, MODULE)
> - name subsystem label, e.g. "cmis-host" or "cmis-media"
> - id optional instance selector (e.g. PHY id, port id)
> - depth ordering index within a component (0 = first/only)
> - supported bitmask of supported directions
> - direction LOCAL, REMOTE, or 0 (disabled)
>
> Signed-off-by: Björn Töpel <bjorn@xxxxxxxxxx>
>
Maxime