There seems to be an overall consensus that the ioctl interface used by ethtool is a poor design as it's inflexible, error prone and notoriously hard to extend. It should clearly be replaced by netlink and obsoleted. Unfortunately not much actual work has been done in that direction. All I could find was this e-mail from April 2016. (Update: there is also one as early as February 2008 but that apparently died soon as well.)
The plan is to provide an RFC implementation of kernel netlink interface for the most frequently used functions and alternative ethtool code using it. It wouldn't be realistic to expect full functionality within a week but the result at the end of Hackweek 16 should be a proof of concept that can be built upon and that can be used to initiate the upstream discussion.
Looking for mad skills in:
kernel networking netlink c
This project is part of:
Hack Week 16 Hack Week 17
The Khadas VIM (http://khadas.com/vim/) is an a...