Re: [ethtool v2 3/6] json_writer: Import the iproute2 helper code for JSON output

2020-06-24 Thread Stephen Hemminger
On Thu, 25 Jun 2020 02:12:41 +0200 Andrew Lunn 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 wo

Re: [ethtool v2 3/6] json_writer: Import the iproute2 helper code for JSON output

2020-06-24 Thread Stephen Hemminger
On Thu, 25 Jun 2020 02:12:41 +0200 Andrew Lunn 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 wo

[ethtool v2 3/6] json_writer: Import the iproute2 helper code for JSON output

2020-06-24 Thread Andrew Lunn
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 ethtoo