Page MenuHomeFreeBSD

ena: Improve reset reason statistics
Needs ReviewPublic

Authored by osamaabb_amazon.com on Tue, Aug 20, 8:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Sep 9, 2:05 AM
Unknown Object (File)
Sun, Sep 8, 7:03 AM
Unknown Object (File)
Sat, Sep 7, 9:29 AM
Unknown Object (File)
Fri, Sep 6, 2:31 AM
Unknown Object (File)
Thu, Aug 29, 4:35 AM
Unknown Object (File)
Sat, Aug 24, 9:06 PM
Unknown Object (File)
Fri, Aug 23, 3:34 PM
Unknown Object (File)
Fri, Aug 23, 2:06 PM
Subscribers

Details

Reviewers
cperciva
Summary

The driver uses different reset reasons.
Some of them are counted and presented in the driver statistics.
There are cases where statistics are counted on a ring level,
but these are zeroed after a reset procedure takes place.

This commit makes the following changes:

  1. Add statistics for the unrepresented reset reasons.
  2. Add reset reasons which are counted on a ring level,

to be also global for better tracking.

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 59087
Build 55974: arc lint + arc unit