diff options
author | Jakub Kicinski <kuba@kernel.org> | 2024-04-02 19:34:20 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-04-04 10:33:52 -0700 |
commit | 1d056bf9a4c15d433e9aa49558e58c1cf8d7f70c (patch) | |
tree | 07e8e549fe9aba1dfcf9b054d6a8a1ce5bf6695c /lib/test-kstrtox.c | |
parent | 1dee310c26677460fc1cc1d98c2d90b6e968988c (diff) |
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 <petrm@nvidia.com>
Link: https://lore.kernel.org/r/20240403023426.1762996-2-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/test-kstrtox.c')
0 files changed, 0 insertions, 0 deletions