From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 4AC5EA2F for ; Wed, 26 Apr 2017 15:09:06 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id C66B321B50; Wed, 26 Apr 2017 09:09:05 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 26 Apr 2017 09:09:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=bYhNMvdxg+0VfDM oSUdgvZilYFgWs/HjCW21D0FUysc=; b=YWSrddP5ODdM6morsmsWSlRYy47Hqkm wYVekYm68dq0CXUVTe92VMd2zFc5JR26AeppfGu2Swt9DjSXW183icdtXjcHmlct kjvmksGkFIyMBZtmmoa7yWr7WpFEtLB8Fu1SU36OHOYKXkFBP+PayxCFQO1u9Gz2 3ZGEocbdcJs0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=bYhNMvdxg+0VfDMoSUdgvZilYFgWs/HjCW21D0FUysc=; b=KzQqA5mw enzg1iHKQFd5/FRJ2zL+5ABonXrLM4zRh9/yOB29ltNf+LrhDG76aWjl2gy+lC+U 21QJNSI7I3EWa4IzeBDFmULH//UEd4qC9XpZ97AlGBzBVOu+LzLMcCHuNyS5VJCn rDEA8CgI93aaLKQmVPSY4Bho5ZfpG0rytl9MSyBSZ0+m2dr3AVCEA1vmUFv4Ijq5 UGx+vqZ0jHvHa8rDxR0oTCfS7zD2l4boGrfLkcuwnRNOH64SiSUVDnokWKhAu6+q 7PoN1g8HqOOJt+x8iQgC1Ee9br5bt0fW+SK3RE5pPMw9UpHycQ0qKRnKPpvp9/Ed P0QHqR2GJqGR1w== X-ME-Sender: X-Sasl-enc: 87ACw+PdJLhnm4YRLA7/O4XqjQouzQle6HP/gB2JNwoS 1493212145 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 75DEF7E352; Wed, 26 Apr 2017 09:09:05 -0400 (EDT) From: Thomas Monjalon To: Ferruh Yigit Cc: dev@dpdk.org Date: Wed, 26 Apr 2017 15:09:04 +0200 Message-ID: <2699850.F1Pslrmx9H@xps> In-Reply-To: <20170426115810.495-1-ferruh.yigit@intel.com> References: <20170426115810.495-1-ferruh.yigit@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] usertools: reduce devbind status output X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2017 13:09:06 -0000 26/04/2017 13:58, Ferruh Yigit: > Script displays status for all device types and output is much > longer than it used to be. This makes harder to read script output. > > This patch reduces output to the script into a device group which can be > defined with new -t,--type parameter to script. > > Supported types: > net > crypto > mempool > eventdev > > If no device type provided status will print net devices by default. > > Sample usage: > ./usertools/dpdk-devbind.py -s -t mempool [...] > + -t, --type: > + Select device group to print status. > + Device group can be network, crypto, eventdev or mempool. > + Type argument can be emitted, by default "network" group used. s/emitted/omitted/ I think it would be better to default to all types.