* [Bug 1153] net/i40e: not all tx error counts in NIC statistics
@ 2022-12-16 15:44 bugzilla
0 siblings, 0 replies; only message in thread
From: bugzilla @ 2022-12-16 15:44 UTC (permalink / raw)
To: dev
https://bugs.dpdk.org/show_bug.cgi?id=1153
Bug ID: 1153
Summary: net/i40e: not all tx error counts in NIC statistics
Product: DPDK
Version: 21.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: ethdev
Assignee: dev@dpdk.org
Reporter: khizmax@gmail.com
Target Milestone: ---
in i40_ethdev.c, function i40e_read_stats_registers:
```
stats->oerrors = ns->eth.tx_errors +
pf->main_vsi->eth_stats.tx_errors;
```
This code does not take into account `ns->tx_dropped_link_down` counter.
Correct oerrors should be:
```
stats->oerrors = ns->eth.tx_errors +
pf->main_vsi->eth_stats.tx_errors +
ns->tx_dropped_link_down
```
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-16 15:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-16 15:44 [Bug 1153] net/i40e: not all tx error counts in NIC statistics bugzilla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).