From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id 619AC68D1 for ; Tue, 4 Oct 2016 11:52:39 +0200 (CEST) Received: by mail-wm0-f49.google.com with SMTP id b201so133693970wmb.0 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=gJniHgMzK9QItJFe2M7ZFkpeiJIxitTute91BYY3mBGB1FsNK7/K1ZexmVBfOW07Fj SmmEe3rlyg5M40fECZNgKxVuOmqq7dYX9QDqgxFyIbCs6T3gj3Dk4vyLOBVCLefAlZD5 1jcJ/yGG1b1AUv1H9Ve1yI+AMIvL3++s1vNADZwVVlY3tTSVXhWKBb9sWD3CVCnzb9HG uH4sMlMV8Dqk9ZUzccElas5ryYb8cRMlGGhtJHFm41LmgbureoDICzaq4hRvnDqlfM8A hQRYH5U92qP2/q4h583FXowHbI6NtfZSBve+aSiMlFXHGJxx19b+zO3dv+TvyoUHepBj CluQ== X-Gm-Message-State: AA6/9Rm34IO1DQd9P9FlPxdjWZMz0bkkKl4Nuqh29FXegSER8nyraHcvZwMnOj9K5mfQwpHV 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-stable] [PATCH] tools: fix json output of pmdinfo X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for stable branches 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