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

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

Fixes: 577d3dced0dc ("net/bnxt: refactor the query stats")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/bnxt/bnxt_hwrm.c