ethdev: change xstats reset function to return int
authorIgor Romanov <igor.romanov@oktetlabs.ru>
Fri, 6 Sep 2019 14:34:53 +0000 (15:34 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:54 +0000 (15:00 +0200)
commitda328f7f115a459a64fd7005d4acc1ec9e1ba8bd
treec00d9a77f2373da8b017f115a881938d23a4a058
parentf430bbcecf3eed93916f45654f51dd19d6955aa2
ethdev: change xstats reset function to return int

Change rte_eth_xstats_reset() return value from void to int and
return negative errno values in case of error conditions.

Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
app/proc-info/main.c
app/test-pmd/config.c
doc/guides/rel_notes/deprecation.rst
doc/guides/rel_notes/release_19_11.rst
lib/librte_ethdev/rte_ethdev.c
lib/librte_ethdev/rte_ethdev.h