Re: [PATCH net-next v2 1/7] netlink: specs: define ethtool header flags

2024-04-04 Thread Petr Machata
Jakub Kicinski 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

[PATCH net-next v2 1/7] netlink: specs: define ethtool header flags

2024-04-02 Thread Jakub Kicinski
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