diff options
| author | Jakub Kicinski <[email protected]> | 2024-04-03 02:34:20 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-04-04 17:33:52 +0000 |
| commit | 1d056bf9a4c15d433e9aa49558e58c1cf8d7f70c (patch) | |
| tree | 07e8e549fe9aba1dfcf9b054d6a8a1ce5bf6695c /tools/net/ynl/lib/ynl.py | |
| parent | Merge branch 'bnxt_en-update-for-net-next' (diff) | |
| download | kernel-1d056bf9a4c15d433e9aa49558e58c1cf8d7f70c.tar.gz kernel-1d056bf9a4c15d433e9aa49558e58c1cf8d7f70c.zip | |
netlink: specs: define ethtool header flags
When interfacing with the ethtool commands it's handy to
be able to use the names of the flags. Example:
ethnl.pause_get({"header": {"dev-index": cfg.ifindex,
"flags": {'stats'}}})
Note that not all commands accept all the flags,
but the meaning of the bits does not change command
to command.
Reviewed-by: Petr Machata <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/net/ynl/lib/ynl.py')
0 files changed, 0 insertions, 0 deletions
