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
Unknown Object (File)
Nov 16 2025, 6:02 AM
Unknown Object (File)
Nov 9 2025, 12:22 PM
Unknown Object (File)
Nov 7 2025, 6:09 AM
Unknown Object (File)
Nov 4 2025, 6:50 PM
Unknown Object (File)
Oct 20 2025, 3:05 AM
Unknown Object (File)
Oct 20 2025, 3:05 AM
Unknown Object (File)
Oct 19 2025, 12:31 PM
Unknown Object (File)
Oct 10 2025, 5:01 PM
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