Lines Matching +full:io +full:- +full:reset

1 /* SPDX-License-Identifier: GPL-2.0-only */
10 atomic64_t max_sgl; /* Max # SGLs for any IO */
11 atomic64_t max_time; /* Max time to process IO */
12 atomic64_t max_qtime; /* Max time to Queue the IO */
13 atomic64_t max_cmpl_time; /* Max time to complete the IO */
15 atomic64_t max_io_sz; /* Max IO Size */
16 atomic64_t compl; /* IO Completions */
17 atomic64_t fail; /* IO Failures */
21 atomic64_t io_not_found; /* IO Not Found */
30 atomic64_t io_not_found;/* Abort IO Not Found */
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 */
41 atomic64_t hba_reset_cmpl; /* hba/firmware reset completions */
44 atomic64_t snic_reset_compl; /* snic reset completions */
45 atomic64_t snic_reset_fail; /* snic reset failures */
52 atomic64_t io_errs; /* Firmware IO Firmware Errors */
68 atomic64_t devrst_wq_alloc_fail;/* Device Reset - WQ desc alloc fail */
69 atomic64_t wq_alloc_fail; /* IO WQ desc alloc failure */
80 struct snic_io_stats io; member
82 struct snic_reset_stats reset; member
91 /* Auxillary function to update active IO counter */
95 struct snic_io_stats *io = &s_stats->io; in snic_stats_update_active_ios() local
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()
105 /* Auxillary function to update IO completion counter */
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()