From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id E15072C29 for ; Thu, 22 Feb 2018 12:50:14 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Feb 2018 03:50:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,377,1515484800"; d="scan'208";a="22176442" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.35]) ([10.237.220.35]) by fmsmga002.fm.intel.com with ESMTP; 22 Feb 2018 03:50:13 -0800 To: Yasufumi Ogawa , "spp@dpdk.org" References: <1518103091-4624-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> <1518103091-4624-2-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> From: Ferruh Yigit Message-ID: <79cbf414-ecef-8793-b688-d16d9d3cb15a@intel.com> Date: Thu, 22 Feb 2018 11:50:12 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1518103091-4624-2-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [spp] [PATCH 2/2] spp_vf: update to improve usability 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: , X-List-Received-Date: Thu, 22 Feb 2018 11:50:15 -0000 On 2/8/2018 3:18 PM, ogawa.yasufumi@lab.ntt.co.jp (ogawa.yasufumi@lab.ntt.co.jp) wrote: > From: Yasufumi Ogawa > > This update is same as previous patch for spp.py. > > * Override emptyline() of Shell class to not repeat previous command. > > * Override default() to accept comment line. To find the comment, add > is_comment_line() which support python and C style comment. > > * Remove lower() for user's input to avoid unexpected behaviour. > > Signed-off-by: Yasufumi Ogawa Hi Yasufumi, This is already applied but I am concerned about having two version of python script, spp.py and spp_vf.py. Is there a long term plan for them? Why we are maintaining two copies and they are slightly differentiated now, as some features only supported in spp_vf.py? Does it make sense to merge them? Thanks, ferruh