From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id DE68D1B20D for ; Tue, 10 Oct 2017 01:02:29 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Oct 2017 16:02:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,501,1500966000"; d="scan'208";a="908330585" Received: from unknown (HELO [10.241.225.162]) ([10.241.225.162]) by FMSMGA003.fm.intel.com with ESMTP; 09 Oct 2017 16:02:28 -0700 From: Ferruh Yigit To: David C Harton , thomas@monjalon.net Cc: dev@dpdk.org References: <20170901022631.19529-1-dharton@cisco.com> <20170920141130.19992-1-dharton@cisco.com> <25d40da7-3e17-3c82-45b4-81c5b309fb48@intel.com> Message-ID: <1222648f-1103-524c-a5f8-06624c0a332a@intel.com> Date: Tue, 10 Oct 2017 00:02:28 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <25d40da7-3e17-3c82-45b4-81c5b309fb48@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v6] ethdev: add return code to rte_eth_stats_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, 09 Oct 2017 23:02:30 -0000 On 9/20/2017 5:56 PM, Ferruh Yigit wrote: > On 9/20/2017 3:11 PM, David C Harton wrote: >> From: David Harton >> >> Some devices do not support reset of eth stats. An application may >> need to know not to clear shadow stats if the device cannot. >> >> rte_eth_stats_reset is updated to provide a return code to share >> whether the device supports reset or not. >> >> Signed-off-by: David Harton > > Reviewed-by: Ferruh Yigit Applied to dpdk-next-net/master, thanks.