On Thu, 25 Jun 2020 02:12:41 +0200
Andrew Lunn <and...@lunn.ch> wrote:

> In general, Linux network tools use JSON for machine readable output.
> See for example -json for iproute2 and devlink. In order to support
> JSON output from ethtool, import the iproute2 helper code.
> 
> Maybe some time in the future it would make sense to either have a
> shared library, or to merge ethtool into the iproute2 source
> distribution?
> 
> Signed-off-by: Andrew Lunn <and...@lunn.ch>

You might also want to borrow the json_print code that merges both
output formats.  Or not

Reply via email to