net/cxgbe: fix RxQ errors stat
authorDavid Marchand <david.marchand@redhat.com>
Mon, 4 Mar 2019 11:18:27 +0000 (12:18 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 6 Jun 2019 11:21:20 +0000 (20:21 +0900)
commit01b5e419dee35b9c15e38ca24ea6f9a2385ee8ed
tree0d8a63c75e20815fdbdb586749d9f9de7cd27b2d
parenteeb05ecc4d3686498d4515d5070e44bab93fad31
net/cxgbe: fix RxQ errors stat

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

Fixes: 856505d303f4 ("cxgbe: add port statistics")
Fixes: a0a344a8f728 ("net/cxgbe: add VF port statistics")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/cxgbe/cxgbe_ethdev.c
drivers/net/cxgbe/cxgbevf_ethdev.c