From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2 3/4] bnx2x: Enhance stats get routine Date: Fri, 01 Apr 2016 10:17:53 +0200 Message-ID: <5397491.FxErFEXOGe@xps13> References: <1459469725-3333-1-git-send-email-rasesh.mody@qlogic.com> <1459469725-3333-3-git-send-email-rasesh.mody@qlogic.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, ameen.rahman@qlogic.com, Harish Patil To: Rasesh Mody Return-path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id 8DE482B98 for ; Fri, 1 Apr 2016 10:19:48 +0200 (CEST) Received: by mail-wm0-f47.google.com with SMTP id p65so13049394wmp.0 for ; Fri, 01 Apr 2016 01:19:48 -0700 (PDT) In-Reply-To: <1459469725-3333-3-git-send-email-rasesh.mody@qlogic.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-03-31 17:15, Rasesh Mody: > Enhance the stats_get() routine to display drop counters under the > control of a debug flag. Why printing the stats in stats_get? These stats should be returned in xstats.