af_xdp: reset stats has no effect on imissed
https://bugs.dpdk.org/show_bug.cgi?id=1430
Bug ID: 1430
Summary: af_xdp: reset stats has no effect on imissed
Product: DPDK
Version: 24.03
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: minor
Priority: Normal
Component: ethdev
Assignee: [email protected]
Reporter: [email protected]Target Milestone: ---
Since the AF_XDP PMD queries the kernel to find the number of missed packets, it does not handle the case where stats have been reset.
Something like:
...
eth_stats_get()
= stats->imissed was 5 packets
eth_stats_reset()
eth_stats_get()
= stats->imissed will still be 5 packetsThe driver needs to record the count in the reset handler and then offset the read count on the next stats get.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
https://bugs.dpdk.org/show_bug.cgi?id=1430
Thomas Monjalon ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED--- Comment #1 from Thomas Monjalon ([email protected]) --- Resolved in http://git.dpdk.org/dpdk/commit/?id=3577b1ee97
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.