Re: [PATCH ethtool v2] netlink: Print and return an error when features weren't changed

2020-08-27 Thread Michal Kubecek
On Tue, Aug 25, 2020 at 11:11:38AM +0300, Maxim Mikityanskiy wrote: > The legacy ethtool prints an error message and returns 1 if no features > were changed as requested. Port this behavior to ethtool-netlink. > req_mask is compared to wanted_mask to detect if any feature was > changed. If these ma

[PATCH ethtool v2] netlink: Print and return an error when features weren't changed

2020-08-25 Thread Maxim Mikityanskiy
The legacy ethtool prints an error message and returns 1 if no features were changed as requested. Port this behavior to ethtool-netlink. req_mask is compared to wanted_mask to detect if any feature was changed. If these masks are equal, it means that the kernel hasn't changed anything, and all bit