net/sfc: fix getting accumulative SW xstat
authorIvan Ilchenko <ivan.ilchenko@oktetlabs.ru>
Wed, 15 Sep 2021 10:40:17 +0000 (13:40 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Sep 2021 08:32:30 +0000 (10:32 +0200)
commit67f1b4f1742a6f6d7b481e7641ce3c006cbf68e5
tree131fac05b4fd3b3d9f456d7f336d37edaa171903
parent81b0fbb85b3a69912f3fa9be8ed73538ac9df68b
net/sfc: fix getting accumulative SW xstat

Add missing initialisation of the accumulative SW xstat to
zero since it is sum of per-queue xstats.

Fixes: fdd7719eb3c1 ("net/sfc: add xstats for Rx/Tx doorbells")
Cc: stable@dpdk.org
Signed-off-by: Ivan Ilchenko <ivan.ilchenko@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
drivers/net/sfc/sfc_sw_stats.c