From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id C8EFF2C38 for ; Mon, 29 May 2017 19:42:29 +0200 (CEST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 May 2017 10:42:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,415,1491289200"; d="scan'208";a="267756985" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.81]) ([10.237.220.81]) by fmsmga004.fm.intel.com with ESMTP; 29 May 2017 10:42:28 -0700 To: Ajit Khaparde , dev@dpdk.org References: <20170526183941.80678-1-ajit.khaparde@broadcom.com> <20170526183941.80678-8-ajit.khaparde@broadcom.com> From: Ferruh Yigit Message-ID: <39e0ed26-959a-cf0e-1955-a66e7947c0c6@intel.com> Date: Mon, 29 May 2017 18:42:27 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <20170526183941.80678-8-ajit.khaparde@broadcom.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCH v2 07/25] bnxt: add support for xstats get/reset 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: Mon, 29 May 2017 17:42:30 -0000 On 5/26/2017 7:39 PM, Ajit Khaparde wrote: > This patch adds support to get and reset xstats dev_ops > > dev_ops added: > xstats_get, xstats_get_name, xstats_reset > > HWRM commands added: > hwrm_port_qstats, hwrm_port_clr_stats > > Signed-off-by: Ajit Khaparde > > -- > v1->v2: regroup related patches and incorporate other review comments > --- > drivers/net/bnxt/bnxt.h | 7 ++ > drivers/net/bnxt/bnxt_ethdev.c | 84 +++++++++++++++++ > drivers/net/bnxt/bnxt_hwrm.c | 36 +++++++ > drivers/net/bnxt/bnxt_hwrm.h | 3 +- > drivers/net/bnxt/bnxt_stats.c | 207 +++++++++++++++++++++++++++++++++++++++++ > drivers/net/bnxt/bnxt_stats.h | 10 ++ This patch should set "Extended stats = Y" in bnxt.ini