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)
Tue, Oct 6, 8:23 AM
Unknown Object (File)
Sun, Oct 4, 6:19 PM
Unknown Object (File)
Thu, Oct 1, 2:34 AM
Unknown Object (File)
Wed, Sep 30, 5:14 AM
Unknown Object (File)
Tue, Sep 29, 4:25 PM
Unknown Object (File)
Tue, Sep 29, 7:30 AM
Unknown Object (File)
Sun, Sep 20, 4:26 PM
Unknown Object (File)
Mon, Sep 14, 8:45 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