Re: [PATCH net-next v3 08/17] netlink: specs: Expand the pse netlink command with PoE interface

From: Andrew Lunn
Date: Wed Feb 14 2024 - 12:30:12 EST


On Thu, Feb 08, 2024 at 02:08:45PM +0100, Kory Maincent wrote:
> Add the PoE pse attributes prefix to be able to use PoE interface.
>
> Example usage:
> ./ynl/cli.py --spec netlink/specs/ethtool.yaml --no-schema --do pse-get \
> --json '{"header":{"dev-name":"eth0"}}'
> {'header': {'dev-index': 4, 'dev-name': 'eth0'},
> 'c33-pse-admin-state': 3,
> 'c33-pse-pw-d-status': 4}
>
> ./ynl/cli.py --spec netlink/specs/ethtool.yaml --no-schema --do pse-set \
> --json '{"header":{"dev-name":"eth0"},
> "c33-pse-admin-control":3}'
>
> Sponsored-by: Dent Project <dentproject@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Kory Maincent <kory.maincent@xxxxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew