net/ixgbe: fix Rx multicast statistics after reset
authorQiming Chen <chenqiming_huawei@163.com>
Mon, 30 Aug 2021 03:31:57 +0000 (11:31 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Wed, 1 Sep 2021 06:19:31 +0000 (08:19 +0200)
commit8908691632a51a81d6ce27d3d12a8781842a7518
treea42ffa75547ac322e9be7b1cf91a3c347e5e0a64
parent7fe741821337f3cbeecac768b8ef3a16bf21c938
net/ixgbe: fix Rx multicast statistics after reset

In the implementation of the VF driver ixgbevf_update_stats to obtain
statistics, the multicast count hw_stats->vfmprc has been obtained,
but it is not cleared in the corresponding ixgbevf_dev_stats_reset
interface.

Fixes: abf7275bbaa2 ("ixgbe: move to drivers/net/")
Cc: stable@dpdk.org
Signed-off-by: Qiming Chen <chenqiming_huawei@163.com>
Acked-by: Haiyue Wang <haiyue.wang@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c