[dpdk-dev] [PATCH] tools: fix json output of pmdinfo

Thomas Monjalon thomas.monjalon at 6wind.com
Tue Oct 4 11:52:36 CEST 2016


2016-08-26 15:15, Olivier Matz:
> Using dpdk-pmdinfo with the '-r' flag does not produce a json output as
> documented. Instead, the python representation of the json object is
> shown, which is nearly the same, but cannot be properly parsed by a json
> parser.
> 
> python repr (before):
>   {u'pci_ids': [[5549, 1968, 65535, 65535]], u'name': u'vmxnet3'}
> json (after):
>   {"pci_ids": [[5549, 1968, 65535, 65535]], "name": "vmxnet3"}
> 
> Fixes: c67c9a5c646a ("tools: query binaries for HW and other support information")
> 
> Signed-off-by: Olivier Matz <olivier.matz at 6wind.com>

Applied, thanks


More information about the dev mailing list