From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] tools: fix json output of pmdinfo Date: Tue, 04 Oct 2016 11:52:36 +0200 Message-ID: <1602879.cELLtLqodd@xps13> References: <1472217332-26077-1-git-send-email-olivier.matz@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, nhorman@tuxdriver.com, stable@dpdk.org To: Olivier Matz Return-path: Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by dpdk.org (Postfix) with ESMTP id 6507C6A73 for ; Tue, 4 Oct 2016 11:52:39 +0200 (CEST) Received: by mail-wm0-f53.google.com with SMTP id 197so32985325wmk.1 for ; Tue, 04 Oct 2016 02:52:39 -0700 (PDT) In-Reply-To: <1472217332-26077-1-git-send-email-olivier.matz@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 Applied, thanks