Page MenuHomeFreeBSD

ena: Count all currently missing TX completions in check
Needs ReviewPublic

Authored by osamaabb_amazon.com on Aug 20 2024, 8:46 AM.
Tags
None
Referenced Files
F163207481: D46355.diff
Tue, Jul 21, 1:42 AM
Unknown Object (File)
Sat, Jul 18, 2:02 AM
Unknown Object (File)
Tue, Jun 30, 1:06 AM
Unknown Object (File)
Sun, Jun 28, 2:56 PM
Unknown Object (File)
May 30 2026, 11:32 AM
Unknown Object (File)
May 29 2026, 6:43 PM
Unknown Object (File)
May 27 2026, 11:16 PM
Unknown Object (File)
May 12 2026, 12:55 AM
Subscribers

Details

Reviewers
cperciva
Summary

Currently we count all of the newly added and already existing
missing tx completions in each iteration of
check_missing_comp_in_tx_queue() causing duplicate counts
to missing_tx_comp stat.

This commit adds a new counter new_missed_tx within the relevant
function which only counts the newly added missing tx completions
in each iteration of check_missing_comp_in_tx_queue().
This will allow us to update missing_tx_comp stat accurately without
counting duplicates.

Approved by: cperciva
MFC after: 2 weeks
Sponsored by: Amazon, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 59084
Build 55971: arc lint + arc unit