From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=WQD2tzI2tGKkudbL+Old8bHIwvsQzIm2xSHUWvV+Yp8=; b=fBy6Mg7byCgUcrm3oaDUBQaYu8SCXepjXP2ntwj5OafWnHP30Y/Z5uumjmsK41WUFI uN+sh6TTg1JMGpJq46Pnah3tBVhAJU5gkkI9Sr24fUQISHLkj64HKaWY2v3LyT1/jGWK qIUHi2pMLF4ekOYu0Ortb01lhBIIiGVNadolTidHxM/i0/vX3GP6FdcztzXWdb0CN2bj P1IIdnwYk2+MbaHnZDqEide8T8HXHVhvGlgiAmamCwyXMOjvfBs49Z24FDTtTlEHWOH6 9ZGyKu1J7OlsQv18PSJwhBuyCr+ddeabbtIPJV+yM1t3pTbZR8EfZLAgqhOJaBZb4CXD SN2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=WQD2tzI2tGKkudbL+Old8bHIwvsQzIm2xSHUWvV+Yp8=; b=g6/9b8BfQ+F6qv30MdbnmSOSFYhZK2JyMfZ7YpUl3AtoZW7ic6VMScEUp/n03fLJ4C jDcUGg3dijis53D2NniFMsiVRZg1M/cFw5aq1jyc4l0K2jrnuslFTm9CudsaHbPUS3iX FYzAohSmcd04yHtjiBq2lVn7dTSSz6NYBmnHfywrbWgAG5XOgb8FOP6fdFMYZVXinM60 JTlWp7fFpC+SbjcF0iwOhT23E7vaqigtvrl+EwC0Tdy/NGOBGb5cd2DGdWwtENyjNB9J vnrR3bCQPgR8ratsdM76zXOhlWm7+qd3i+1XID5b3CKemgCvMC0T7/m/zjuV9wzyZD5y 71Mw== X-Gm-Message-State: AD7BkJLmI+wvzwi47v+C/Ae2oRDEexheoII2nr3hcHsvMIJrMtxGBfTKWzViKXLwtg/FoVsY X-Received: by 10.194.62.110 with SMTP id x14mr22168692wjr.68.1459498788439; Fri, 01 Apr 2016 01:19:48 -0700 (PDT) Received: from xps13.localnet (91.111.75.86.rev.sfr.net. [86.75.111.91]) by smtp.gmail.com with ESMTPSA id js8sm12775117wjc.37.2016.04.01.01.19.47 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 01 Apr 2016 01:19:47 -0700 (PDT) From: Thomas Monjalon To: Rasesh Mody Cc: dev@dpdk.org, ameen.rahman@qlogic.com, Harish Patil Date: Fri, 01 Apr 2016 10:17:53 +0200 Message-ID: <5397491.FxErFEXOGe@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1459469725-3333-3-git-send-email-rasesh.mody@qlogic.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 3/4] bnx2x: Enhance stats get routine X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2016 08:19:48 -0000 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.