From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f169.google.com (mail-wr0-f169.google.com [209.85.128.169]) by dpdk.org (Postfix) with ESMTP id EC51C5911 for ; Wed, 26 Apr 2017 11:05:08 +0200 (CEST) Received: by mail-wr0-f169.google.com with SMTP id z52so80406384wrc.2 for ; Wed, 26 Apr 2017 02:05:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=ctVRz3vRo4vTEQdlYeAnYaOWPo/o0kcYO3fdBWkGo74=; b=mtO2llU2seY0SkKJrteEZal0H+vfb1+QQyguThWLdvfKevi+6wg2Na+KBJ5E5OfA5y RC3nj12YpJIu+9bLdnNvSmvL6tTt1unSZYN25vkQtxn1l0fsChsNwH3eq3xf7qOUEejE +Fp/LCSEYNVR8muBfV/X+huzthuyNMMrXUS7pA8sZFvlsTh3CFePeh8bQURphqp8YOPj yhT4nHIA5maJjvW41IzoXrcuaJ3JKC34npN/0wvubAtgmV7HbgrvL25jOBswHFSjecB7 voekahQPGN6flMrnUxTykPLel1IloJiTFWptiY1V1pBWG6/twoeiqCx0S3gCsU36RZKD YH/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=ctVRz3vRo4vTEQdlYeAnYaOWPo/o0kcYO3fdBWkGo74=; b=Y6xZq4H6AVqEunge6ny0a0IiPW3haCo0iKjCu9z5k+rHOOCi9qsJnDemcBQjk7olFP E3yUpoOSJNb1Sp/W0sy8lz4hy5zmpy3sCEF3EVkIvUFr63ZHXVy0317n3HWWwD2DiX63 zLi0W7rDglgd59fzlWGab/+9uzITJGFIDwZeAv9bCWfp/T/l/iawMBT4H/0TXcwD4p44 X+1632wHvs/MDjDC2ByrcozuOednSPbp0oPxEPCrviDkIPYGd3FEyVrrDci8r4dxpr6s vmVfBfj6Y/Rxkk0r6H/V3n5jn8YZIR5Vp4Pw/c6NkV3aFLuj6pajW4ACC2d/Bnz0pV10 zbuQ== X-Gm-Message-State: AN3rC/4cc4qzGfgDaqMOjClbhOv+rvzG2tcMjC/Uxyj7ZsnKJ1LIjptn iRc/fWSjjOatLSi4 X-Received: by 10.223.141.244 with SMTP id o107mr14138973wrb.69.1493197508664; Wed, 26 Apr 2017 02:05:08 -0700 (PDT) Received: from bidouze.vm.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id u88sm8271816wrc.20.2017.04.26.02.05.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Apr 2017 02:05:07 -0700 (PDT) Date: Wed, 26 Apr 2017 11:05:01 +0200 From: =?iso-8859-1?Q?Ga=EBtan?= Rivet To: "Lu, Wenzhuo" Cc: "dev@dpdk.org" , "Wu, Jingjing" Message-ID: <20170426090501.GV14914@bidouze.vm.6wind.com> References: <6A0DE07E22DDAD4C9103DF62FEBC09093B59CCEC@shsmsx102.ccr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <6A0DE07E22DDAD4C9103DF62FEBC09093B59CCEC@shsmsx102.ccr.corp.intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] Too much print of testpmd 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 09:05:09 -0000 Hi Wenzhuo, On Wed, Apr 26, 2017 at 05:10:44AM +0000, Lu, Wenzhuo wrote: > Hi Gaetan, > > When using DPDK PF + DPDK VF, there's too much print like, > > Port 0: VF Mbox event > > > > Seems it's not good to print every event directly. If it's necessary, is > it better to redirect the output to a log file? > > Thanks. > I'm not convinced of the logfile solution. I'd like to keep it simple and contained. Logfile means having to provide a name, or use a default one with several drawbacks, and a pretty leaky design. I will add a handle mask that will enable or disable this logging feature. The default mask would then enable it for LSC and other such sporadic events, while disabling it for the VF Mbox one. It will be able to be fine-tuned and configured at runtime by a parameter and/or testpmd command. I'll propose it soon. > > > > > Best regards > > Wenzhuo Lu > > -- Gaëtan Rivet 6WIND