DPDK patches and discussions
 help / color / mirror / Atom feed
* [DPDK/ethdev Bug 1430] af_xdp: reset stats has no effect on imissed
@ 2024-05-01 14:41 bugzilla
  2024-07-30  8:01 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2024-05-01 14:41 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 1008 bytes --]

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: dev@dpdk.org
          Reporter: stephen@networkplumber.org
  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 packets

The driver needs to record the count in the reset handler and then
offset the read count on the next stats get.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #2: Type: text/html, Size: 2886 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [DPDK/ethdev Bug 1430] af_xdp: reset stats has no effect on imissed
  2024-05-01 14:41 [DPDK/ethdev Bug 1430] af_xdp: reset stats has no effect on imissed bugzilla
@ 2024-07-30  8:01 ` bugzilla
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2024-07-30  8:01 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 548 bytes --]

https://bugs.dpdk.org/show_bug.cgi?id=1430

Thomas Monjalon (thomas@monjalon.net) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Thomas Monjalon (thomas@monjalon.net) ---
Resolved in http://git.dpdk.org/dpdk/commit/?id=3577b1ee97

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #2: Type: text/html, Size: 2601 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-30  8:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-01 14:41 [DPDK/ethdev Bug 1430] af_xdp: reset stats has no effect on imissed bugzilla
2024-07-30  8:01 ` 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).