Wei Hu (Xavier) 68ca93e31c net/hns3: fix return value when clearing statistics
Since the return value of the '.stats_reset' and '.xstats_reset'
callback function is int, when failing to issue command to firmware to
execute clear statistics, the relevant callback function should return
non-zero value.

Fixes: 8839c5e202f3 ("net/hns3: support device stats")
Cc: stable@dpdk.org

Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
2020-05-05 15:54:26 +02:00
..
2020-05-05 15:54:26 +02:00
2019-10-07 15:00:56 +02:00
2019-10-07 15:00:57 +02:00
2019-10-07 15:00:57 +02:00
2019-10-07 15:00:57 +02:00
2020-04-21 13:57:07 +02:00