From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 0A027A0096 for ; Wed, 8 May 2019 04:02:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D500C34F0; Wed, 8 May 2019 04:02:03 +0200 (CEST) Received: from tama500.ecl.ntt.co.jp (tama500.ecl.ntt.co.jp [129.60.39.148]) by dpdk.org (Postfix) with ESMTP id 53A3E2082 for ; Wed, 8 May 2019 04:02:01 +0200 (CEST) Received: from vc2.ecl.ntt.co.jp (vc2.ecl.ntt.co.jp [129.60.86.154]) by tama500.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id x48220wP023012; Wed, 8 May 2019 11:02:00 +0900 Received: from vc2.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id 361E4637FB5; Wed, 8 May 2019 11:02:00 +0900 (JST) Received: from localhost.localdomain (lobster.nslab.ecl.ntt.co.jp [129.60.13.95]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id 1C7E2637FF3; Wed, 8 May 2019 11:02:00 +0900 (JST) From: ogawa.yasufumi@lab.ntt.co.jp To: spp@dpdk.org, ferruh.yigit@intel.com, ogawa.yasufumi@lab.ntt.co.jp Date: Wed, 8 May 2019 10:59:42 +0900 Message-Id: <1557280784-7620-4-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1557280784-7620-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> References: <1557280784-7620-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> X-TM-AS-MML: disable Subject: [spp] [PATCH 3/5] spp-ctl: add master lcore entry for SPP CLI X-BeenThere: spp@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Soft Patch Panel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spp-bounces@dpdk.org Sender: "spp" From: Yasufumi Ogawa To show master lcore ID in the result of status command, add `master-lcore` entry in the message sent to SPP CLI. Signed-off-by: Yasufumi Ogawa --- src/spp-ctl/spp_webapi.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/spp-ctl/spp_webapi.py b/src/spp-ctl/spp_webapi.py index 39530dd..3ad34d0 100644 --- a/src/spp-ctl/spp_webapi.py +++ b/src/spp-ctl/spp_webapi.py @@ -173,6 +173,7 @@ class V1VFCommon(object): for key in ["phy", "vhost", "ring"]: for idx in info[key]: vf["ports"].append(key + ":" + str(idx)) + vf["master-lcore"] = info["master-lcore"] vf["components"] = info["core"] if "classifier_table" in info: vf["classifier_table"] = info["classifier_table"] -- 2.17.1