[dpdk-dev] [PATCH v6] ethdev: add return code to rte_eth_stats_reset()

Ferruh Yigit ferruh.yigit at intel.com
Wed Sep 20 18:56:36 CEST 2017


On 9/20/2017 3:11 PM, David C Harton wrote:
> From: David Harton <dharton at cisco.com>
> 
> 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 <dharton at cisco.com>

Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>


More information about the dev mailing list