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

2016-10-04 Thread Thomas Monjalon
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

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

2016-08-26 Thread 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':