Page MenuHomeFreeBSD

ena: Add differentiation for missing TX completions reset
Needs ReviewPublic

Authored by osamaabb_amazon.com on Aug 20 2024, 8:47 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 5, 12:46 AM
Unknown Object (File)
Tue, Oct 1, 9:54 PM
Unknown Object (File)
Sep 30 2024, 5:07 PM
Unknown Object (File)
Sep 27 2024, 5:03 PM
Unknown Object (File)
Sep 22 2024, 11:47 PM
Unknown Object (File)
Sep 22 2024, 4:10 AM
Unknown Object (File)
Sep 18 2024, 12:39 AM
Unknown Object (File)
Sep 17 2024, 3:08 AM
Subscribers

Details

Reviewers
cperciva
Summary

This commit adds differentiation for a reset caused by missing tx
completions, by verifying if the driver didn't receive tx
completions caused by missing interrupts.
The cleanup_running field was added to ena_ring because
cleanup_task.ta_pending is zeroed before ena_cleanup() runs.

Also ena_increment_reset_counter() API was added in order to support
only incrementing the reset counter.

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 59091
Build 55978: arc lint + arc unit