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)
Fri, Oct 10, 5:01 PM
Unknown Object (File)
Sat, Sep 20, 11:04 PM
Unknown Object (File)
Sep 12 2025, 9:09 AM
Unknown Object (File)
Sep 9 2025, 1:34 PM
Unknown Object (File)
Aug 15 2025, 3:30 PM
Unknown Object (File)
Aug 15 2025, 12:11 PM
Unknown Object (File)
Jul 26 2025, 8:39 PM
Unknown Object (File)
Jul 23 2025, 10:22 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