Re: [PATCH ethtool 0/2] improve the logic of fallback from netlink to ioctl

2020-05-13 Thread John W. Linville
On Wed, Apr 29, 2020 at 12:30:00AM +0200, Michal Kubecek wrote: > At the moment, ethtool falls back to ioctl implementation whenever either > in response to request type not implemented in kernel or netlink interface > is unavailable or netlink request fails with EOPNOTSUPP error code. This is > no

[PATCH ethtool 0/2] improve the logic of fallback from netlink to ioctl

2020-04-28 Thread Michal Kubecek
At the moment, ethtool falls back to ioctl implementation whenever either in response to request type not implemented in kernel or netlink interface is unavailable or netlink request fails with EOPNOTSUPP error code. This is not perfect as EOPNOTSUPP can have different meanings and we only want to