Re: [PATCH net-next v4 8/8] ethtool: add compat for devlink info

2019-02-01 Thread Jiri Pirko
Thu, Jan 31, 2019 at 07:50:47PM CET, jakub.kicin...@netronome.com wrote: >If driver did not fill the fw_version field, try to call into >the new devlink get_info op and collect the versions that way. >We assume ethtool was always reporting running versions. > >v4: > - use IS_REACHABLE() to avoid pr

[PATCH net-next v4 8/8] ethtool: add compat for devlink info

2019-01-31 Thread Jakub Kicinski
If driver did not fill the fw_version field, try to call into the new devlink get_info op and collect the versions that way. We assume ethtool was always reporting running versions. v4: - use IS_REACHABLE() to avoid problems with DEVLINK=m (kbuildbot). v3 (Jiri): - do a dump and then parse it in