From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v6] ethdev: add return code to rte_eth_stats_reset() Date: Wed, 20 Sep 2017 17:56:36 +0100 Message-ID: <25d40da7-3e17-3c82-45b4-81c5b309fb48@intel.com> References: <20170901022631.19529-1-dharton@cisco.com> <20170920141130.19992-1-dharton@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: David C Harton , thomas@monjalon.net Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 9025B7D4E for ; Wed, 20 Sep 2017 18:56:39 +0200 (CEST) In-Reply-To: <20170920141130.19992-1-dharton@cisco.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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