[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200624223353.79e62ea7@hermes.lan>
Date: Wed, 24 Jun 2020 22:33:53 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Andrew Lunn <andrew@...n.ch>
Cc: Michal Kubecek <mkubecek@...e.cz>, netdev <netdev@...r.kernel.org>,
Chris Healy <cphealy@...il.com>
Subject: Re: [ethtool v2 3/6] json_writer: Import the iproute2 helper code
for JSON output
On Thu, 25 Jun 2020 02:12:41 +0200
Andrew Lunn <andrew@...n.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 <andrew@...n.ch>
You might also want to borrow the json_print code that merges both
output formats. Or not
Powered by blists - more mailing lists