net/mvneta: fix ierror statistics
authorLiron Himi <lironh@marvell.com>
Mon, 1 Jul 2019 08:00:22 +0000 (11:00 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 3 Jul 2019 10:57:30 +0000 (12:57 +0200)
commit09a6afe7e4bff1d4b2961e031fcae1b7a1f042d3
tree75d84a236d9182ae20900080f9734662d138fb64
parentd4c5136227ab12d0d4e2aa11387bf04bd353bd7c
net/mvneta: fix ierror statistics

Error packets were counted twice due to use of redundant counters.

Fixes: e9d5faffd10c ("net/mvneta: support basic stats")
Cc: stable@dpdk.org
Signed-off-by: Liron Himi <lironh@marvell.com>
Reviewed-by: Yuri Chipchev <yuric@marvell.com>
Tested-by: Liron Himi <lironh@marvell.com>
drivers/net/mvneta/mvneta_ethdev.c