net/avp: fix RxQ errors stat
Transmit errors must not be reported in q_errors[] which is for
reception.
Fixes: 5a5abe2de9
("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>
This commit is contained in:
parent
3b79ed8a39
commit
f75916cf88
@ -2229,7 +2229,6 @@ avp_dev_stats_get(struct rte_eth_dev *eth_dev, struct rte_eth_stats *stats)
|
||||
|
||||
stats->q_opackets[i] += txq->packets;
|
||||
stats->q_obytes[i] += txq->bytes;
|
||||
stats->q_errors[i] += txq->errors;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user