Re: [dpdk-dev] [PATCH 3/3] ethdev: fix negative return values in xstats

2017-10-23 Thread Thomas Monjalon
Suggested title: check more errors in xstats retrieval 20/10/2017 02:03, Ferruh Yigit: > Some function calls in xstat functions can return negative values > to indicate the error, check return values for those cases. > > Coverity issue: 195028, 195026 > Fixes: 8c49d5f1c219 ("ethdev: rewor

[dpdk-dev] [PATCH 3/3] ethdev: fix negative return values in xstats

2017-10-19 Thread Ferruh Yigit
Some function calls in xstat functions can return negative values to indicate the error, check return values for those cases. Coverity issue: 195028, 195026 Fixes: 8c49d5f1c219 ("ethdev: rework xstats retrieve by id") Signed-off-by: Ferruh Yigit --- Cc: Lee Daly --- lib/librte_ether/rte_ethdev