net/ena: fix Tx statistics
authorRafal Kozik <rk@semihalf.com>
Tue, 14 May 2019 11:11:26 +0000 (13:11 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 13 Jun 2019 14:54:29 +0000 (23:54 +0900)
commit5673e285a63347068e51dbd191915348f6a580b0
tree2e5c9afcd0d34c23562f887f19c60c9412f93ea5
parent09c7e63a71f9f2a31efd7e94458019ea4dc427b6
net/ena: fix Tx statistics

Instead of counting number of used NIC Tx bufs just count number
of Tx packets.

Fixes: 45b6d86184fc ("net/ena: add per-queue software counters stats")
Cc: stable@dpdk.org
Signed-off-by: Rafal Kozik <rk@semihalf.com>
Acked-by: Michal Krawczyk <mk@semihalf.com>
drivers/net/ena/ena_ethdev.c