From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=YZ868Rhycib/S+Hpo9vslaoFeJeJyIyQC9DRXFl2Om8=; b=frBeB7zdZiYzfWFmeR5aRIG50GcdxM15oqiUJfRgwGs1TonrChL+AN90iJg0wG8KfZ Gg1Bwxg88/BYF3TAr2PKV7Mv5CpXhx83Y8RNeD4gjEXOc4GXl6tGp3ufKVKJKjcLS6wQ ktola0jttIg4Vnf3h05Vvik+r6a1SBenagssQuLHvahkWcuVXvA3p8fyzpFG0uPRl1r0 QPZ4gnXsPJNq1R34TgLsNC+OWY2CB6zJl+z5Na9k948u6uoJR/t/weYWQt9HdyO4rPDX YWFOCZfBV1cUEM5kKnx3Pw+TIL9tAoNrGEBZY5QDOweo6m+lihLzBdoJfcHsp3OqRc3e fYOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=YZ868Rhycib/S+Hpo9vslaoFeJeJyIyQC9DRXFl2Om8=; b=eJ/sy5cnhWe1AozLCcuzLGHLBaiCV0tjOP4LJS78o5uMVYSKLioAq6SR8ZhFZ1rGZ6 1HKyC9fE384oDQ2WcimGVlqODj2NytLPBOhVfXZvn2iJYjeckY5sTlcZ3N/IbwWedCy2 RHJIXm+2up/oT8leOIp6LZ3jYNsQYN8UVPQtrjaHf9GPSwKMSaKtySZ9ytdRUn5kEFT4 KqRwWJt0vNdt7D/+NXneIDiX4DSy9HFxJQranT5UMQp8DjeuYXWzGyCXbldDdpn1+7mQ u3PalD44Zme586Y87d6kuPWM6d2P9OU3tskHIfGw6NzTtf9XLEAjnl6WzXDxK+7jjQJA 7l6w== X-Gm-Message-State: AA6/9RmhHlqr7BZXvwzp9o99quqRoFkMAZ6/D55oGQV266gkT869AcoOSecLGuqLwFVKgQfQ X-Received: by 10.194.235.165 with SMTP id un5mr2184713wjc.200.1475574759212; Tue, 04 Oct 2016 02:52:39 -0700 (PDT) Received: from xps13.localnet (172.17.90.92.rev.sfr.net. [92.90.17.172]) by smtp.gmail.com with ESMTPSA id pj2sm2661472wjb.8.2016.10.04.02.52.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Oct 2016 02:52:38 -0700 (PDT) From: Thomas Monjalon To: Olivier Matz Cc: dev@dpdk.org, nhorman@tuxdriver.com, stable@dpdk.org Date: Tue, 04 Oct 2016 11:52:36 +0200 Message-ID: <1602879.cELLtLqodd@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1472217332-26077-1-git-send-email-olivier.matz@6wind.com> References: <1472217332-26077-1-git-send-email-olivier.matz@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] tools: fix json output of pmdinfo X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2016 09:52:39 -0000 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