Lines Matching +full:firmware +full:- +full:reset
1 /* SPDX-License-Identifier: GPL-2.0-only */
29 atomic64_t fw_tmo; /* Abort Firmware Timeouts */
35 atomic64_t dev_resets; /* Device Reset Counter */
36 atomic64_t dev_reset_fail; /* Device Reset Failures */
37 atomic64_t dev_reset_aborts; /* Device Reset Aborts */
38 atomic64_t dev_reset_tmo; /* Device Reset Timeout */
39 atomic64_t dev_reset_terms; /* Device Reset terminate */
40 atomic64_t hba_resets; /* hba/firmware resets */
41 atomic64_t hba_reset_cmpl; /* hba/firmware reset completions */
42 atomic64_t hba_reset_fail; /* hba/firmware failures */
44 atomic64_t snic_reset_compl; /* snic reset completions */
45 atomic64_t snic_reset_fail; /* snic reset failures */
51 atomic64_t out_of_res; /* Firmware Out Of Resources */
52 atomic64_t io_errs; /* Firmware IO Firmware Errors */
68 atomic64_t devrst_wq_alloc_fail;/* Device Reset - WQ desc alloc fail */
82 struct snic_reset_stats reset; member
95 struct snic_io_stats *io = &s_stats->io; in snic_stats_update_active_ios()
98 nr_active_ios = atomic64_read(&io->active); in snic_stats_update_active_ios()
99 if (atomic64_read(&io->max_active) < nr_active_ios) in snic_stats_update_active_ios()
100 atomic64_set(&io->max_active, nr_active_ios); in snic_stats_update_active_ios()
102 atomic64_inc(&io->num_ios); in snic_stats_update_active_ios()
109 atomic64_dec(&s_stats->io.active); in snic_stats_update_io_cmpl()
110 if (unlikely(atomic64_read(&s_stats->io_cmpl_skip))) in snic_stats_update_io_cmpl()
111 atomic64_dec(&s_stats->io_cmpl_skip); in snic_stats_update_io_cmpl()
113 atomic64_inc(&s_stats->io.compl); in snic_stats_update_io_cmpl()