Jakub Kicinski kuba@kernel.org writes:
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.
Signed-off-by: Jakub Kicinski kuba@kernel.org
Reviewed-by: Petr Machata petrm@nvidia.com