HomeFreeBSD

ena: Improve reset reason statistics

Description

ena: Improve reset reason statistics

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 (mentor)
Sponsored by: Amazon, Inc.

(cherry picked from commit 89ce3f6314f6feba0e6626be51832d44df611218)

Details

Provenance
osamaabb_amazon.comAuthored on Aug 7 2024, 6:24 AM
Parents
rG7397e4db6c55: ena: Update license signatures to 2024
Branches
Unknown
Tags
Unknown