[Bug 1153] net/i40e: not all tx error counts in NIC statistics
bugzilla at dpdk.org
bugzilla at dpdk.org
Fri Dec 16 16:44:54 CET 2022
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 at dpdk.org
Reporter: khizmax at 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.
More information about the dev
mailing list