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: step...@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.

Reply via email to