net/virtio: fix Rx stats on AltiVec path
authorDavid Christensen <drc@linux.vnet.ibm.com>
Mon, 30 Sep 2019 18:27:54 +0000 (11:27 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 23 Oct 2019 14:43:09 +0000 (16:43 +0200)
commit86d1afa12c49a6929133013ae689ebf1739e46ff
tree948e2623bf4ce7751f24c63e2570475a86d3c2d6
parent2c661d418e4a3fe06c56f024c97c574a609685f7
net/virtio: fix Rx stats on AltiVec path

With vectorized functions, only the rx stats for number of packets is
incremented.
Update also the other statistics.

Fixes: 52b5a707e6ca ("net/virtio: add Altivec Rx")

Signed-off-by: David Christensen <drc@linux.vnet.ibm.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/virtio/virtio_rxtx_simple_altivec.c