Re: [dpdk-dev] [PATCH 2/2] ethdev: make stats and xstats reset callbacks return int

2019-09-24 Thread Andrew Rybchenko
On 9/24/19 2:56 PM, Ferruh Yigit wrote: On 9/6/2019 3:34 PM, Andrew Rybchenko wrote: From: Igor Romanov Change return value of the callbacks from void to int. Make implementations across all drivers return negative errno values in case of error conditions. Both callbacks are updated together

Re: [dpdk-dev] [PATCH 2/2] ethdev: make stats and xstats reset callbacks return int

2019-09-24 Thread Ferruh Yigit
On 9/6/2019 3:34 PM, Andrew Rybchenko wrote: > From: Igor Romanov > > Change return value of the callbacks from void to int. Make > implementations across all drivers return negative errno > values in case of error conditions. > > Both callbacks are updated together because a large number of > d

[dpdk-dev] [PATCH 2/2] ethdev: make stats and xstats reset callbacks return int

2019-09-06 Thread Andrew Rybchenko
From: Igor Romanov Change return value of the callbacks from void to int. Make implementations across all drivers return negative errno values in case of error conditions. Both callbacks are updated together because a large number of drivers assign the same function to both callbacks. Signed-of