net/szedata2: fix total stats
authorMatej Vido <vido@cesnet.cz>
Wed, 4 Apr 2018 13:42:18 +0000 (15:42 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Apr 2018 22:40:21 +0000 (00:40 +0200)
commit745f6a1e7e37d80920d38be4fffbb442a09ab7cf
tree41b5c4dbf9415c620c9af012a28b2823c9ca6ea4
parente8b3e1a9b1bb39ab389edf1037f69c0752299e36
net/szedata2: fix total stats

Counters from all queues have to be summed up for total stats
even though the number of queue stats counters is not sufficient.

Fixes: 83556fd2c0fc ("szedata2: change to physical device type")
Cc: stable@dpdk.org
Signed-off-by: Matej Vido <vido@cesnet.cz>
drivers/net/szedata2/rte_eth_szedata2.c