diff options
author | Kory Maincent (Dent Project) <[email protected]> | 2024-04-17 16:39:53 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-04-18 18:27:02 -0700 |
commit | f8586411e40ea8152c7a030e4f1d9bd9005e2628 (patch) | |
tree | 7413f237c0a01ca80ab914d097858de88602c0a1 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 57b30d2a5475eb837fe1124f15f93a2a230c7bf3 (diff) |
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 <[email protected]>
Signed-off-by: Kory Maincent <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions