net/avp: fix RxQ errors stat
authorDavid Marchand <david.marchand@redhat.com>
Mon, 4 Mar 2019 11:18:25 +0000 (12:18 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 6 Jun 2019 11:21:19 +0000 (20:21 +0900)
commitf75916cf88a3d2f3db7a86bb3309cd6181bad722
tree9e86a3e14755f78bd6db67f982f9ae911fd2c3eb
parent3b79ed8a39555aca070671593ae97b753638a19c
net/avp: fix RxQ errors stat

Transmit errors must not be reported in q_errors[] which is for
reception.

Fixes: 5a5abe2de94b ("net/avp: add device statistics operations")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Allain Legacy <allain.legacy@windriver.com>
drivers/net/avp/avp_ethdev.c