summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorKory Maincent (Dent Project) <kory.maincent@bootlin.com>2024-04-17 17:39:53 +0300
committerJakub Kicinski <kuba@kernel.org>2024-04-19 04:27:02 +0300
commitf8586411e40ea8152c7a030e4f1d9bd9005e2628 (patch)
tree7413f237c0a01ca80ab914d097858de88602c0a1 /samples
parent57b30d2a5475eb837fe1124f15f93a2a230c7bf3 (diff)
downloadlinux-f8586411e40ea8152c7a030e4f1d9bd9005e2628.tar.xz
netlink: specs: Expand the pse netlink command with PoE interface
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}' Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Kory Maincent <kory.maincent@bootlin.com> Link: https://lore.kernel.org/r/20240417-feature_poe-v9-5-242293fd1900@bootlin.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions