git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b79ed8
)
net/avp: fix RxQ errors stat
author
David Marchand
<david.marchand@redhat.com>
Mon, 4 Mar 2019 11:18:25 +0000
(12:18 +0100)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Thu, 6 Jun 2019 11:21:19 +0000
(20:21 +0900)
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
patch
|
blob
|
history
diff --git
a/drivers/net/avp/avp_ethdev.c
b/drivers/net/avp/avp_ethdev.c
index
bd5eba4
..
57af515
100644
(file)
--- a/
drivers/net/avp/avp_ethdev.c
+++ b/
drivers/net/avp/avp_ethdev.c
@@
-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;
}
}