git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
80d0ff8
)
ethdev: add return code to stats reset function
author
David Harton
<dharton@cisco.com>
Wed, 20 Sep 2017 14:11:30 +0000
(10:11 -0400)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Thu, 12 Oct 2017 00:36:58 +0000
(
01:36
+0100)
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@cisco.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
No differences found